aarch64: Thunderx specific memcpy and memmove
[glibc.git] / ChangeLog
blobbd666030255582ec39a114bb369e8c80c441ed0a
1 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4         (memmove): Use MEMMOVE for name.
5         (memcpy): Use MEMCPY for name.  Change internal labels
6         to external labels.
7         * sysdeps/aarch64/multiarch/Makefile: New file.
8         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
9         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
10         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
11         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
12         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
13         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
15 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18         (_dl_arm_cap_flags): Fix array subscript.
19         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20         Fix count.
22 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
26 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
29         (is_amd): Likewise.
30         (max_cpuid): Likewise.
31         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
32         (init_cacheinfo): Likewise.
34 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
36         [BZ #21511]
37         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
38         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
39         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
40         !__USE_XOPEN2K) || __USE_MISC].
41         * conform/data/signal.h-data (struct sigstack): Expect type only
42         if [!XOPEN2K8 && !POSIX2008].
43         (sigstack): Expect function only if [XPG42 || UNIX98].
45         [BZ #21457]
46         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
47         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
48         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
49         <bits/types/__sigset_t.h>.
50         (ucontext_t): Use sigset_t instead of __sigset_t.
51         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
52         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
53         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
54         <bits/types/__sigset_t.h>.
55         (ucontext_t): Use sigset_t instead of __sigset_t.
56         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
57         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
58         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
59         <bits/types/__sigset_t.h>.
60         (ucontext_t): Use sigset_t instead of __sigset_t.
61         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
62         <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/mips/sys/ucontext.h: Do not include <signal.h>,
67         <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/aarch64/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/alpha/sys/ucontext.h: Do not include
77         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
78         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
79         <bits/types/__sigset_t.h>.
80         (ucontext_t): Use sigset_t instead of __sigset_t.
81         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
82         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
83         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
84         <bits/types/__sigset_t.h>.
85         (ucontext_t): Use sigset_t instead of __sigset_t.
86         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
87         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
88         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
89         <bits/types/__sigset_t.h>.
90         (ucontext_t): Use sigset_t instead of __sigset_t.
91         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
92         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
93         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
94         * sysdeps/unix/sysv/linux/m68k/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/mips/sys/ucontext.h: Do not include
100         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
101         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
102         <bits/types/__sigset_t.h>.
103         (ucontext_t): Use sigset_t instead of __sigset_t.
104         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
105         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
106         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
107         <bits/types/__sigset_t.h>.
108         (ucontext_t): Use sigset_t instead of __sigset_t.
109         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
110         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
111         <bits/ss_flags.h>.
112         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
113         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
114         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
115         <bits/types/__sigset_t.h>.
116         (ucontext_t): Use sigset_t instead of __sigset_t.
117         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
118         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
119         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
120         <bits/types/__sigset_t.h>.
121         (ucontext_t): Use sigset_t instead of __sigset_t.
122         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
123         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
124         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
125         <bits/types/__sigset_t.h>.
126         (ucontext_t): Use sigset_t instead of __sigset_t.
127         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
128         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
129         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
130         <bits/types/__sigset_t.h>.
131         (ucontext_t): Use sigset_t instead of __sigset_t.
132         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
133         <bits/types.h>.
134         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
135         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
136         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
137         <bits/types/__sigset_t.h>.
138         (ucontext_t): Use sigset_t instead of __sigset_t.
140 2017-05-22  Zack Weinberg  <zackw@panix.com>
142         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
143         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
144         bits/siginfo-arch.h, only if not already defined.
145         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
146         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
147         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
148         Likewise.
150         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
151         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
152         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
153         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
154         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
155         Unconditionally define __SI_* macros.
157 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
159         [BZ #21393]
160         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
161         and add a check for dup3 failure.
162         * libio/freopen64.c (freopen64): Likewise.
163         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
164         libsupport.
165         (do_test_bz21398): New test.
166         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
168 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
171         Remove invalid comment.
173 2017-05-21  Zack Weinberg  <zackw@panix.com>
175         * signal/Makefile (headers): Add bits/types/sigval_t.h.
177 2017-05-20  Zack Weinberg  <zackw@panix.com>
179         * bits/sigevent-consts.h
180         * bits/siginfo-consts.h
181         * bits/types/__sigset_t.h
182         * bits/types/sigevent_t.h
183         * bits/types/siginfo_t.h
184         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
185         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
186         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
187         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
188         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
189         New system-dependent bits headers.
191         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
192         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
193         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
194         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
195         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
197         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
198         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
199         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
200         New Linux-only system-dependent bits headers.
202         * signal/bits/types/sig_atomic_t.h
203         * signal/bits/types/sigset_t.h
204         * signal/bits/types/sigval_t.h:
205         New non-system-dependent bits headers.
207         * sysdeps/generic/sigsetops.h
208         * sysdeps/unix/sysv/linux/sigsetops.h:
209         New internal headers.
211         * include/bits/types/sig_atomic_t.h
212         * include/bits/types/sigset_t.h
213         * include/bits/types/sigval_t.h:
214         New wrappers.
216         * signal/sigsetops.h
217         * bits/siginfo.h
218         * bits/sigset.h
219         * sysdeps/unix/sysv/linux/bits/siginfo.h
220         * sysdeps/unix/sysv/linux/bits/sigset.h
221         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
222         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
225         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
226         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
227         Deleted.
229         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
230         Update lists of installed headers.
232         * posix/bits/types.h: Define __sig_atomic_t here.
233         * signal/signal.h: Use the new bits headers; no need to handle
234         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
235         to define sigmask.
236         * include/signal.h: No need to handle __need_sig_atomic_t
237         nor __need_sigset_t.  Don't define __sigemptyset.
239         * io/sys/poll.h, setjmp/setjmp.h
240         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
241         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
242         * sysdeps/mach/hurd/i386/bits/sigcontext.h
243         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
244         * sysdeps/pthread/bits/sigthread.h
245         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
246         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
247         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
248         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
249         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
250         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
251         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
252         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
253         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
254         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
255         Use bits/types/__sigset_t.h.
257         * misc/sys/select.h, posix/spawn.h
258         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
259         * sysdeps/unix/sysv/linux/sys/epoll.h
260         * sysdeps/unix/sysv/linux/sys/signalfd.h:
261         Use bits/types/sigset_t.h.
263         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
264         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
265         * socket/sys/socket.h: Don't include bits/sigset.h.
267         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
268         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
269         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
270         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
271         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
272         * sysdeps/unix/sysv/linux/nptl-signals.h:
273         Include sigsetops.h.
275         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
276         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
277         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
278         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
279         now return no value.
281         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
282         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
283         "sigsetops.h".
285         * signal/sigsetops.c: Explicitly define __sigismember,
286         __sigaddset, and __sigdelset as compatibility symbols.
288         * signal/Versions: Correct commentary on __sigpause,
289         __sigaddset, __sigdelset, __sigismember.
291         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
292         __sigblock/__sigsetmask to use __sigprocmask and friends.
294         * resolv/resolv.h: Remove __need_res_state logic.
295         Move definition of res_state and related constants to ...
296         * resolv/bits/types/res_state.h: ...this new file.
297         * resolv/Makefile: Install bits/types/res_state.h.
298         * include/bits/types/res_state.h: New wrapper.
299         * include/list.h: Remove __need_list_t logic.
300         Move definition of list_t to ...
301         * include/list_t.h: ...this new file.
303         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
304         instead of list.h and resolv.h.
306         * resolv/resolv.h: Remove __need_res_state logic.
307         Move definition of res_state and related constants to ...
308         * resolv/bits/types/res_state.h: ...this new file.
309         * resolv/Makefile: Install bits/types/res_state.h.
310         * include/bits/types/res_state.h: New wrapper.
311         * include/list.h: Remove __need_list_t logic.
312         Move definition of list_t to ...
313         * include/list_t.h: ...this new file.
315         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
316         instead of list.h and resolv.h.
318 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
320         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
322 2017-05-20  Zack Weinberg  <zackw@panix.com>
324         * sysdeps/arm/sysdep.h
325         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
327         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
328         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
329         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
330         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
331         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
332         * sysdeps/arm/armv6t2/strlen.S
333         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
334         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
335         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
336         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
337         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
338         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
340 2017-05-20  Zack Weinberg  <zackw@panix.com>
342         Remove the NaCl port.
343         * sysdeps/arm/nacl: Remove directory and contents.
344         * sysdeps/nacl: Remove directory and contents.
345         * abi-tags: Remove .*-.*-nacl.* entry.
347 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
349         * manual/errno.texi: Convert @comment-based errno documentation to
350         @errno.
351         * manual/macros.texi (@errno): New macro.  Consolidate errors,
352         their values, and messages, adding the error string to the Concept
353         Index.  Provide a warning in the comment about external (to the
354         manual) dependencies.
355         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
356         * sysdeps/mach/hurd/errnos.awk: Likewise.
358 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
360         * bits/ss_flags.h: New file.
361         * bits/types/stack_t.h: Likewise.
362         * include/bits/types/struct_sigstack.h: Likewise.
363         * signal/bits/types/struct_sigstack.h: Likewise.
364         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
365         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
366         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
367         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
368         bits/types/stack_t.h and bits/ss_flags.h.
369         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
370         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
371         <bits/ss_flags.h>.
372         * bits/sigstack.h (struct sigstack): Remove.
373         (stack_t): Likewise.
374         (SS_ONSTACK): Likewise.
375         (SS_DISABLE): Likewise.
376         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
377         (struct sigstack): Likewise.
378         (stack_t): Likewise.
379         (SS_ONSTACK): Likewise.
380         (SS_DISABLE): Likewise.
381         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
382         Likewise.
383         (stack_t): Likewise.
384         (SS_ONSTACK): Likewise.
385         (SS_DISABLE): Likewise.
386         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
387         Likewise.
388         (stack_t): Likewise.
389         (SS_ONSTACK): Likewise.
390         (SS_DISABLE): Likewise.
391         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
392         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
393         Likewise.
394         (stack_t): Likewise.
395         (SS_ONSTACK): Likewise.
396         (SS_DISABLE): Likewise.
397         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
398         (struct sigstack): Likewise.
399         (stack_t): Likewise.
400         (SS_ONSTACK): Likewise.
401         (SS_DISABLE): Likewise.
402         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
403         Likewise.
404         (stack_t): Likewise.
405         (SS_ONSTACK): Likewise.
406         (SS_DISABLE): Likewise.
407         * sysdeps/arm/sys/ucontext.h: Include
408         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
409         <bits/ss_flags.h>.
410         * sysdeps/generic/sys/ucontext.h: Likewise.
411         * sysdeps/i386/sys/ucontext.h: Likewise.
412         * sysdeps/m68k/sys/ucontext.h: Likewise.
413         * sysdeps/mips/sys/ucontext.h: Likewise.
414         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
415         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
416         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
417         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
418         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
419         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
420         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
421         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
422         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
423         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
425         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
426         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
427         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
428         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
430 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
432         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
433         "edx + ecx - 16" to avoid possible addition overflow.
434         * sysdeps/x86_64/memchr.S (memchr): Likewise.
436 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
438         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
439         (CFLAGS-splice.c): Likewise.
440         (CFLAGS-open_by_handle_at.c): Likewise.
441         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
442         (CFLAGS-splice.c): Likewise.
443         (CFLAGS-open_by_handle_at.c): Likewise.
445 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
447         * scripts/versions.awk: Generate ldbl-compat-choose.h.
448         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
449         <ldbl-compat-choose.h>.
450         (maybe_long_double_symbol): New macro.
451         [!declare_mgen_alias] (declare_mgen_alias): Use
452         maybe_long_double_symbol.
453         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
454         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
455         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
456         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
457         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
458         * Makerules [$(build-shared) = yes && !avoid-generated]
459         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
460         [$(build-shared) = yes && !avoid-generated]
461         ($(common-objpfx)ldbl-compat-choose.h): New target.
463         * scripts/versions.awk: Generate first-versions.h.
464         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
465         <first-versions.h>.
466         (LDOUBLE_cabsl_libm_version): Remove macro.
467         (LDOUBLE_cargl_libm_version): Likewise.
468         (LDOUBLE_cimagl_libm_version): Likewise.
469         (LDOUBLE_conjl_libm_version): Likewise.
470         (LDOUBLE_creall_libm_version): Likewise.
471         (LDOUBLE_cacosl_libm_version): Likewise.
472         (LDOUBLE_cacoshl_libm_version): Likewise.
473         (LDOUBLE_ccosl_libm_version): Likewise.
474         (LDOUBLE_ccoshl_libm_version): Likewise.
475         (LDOUBLE_casinl_libm_version): Likewise.
476         (LDOUBLE_csinl_libm_version): Likewise.
477         (LDOUBLE_casinhl_libm_version): Likewise.
478         (LDOUBLE_csinhl_libm_version): Likewise.
479         (LDOUBLE_catanl_libm_version): Likewise.
480         (LDOUBLE_catanhl_libm_version): Likewise.
481         (LDOUBLE_ctanl_libm_version): Likewise.
482         (LDOUBLE_ctanhl_libm_version): Likewise.
483         (LDOUBLE_cexpl_libm_version): Likewise.
484         (LDOUBLE_clogl_libm_version): Likewise.
485         (LDOUBLE_cprojl_libm_version): Likewise.
486         (LDOUBLE_csqrtl_libm_version): Likewise.
487         (LDOUBLE_cpowl_libm_version): Likewise.
488         (LDOUBLE_clog10l_libm_version): Likewise.
489         (LDOUBLE___clog10l_libm_version): Likewise.
490         (LDOUBLE_fdiml_libm_version): Likewise.
491         (LDOUBLE_fmaxl_libm_version): Likewise.
492         (LDOUBLE_fminl_libm_version): Likewise.
493         (LDOUBLE_ilogbl_libm_version): Likewise.
494         (LDOUBLE_nanl_libm_version): Likewise.
495         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
496         FIRST_VERSION_libm_* macros.
497         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
498         * Makerules [$(build-shared) = yes && !avoid-generated]
499         (before-compile): Add $(common-objpfx)first-versions.h.
500         [$(build-shared) = yes && !avoid-generated]
501         ($(common-objpfx)first-versions.h): New target.
502         ($(common-objpfx)sysd-versions): Depend on and change to rule for
503         building $(common-objpfx)versions.stmp.
505 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
507         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
508         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
509         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
510         auto-generation list.
512         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
513         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
514         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
515         from auto-generation list.
517         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
518         open_by_handle_at.
519         (CFLAGS-open_by_handle_at.c): New flag.
520         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
521         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
522         file.
523         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
525         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
526         (CFLAGS-splice.c): New flag.
527         * sysdeps/unix/sysv/linux/splice.c: New file.
528         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
529         auto-generation syscall list.
530         * misc/Makefile (CFLAGS-splice.c): New rule.
532         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
533         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
534         auto-generation syscall list.
535         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
536         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
538         * misc/Makefile (CFLAGS-fsync.c): New flag.
539         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
540         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
541         syscall list.
542         * sysdeps/unix/sysv/linux/fsync.c: New file.
543         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
544         (__errno_location): Remove.
546         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
547         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
548         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
549         list.
550         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
552         * misc/Makefile (CFLAGS-msync.c): New rule.
553         * nptl/Makefile (CFLAGS-msync.c): Likewise.
554         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
555         * sysdeps/unix/sysv/linux/msync.c: New file.
557         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
558         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
559         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
560         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
561         (CFLAGS-sigsuspend.c): Remove rule.
563         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
564         (CFLAGS-tee.c): New rule.
565         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
566         auto-generated list.
567         * sysdeps/unix/sysv/linux/tee.c: New file.
569         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
570         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
571         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
572         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
573         auto-generated list.
575         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
576         auto-generated list.
577         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
579         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
580         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
581         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
583         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
584         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
585         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
586         (__NR_pause): Undefine.
587         * sysdeps/unix/sysv/linux/pause.c: New file.
588         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
589         auto-generation list.
590         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
591         Remove rule.
592         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
594 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
596         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
597         comments.
599 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
601         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
602         LD_HWCAP_MASK.
604 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
606         * manual/conf.texi: Convert @tables of annotated @items to
607         @vtables.
608         * manual/lang.texi: Likewise.
609         * manual/pattern.texi: Likewise.
610         * manual/resource.texi: Likewise.
611         * manual/socket.texi: Likewise.
613 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
615         * manual/crypt.texi: Move a comment out of an @*x list.
616         * manual/filesys.texi: Refactor some comments, one of which looks
617         like a standard.  Fix incorrectly separated standards.
618         * manual/locale.texi: Invert an annotation.
619         * manual/resource.texi: Fix incorrectly separated standards.
620         * manual/time.texi: Refactor a @vtable that obscures an
621         annotation.
622         * manual/users.texi: Refactor multiple headers to occupy a single
623         @comment.
625 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc64/multiarch/Makefile
628         (sysdep_routines): Add memcmp-power8.
629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
630         (memcmp): Add __memcmp_power8 to list of memcmp functions.
631         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
632         (memcmp): Add __memcmp_power8 to ifunc list.
633         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
634         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
636 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
637             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
639         * math/math.h (__MATH_TG): Extend the conditions to add
640         _Float128 support.
641         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
643 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
646         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
647         s_cosf-ppc64.
648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
651         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
653 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
655         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
656         (gen-libm-calls): Add e_exp2F to use the template.
657         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
658         * math/e_exp2_template.c: New file, renamed from
659         math/e_exp2l.c, and made into a template.
660         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
662 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
664         * elf/dl-tunable-types.h (tunable_type_code_t): New type
665         TUNABLE_TYPE_UINT_64.
666         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
667         Simplify computation of overflow.
668         (tunable_set_val_if_valid_range_signed,
669         tunable_set_val_if_valid_range_unsigned): Remove and replace
670         with this...
671         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
672         (tunable_initialize): Adjust.  Add uint64_t support.
673         (__tunable_set_val): Add uint64_t support.
674         * README.tunables: Document it.
676         * scripts/gen-tunables.awk: Recognize 'default' keyword in
677         dl-tunables.list.
678         * README.tunables: Document it.
680 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
682         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
683         * sysdeps/posix/preadv64.c: Likewise.
684         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
685         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
686         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
687         * sysdeps/posix/pwritev64.c: Likewise.
688         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
689         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
690         * sysdeps/posix/preadv_common.c: New file.
691         * sysdeps/posix/pwritev_common.c: Likewise.
693 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
695         * sysdeps/generic/math-type-macros-float128.h
696         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
697         wrapper templates.
699 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
700             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
702         * include/complex.h (__kernel_casinhf128): New declaration.
703         * include/float.h: New file.
704         * include/math.h (__finitef128): Add a hidden def.
705         (__isinff128): Likewise.
706         (__isnanf128): Likewise.
707         (__fpclassify): Likewise.
708         (__issignalling): Likewise.
709         (__expf128): Likewise.
710         (__expm1f128): Likewise.
712         * sysdeps/generic/fix-fp-int-convert-overflow.h:
713         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
714         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
716         * sysdeps/generic/math-type-macros-float128.h: New file.
718         * sysdeps/generic/math_private.h: Include bits/floatn.h and
719         math_private_calls.h for _Float128.
720         (__isinff128): New inline implementation used when GCC < 7.0,
721         since in this case __builtin_isinf_sign is broken.
722         (fabsf128): New inline implementation that calls the builtin.
723         (__EXPR_FLT128): New macro.
724         (min_of_type): Optionally include _Float128 types too.
726         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
727         Declare for _Float128.
728         (__kernel_rem_pio2): Likewise.
730         * sysdeps/ieee754/ldbl-opt/s_sin.c:
731         (__DECL_SIMD_sincos_disablef128): New macro.
733 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
735         * math/math.h: Include bits/math-finite.h for float128.
736         (__MATH_DECLARING_FLOATN): Define to control declaration of
737         float128 functions.
738         * math/bits/math-finite.h (pow10): Do not declare for float128.
739         (gamma): Likewise.
740         (scalb): Likewise.
742 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
743             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
745         * bits/floatn.h: New file.
746         * bits/huge_val_flt128.h: Likewise.
748         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
749         (__DECL_SIMD_sinf128): Likewise.
750         (__DECL_SIMD_sincosf128): Likewise.
751         (__DECL_SIMD_logf128): Likewise.
752         (__DECL_SIMD_expf128): Likewise.
753         (__DECL_SIMD_powf128): Likewise.
755         * math/Makefile (headers): Install bits/floatn.h and
756         bits/huge_val_flt128.h.
758         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
759         defined.
761         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
762         (isnan, gamma, nexttoward, scalb): Only define if not
763         __MATH_DECLARING_FLOATN.
764         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
765         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
766         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
767         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
769         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
770         Include bits/cmathcalls.h to get the declarations of _Float128
771         versions of complex functions.
772         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
773         Define macro.
775         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
776         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
777         get the declarations of _Float128 versions of math functions.
778         (__MATH_DECLARING_FLOATN): New macro to control declaration of
779         _FloatN types.
780         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
781         is type-generic, so use it without __MATH_TG.
782         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
783         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
784         _Float128 type and GCC < 7.0, otherwise use the builtin.
785         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
786         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
787         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
788         New _GNU_SOURCE enabled macros.
790 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
792         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
793         (signbitf): Likewise.
794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
795         Likewise.
796         (signbitl): Likewise.
797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
798         Likewise.
799         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
800         (signbitl): Likewise.
801         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
803 2017-05-12  Florian Weimer  <fweimer@redhat.com>
805         [BZ #21386]
806         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
807         parent PID.  The assertion in the child is incorrect with PID
808         namespaces.
810 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
812         * sysdeps/unix/sysv/linux/kernel-features.h
813         (__ASSUME_STATFS_F_FLAGS): Remove macro.
814         * sysdeps/unix/sysv/linux/internal_statvfs.c
815         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
817 2017-05-11  Zack Weinberg  <zackw@panix.com>
819         * Makerules: New subdir configuration variables 'tests-internal'
820         and 'test-internal-extras'.  Test files in these categories will
821         still be compiled with MODULE_NAME=nonlib.  Test files in the
822         existing categories (tests, xtests, test-srcs, test-extras) are
823         now compiled with MODULE_NAME=testsuite.
824         New subdir configuration variable 'modules-names-tests'.  Files
825         which are in both 'modules-names' and 'modules-names-tests' will
826         be compiled with MODULE_NAME=testsuite instead of
827         MODULE_NAME=extramodules.
828         (gen-as-const-headers): Move to tests-internal.
829         (do-tests-clean, common-mostlyclean): Support tests-internal.
830         * Makeconfig (built-modules): Add testsuite.
831         * Makefile: Change libof-check-installed-headers-c and
832         libof-check-installed-headers-cxx to 'testsuite'.
833         * Rules: Likewise.  Support tests-internal.
834         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
835         Remove extra-modules.mk.
837         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
838         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
839         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
840         very top of the file and rationalize their order.
841         If MODULE_NAME is not defined at all, define IS_IN to always be
842         false, and don't define _ISOMAC.
843         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
844         true, define _ISOMAC and suppress everything else in this file,
845         starting with the inclusion of config.h.
846         Do check for inappropriate definitions of __OPTIMIZE__ and
847         __FAST_MATH__ here, but only if _ISOMAC is not defined.
848         Correct some out-of-date commentary.
850         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
851         and _Mlong_double_ before including math.h.
852         * include/string.h: If _ISOMAC is defined, don't expose
853         _STRING_ARCH_unaligned. Move a comment to a more appropriate
854         location.
856         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
857         * include/time.h, include/unistd.h, include/wchar.h: No need to
858         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
860         * misc/sys/cdefs.h (__NTHNL): New macro.
861         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
862         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
864         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
865         defined, for HAVE_TUNABLES.
866         * inet/tst-checks-posix.c: No need to define _ISOMAC.
867         * intl/tst-gettext2.c: Provide own definition of N_.
868         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
869         * math/test-signgam-main.c: No need to define _ISOMAC.
870         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
871         * stdlib/tst-strtod1i.c: ...this new file.
872         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
873         Split tests of __strtod_internal to...
874         * stdlib/tst-strtod5i.c: ...this new file.
875         * string/test-string.h: Include stdint.h. Duplicate definition of
876         inhibit_loop_to_libcall here (from libc-symbols.h).
877         * string/test-strstr.c: Provide dummy definition of
878         libc_hidden_builtin_def when including strstr.c.
879         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
880         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
881         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
882         Don't include init-arch.h.
883         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
884         Don't include init-arch.h.
886         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
887         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
888         unload, unload2, circleload1, neededtest, neededtest2,
889         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
890         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
891         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
892         ifunc tests to tests-internal.
893         Don't add $(modules-names) to test-extras.
894         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
895         Add tst-deadline to tests-static-internal.
896         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
897         tests-internal.
898         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
899         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
900         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
901         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
902         tst-sem12-static, and tst-stackguard1-static to tests-internal.
903         Link tests-internal with libpthread also.
904         Don't add $(modules-names) to test-extras.
905         * nss/Makefile: Move tst-field to tests-internal.
906         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
907         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
908         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
909         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
910         tests-internal.
911         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
912         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
913         test-get_hwcap-static to tests-internal.
914         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
915         tests-internal.
916         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
917         modules-names-tests.
919 2017-05-11  Zack Weinberg  <zackw@panix.com>
921         * libio/libio.h: Condition dummy definition of _IO_lock_t on
922         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
923         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
924         _IO_funlockfile, and _IO_ftrylockfile.  Only define
925         _IO_cleanup_region_start and _IO_cleanup_region_end if not
926         already defined.
927         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
928         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
929         appropriately.
930         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
931         Define _IO_lock_t_defined after defining _IO_lock_t.
933 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
935         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
936         void* for argument type and use VDSO_SYMBOL macro.
937         (is_sigtramp_address_rt): Likewise.
938         (__backtrace): Setup expected frame pointer address for signal
939         handling.
940         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
941         void* for argumetn type and use VSDO_SYMBOL macro.
942         (__backtrace): Setup expected frame pointer address for signal
943         handling.
945         * sysdeps/unix/sysv/linux/writev.c: New file.
947         * sysdeps/unix/sysv/linux/readv.c: New file.
949         * include/unistd.h (write): Add hidden proto.
950         * io/Makefile (CFLAGS-write.c): New define.
951         * nptl/Makefile (CFLAGS-write.c): Likewise.
952         * sysdeps/unix/sysv/linux/write.c: New file.
954         [BZ #21428]
955         * include/unistd.h (read): Add hidden proto.
956         * io/Makefile (CFLAGS-read.c): New define.
957         * nptl/Makefile (CFLAGS-read.c): Likewise.
958         * sysdeps/unix/sysv/linux/read.c: New file.
960         * io/Makefile (CFLAGS-creat.c): New rule.
961         (CFLAGS-creat64.c): Likewise.
962         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
963         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
964         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
965         * sysdeps/unix/sysv/linux/creat.c: New file.
966         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
967         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
968         auto-generated list.
969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
971         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
972         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
973         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
974         * sysdeps/unix/sysv/linux/open.c: New file.
975         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
976         iff __WORDSIZE != 64 and use __NR_openat when available.
977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
978         from auto-generated list.
980         * nptl/Makefile (CFLAGS-close.c): New flag.
981         * sysdeps/unix/sysv/linux/close.c: New file.
983 2017-05-11  DJ Delorie  <dj@redhat.com>
985         * MAINTAINERS: New.  Points to wiki.
987 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
989         * scripts/gen-tunables.awk: Add attribute_relro to
990         tunable_list.
992 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
994         [BZ #21457]
995         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
996         (R1): Likewise.
997         (R2): Likewise.
998         (R3): Likewise.
999         (R4): Likewise.
1000         (R5): Likewise.
1001         (R6): Likewise.
1002         (R7): Likewise.
1003         (R8): Likewise.
1004         (R9): Likewise.
1005         (R10): Likewise.
1006         (R11): Likewise.
1007         (R12): Likewise.
1008         (R13): Likewise.
1009         (R14): Likewise.
1010         (R15): Likewise.
1011         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1012         (REG_FS): Likewise.
1013         (REG_ES): Likewise.
1014         (REG_DS): Likewise.
1015         (REG_EDI): Likewise.
1016         (REG_ESI): Likewise.
1017         (REG_EBP): Likewise.
1018         (REG_ESP): Likewise.
1019         (REG_EBX): Likewise.
1020         (REG_EDX): Likewise.
1021         (REG_ECX): Likewise.
1022         (REG_EAX): Likewise.
1023         (REG_TRAPNO): Likewise.
1024         (REG_ERR): Likewise.
1025         (REG_EIP): Likewise.
1026         (REG_CS): Likewise.
1027         (REG_EFL): Likewise.
1028         (REG_UESP): Likewise.
1029         (REG_SS): Likewise.
1030         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1031         (R_D1): Likewise.
1032         (R_D2): Likewise.
1033         (R_D3): Likewise.
1034         (R_D4): Likewise.
1035         (R_D5): Likewise.
1036         (R_D6): Likewise.
1037         (R_D7): Likewise.
1038         (R_A0): Likewise.
1039         (R_A1): Likewise.
1040         (R_A2): Likewise.
1041         (R_A3): Likewise.
1042         (R_A4): Likewise.
1043         (R_A5): Likewise.
1044         (R_A6): Likewise.
1045         (R_A7): Likewise.
1046         (R_SP): Likewise.
1047         (R_PC): Likewise.
1048         (R_PS): Likewise.
1049         (fpregset_t): Likewise.
1050         (MCONTEXT_VERSION): Likewise.
1051         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1052         (CTX_AT): Likewise.
1053         (CTX_V0): Likewise.
1054         (CTX_V1): Likewise.
1055         (CTX_A0): Likewise.
1056         (CTX_A1): Likewise.
1057         (CTX_A2): Likewise.
1058         (CTX_A3): Likewise.
1059         (CTX_T0): Likewise.
1060         (CTX_T1): Likewise.
1061         (CTX_T2): Likewise.
1062         (CTX_T3): Likewise.
1063         (CTX_T4): Likewise.
1064         (CTX_T5): Likewise.
1065         (CTX_T6): Likewise.
1066         (CTX_T7): Likewise.
1067         (CTX_S0): Likewise.
1068         (CTX_S1): Likewise.
1069         (CTX_S2): Likewise.
1070         (CTX_S3): Likewise.
1071         (CTX_S4): Likewise.
1072         (CTX_S5): Likewise.
1073         (CTX_S6): Likewise.
1074         (CTX_S7): Likewise.
1075         (CTX_T8): Likewise.
1076         (CTX_T9): Likewise.
1077         (CTX_K0): Likewise.
1078         (CTX_K1): Likewise.
1079         (CTX_GP): Likewise.
1080         (CTX_SP): Likewise.
1081         (CTX_S8): Likewise.
1082         (CTX_RA): Likewise.
1083         (CTX_MDLO): Likewise.
1084         (CTX_MDHI): Likewise.
1085         (CTX_CAUSE): Likewise.
1086         (CTX_EPC): Likewise.
1087         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1088         inclusion of <sys/procfs.h> on [__USE_MISC].
1089         (greg_t): Condition on [__USE_MISC].
1090         (gregset_t): Likewise.
1091         (fpregset_t): Likewise.
1092         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1093         (NGREG): Likewise.
1094         (gregset_t): Likewise.
1095         (REG_R0): Likewise.
1096         (REG_R1): Likewise.
1097         (REG_R2): Likewise.
1098         (REG_R3): Likewise.
1099         (REG_R4): Likewise.
1100         (REG_R5): Likewise.
1101         (REG_R6): Likewise.
1102         (REG_R7): Likewise.
1103         (REG_R8): Likewise.
1104         (REG_R9): Likewise.
1105         (REG_R10): Likewise.
1106         (REG_R11): Likewise.
1107         (REG_R12): Likewise.
1108         (REG_R13): Likewise.
1109         (REG_R14): Likewise.
1110         (REG_R15): Likewise.
1111         (struct _libc_fpstate): Likewise.
1112         (fpregset_t): Likewise.
1113         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1114         (NFPREG): Likewise.
1115         (gregset_t): Likewise.
1116         (fpregset_t): Likewise.
1117         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1118         (R_D1): Likewise.
1119         (R_D2): Likewise.
1120         (R_D3): Likewise.
1121         (R_D4): Likewise.
1122         (R_D5): Likewise.
1123         (R_D6): Likewise.
1124         (R_D7): Likewise.
1125         (R_A0): Likewise.
1126         (R_A1): Likewise.
1127         (R_A2): Likewise.
1128         (R_A3): Likewise.
1129         (R_A4): Likewise.
1130         (R_A5): Likewise.
1131         (R_A6): Likewise.
1132         (R_A7): Likewise.
1133         (R_SP): Likewise.
1134         (R_PC): Likewise.
1135         (R_PS): Likewise.
1136         (fpregset_t): Likewise.
1137         (MCONTEXT_VERSION): Likewise.
1138         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1141         (REG_R1): Likewise.
1142         (REG_R2): Likewise.
1143         (REG_R3): Likewise.
1144         (REG_R4): Likewise.
1145         (REG_R5): Likewise.
1146         (REG_R6): Likewise.
1147         (REG_R7): Likewise.
1148         (REG_R8): Likewise.
1149         (REG_R9): Likewise.
1150         (REG_R10): Likewise.
1151         (REG_R11): Likewise.
1152         (REG_R12): Likewise.
1153         (REG_R13): Likewise.
1154         (REG_R14): Likewise.
1155         (REG_R15): Likewise.
1156         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1157         of <arch/abi.h> on [__USE_MISC].
1158         (greg_t): Condition on [__USE_MISC].
1159         (NGREG): Likewise.
1160         (gregset_t): Likewise.
1162 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1164         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1165         (__pthread_rwlock_arch_t): Remove __data definition.
1166         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1167         (__pthread_rwlock_arch_t): Likewise.
1169 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1171         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1172         internal_function on static functions.
1174 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1176         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1177         from format_ai_flags.
1178         (format_ai_flags): New function.  Incorporate flag formatting code
1179         from format_ai_one.
1180         (format_ai_canonname): New function.
1181         (format_ai_one): Remove flags parameter.
1182         (format_ai_family): Likewise.
1183         (support_format_addrinfo): Call format_ai_flags,
1184         format_ai_canonname.
1185         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1186         check_ai.
1187         (check_ai): Call check_ai_hints.
1188         (do_test): Add AI_CANONNAME tests.
1190 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1192         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1193         (gaih_inet): Likewise.
1195 2017-05-10  Andreas Schwab  <schwab@suse.de>
1197         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1198         (main): Rename to do_test and make static.
1200 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1202         * string/rawmemchr.c: Include <libc-diag.h>.
1203         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1204         with size (size_t)-1.
1206 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1208         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1209         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1210         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1212         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1213         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1214         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1215         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1216         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1217         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1218         * sysdeps/unix/sysv/linux/kernel-features.h
1219         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1220         socket syscalls.
1221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1222         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1223         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1224         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1225         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1226         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1227         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1228         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1229         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1230         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1231         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1232         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1233         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1234         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1235         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1237 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1239         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1240         thread-shared-types.h.
1241         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1242         specific thread definition.
1243         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1244         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1245         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1246         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1247         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1248         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1249         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1250         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1251         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1252         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1253         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1254         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1255         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1256         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1257         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1258         thread definition between POSIX and C11.
1259         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1260         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1261         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1262         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1263         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1264         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1265         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1266         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1267         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1268         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1269         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1270         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1271         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1272         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1273         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1274         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1275         definitions shared across all architectures.
1277 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1279         * sysdeps/unix/sysv/linux/kernel-features.h
1280         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1281         (__ASSUME_SENDMMSG): Likewise.
1282         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1283         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1284         sendmmsg syscall if that can be assumed to be present, socketcall
1285         otherwise, with no fallback for runtime failure.
1287         * sysdeps/unix/sysv/linux/kernel-features.h
1288         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1289         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1290         (__ASSUME_RECVMMSG): Likewise.
1291         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1292         recvmmsg syscall if it can be assumed to be present, socketcall
1293         otherwise, with no fallback for runtime failure.
1295 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1296             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1298         * bits/libc-header-start.h:
1299         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1300         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1301         * manual/creature.texi: Likewise.
1303 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1304             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1306         * math/Makefile:
1307         (type-float128-suffix): New variable
1308         (type-float128-routines): Likewise
1309         (type-float128-yes): Likewise
1310         (types): Append float128 if supported
1311         (types-basic): New variable to control the use of templates for
1312         float, double, and long double, but not for float128 or newer types.
1313         (type-basic-foreach): Likewise.
1315         * sysdeps/ieee754/float128/Makeconfig: New file.
1316         * sysdeps/ieee754/float128/Versions: New file.
1318 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1321         Remove macro.
1322         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1323         prlimit64 is always available and does not give an ENOSYS error.
1324         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1325         unconditional.
1326         [!__NR_prlimit64]: Remove conditional code.
1327         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1328         prlimit64 is always available and does not give an ENOSYS error.
1329         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1331 2017-05-09  Zack Weinberg  <zackw@panix.com>
1333         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1335 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1337         [BZ #21474]
1338         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1339         (__res_maybe_init): Likewise.
1341 2017-05-09  Zack Weinberg  <zackw@panix.com>
1343         * extra-modules.mk: Delete file.
1344         * cppflags-iterator.mk: Rename to ...
1345         * libof-iterator.mk: ...this.  Adjust comments.
1347         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1348         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1349         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1350         Use libof-iterator.mk instead of cppflags-iterator.mk or
1351         extra-modules.mk.
1353         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1354         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1356 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1358         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1360 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1362         * stdio-common/vfprintf.c (EXTSIZ): Define.
1363         (vfprintf): Use EXTSIZ.
1364         (printf_positional): Likewise.
1366 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1368         * sysdeps/unix/sysv/linux/kernel-features.h
1369         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1370         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1371         <kernel-features.h>.
1372         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1374         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1375         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1377 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1379         Prevent multiple deletion of temporary files.
1380         * support/temp_file.c (struct temp_name_list): Add owner member.
1381         (add_temp_file): Record owner.
1382         (support_delete_temp_files): Delete file only if owner matches.
1383         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1384         (do_prepare): Use create_temp_file instead of add_temp_file.
1385         Initialize temp_fd1, temp_fd2.
1386         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1387         framework remove the temporary files.
1388         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1389         (do_prepare): Use create_temp_file instead of add_temp_file.
1390         Initialize temp_fd1, temp_fd2, temp_fd3.
1391         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1392         the test framework remove the temporary files.
1393         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1394         deletion.
1395         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1396         temporary directory.  It is removed by the test framework.
1397         * dirent/tst-scandir.c (do_test): Likewise.
1399 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1401         Delete temporary files in LIFO order.
1402         * support/temp_file.c (struct temp_name_list): Replace q member
1403         with next.
1404         (add_temp_file): Add new file to front of linked list.
1405         (support_delete_temp_files): Use next member.
1406         (support_print_temp_files): Likewise.
1408 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1411         sys/ultrasound.h.
1412         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1414 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1416         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1417         Remove.
1418         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1419         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1420         (arch_minimum_kernel): Remove.
1421         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1422         * README: Update statement about Linux kernel requirements.
1424 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1426         * manual/llio.texi: Add preadv and pwritev documentation.
1428 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1430         [BZ #21455]
1431         * bits/stdint-intn.h: New file.
1432         * bits/stdint-uintn.h: Likewise.
1433         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1434         bits/stdint-uintn.h.
1435         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1436         <stdint.h>.
1437         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1438         (__int8_t_defined): Do not define here.
1439         (int8_t): Likewise.
1440         (int16_t): Likewise.
1441         (int32_t): Likewise.
1442         (int64_t): Likewise.
1443         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1444         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1445         <stdint.h>.
1446         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1447         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1448         <bits/stdint-uintn.h>.
1449         (int8_t): Do not define here.
1450         (int16_t): Likewise.
1451         (int32_t): Likewise.
1452         (int64_t): Likewise.
1453         (uint8_t): Likewise.
1454         (uint16_t): Likewise.
1455         (uint32_t): Likewise.
1456         (uint64_t): Likewise.
1457         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1458         variable.
1459         (test-xfail-XPG42/netdb.h/conform): Likewise.
1460         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1461         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1462         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1463         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1465 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1467         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1469         the above.
1470         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1471         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1473 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1475         [BZ #21445]
1476         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1478         [BZ #21457]
1479         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1480         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1481         __glibc_reserved1.
1482         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1483         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1484         (struct _fpxreg): Likewise.
1485         [!__x86_64__] (struct _fpstate): Rename field reserved to
1486         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
1487         [__x86_64__] (struct _fpstate): Rename field padding to
1488         __glibc_reserved1.
1489         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1490         Rename field reserved2 to __glibc_reserved2.
1491         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1492         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1493         __glibc_reserved1.
1494         [__x86_64__] (struct _libc_fpstate): Rename field padding to
1495         __glibc_reserved1.
1497 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1499         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1500         variable name.
1502 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1504         [BZ #21391]
1505         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1506         Only call init_cpu_features.
1507         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1508         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1509         * sysdeps/i386/dl-procinfo.h: Removed.
1510         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1511         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
1512         <sysdeps/x86/dl-procinfo.h>.
1513         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1514         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1515         Include <sysdeps/x86/dl-procinfo.h> instead of
1516          <sysdeps/generic/dl-procinfo.h>.
1517         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1518         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1519         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1520         (bit_cpu_MOVBE): Likewise.
1521         (bit_cpu_BMI1): Likewise.
1522         (bit_cpu_BMI2): Likewise.
1523         (index_cpu_BMI1): Likewise.
1524         (index_cpu_BMI2): Likewise.
1525         (index_cpu_LZCNT): Likewise.
1526         (index_cpu_MOVBE): Likewise.
1527         (index_cpu_POPCNT): Likewise.
1528         (reg_BMI1): Likewise.
1529         (reg_BMI2): Likewise.
1530         (reg_LZCNT): Likewise.
1531         (reg_MOVBE): Likewise.
1532         (reg_POPCNT): Likewise.
1533         * sysdeps/x86/dl-hwcap.h: New file.
1534         * sysdeps/x86/dl-procinfo.h: Likewise.
1535         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1536         (_dl_x86_platforms): Likewise.
1538 2017-05-03  DJ Delorie  <dj@redhat.com>
1540         [BZ #21411]
1541         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1543 2017-05-03  Phil Blundell  <pb@pbcl.net>
1545         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1546         comments.
1548 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1550         [BZ #20116]
1551         * nptl/pthread_create.c: Expand comments to describe
1552         semaphore-like and mutex-like uses of PD->lock.
1554 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1556         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1557         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1558         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1559         auto-generation list.
1560         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1561         epoll_wait.
1562         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1563         Remove epoll_wait.
1565         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1566         osf_select.
1567         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1568         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1569         osf_select from auto-generation list.
1570         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1571         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1572         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1573         * sysdeps/unix/sysv/linux/select.c: New file.
1575         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1576         * sysdeps/unix/sysv/linux/poll.c: New file.
1577         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1578         auto-generation list.
1580 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1582         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1583         New macro.
1585 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1587         [BZ #21179]
1588         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1589         R_SPARC_REGISTER relocations.
1591 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1593         * include/unistd.h (__pread): Add libc_hidden_proto.
1594         (__pread64): Likewise.
1595         (__pwrite): Likewise.
1596         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1597         (__pread64): Remove.
1598         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1599         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1600         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1602 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1606 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1608         * nptl/tst-cancel4-common.c: Use libsupport.
1609         * nptl/tst-cancel4-common.h: Likewise.
1610         * nptl/tst-cancel4.c (tf_read): Likewise.
1611         (tf_readv): Likewise.
1612         (tf_write): Likewise.
1613         (tf_writev): Likewise.
1614         (tf_sleep): Likewise.
1615         (tf_usleep): Likewise.
1616         (tf_nanosleep): Likewise.
1617         (tf_select): Likewise.
1618         (tf_pselect): Likewise.
1619         (tf_poll): Likewise.
1620         (tf_ppoll): Likewise.
1621         (tf_wait): Likewise.
1622         (tf_waitpid): Likewise.
1623         (tf_waitid): Likewise.
1624         (tf_sigpause): Likewise.
1625         (tf_sigsuspend): Likewise.
1626         (tf_sigwait): Likewise.
1627         (tf_sigwaitinfo): Likewise.
1628         (tf_sigtimedwait): Likewise.
1629         (tf_pause): Likewise.
1630         (tf_accept): Likewise.
1631         (tf_send): Likewise.
1632         (tf_recv): Likewise.
1633         (tf_recvfrom): Likewise.
1634         (tf_recvmsg): Likewise.
1635         (tf_open): Likewise.
1636         (tf_close): Likewise.
1637         (tf_pread): Likewise.
1638         (tf_pwrite): Likewise.
1639         (tf_preadv): Likewise.
1640         (tf_pwritev): Likewise.
1641         (tf_fsync): Likewise.
1642         (tf_fdatasync): Likewise.
1643         (tf_msync): Likewise.
1644         (tf_sendto): Likewise.
1645         (tf_sendmsg): Likewise.
1646         (tf_creat): Likewise.
1647         (tf_connect): Likewise.
1648         (tf_tcdrain): Likewise.
1649         (tf_msgrcv): Likewise.
1650         (tf_msgsnd): Likewise.
1651         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1652         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1654         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1655         expected arguments.
1656         (do_test): Adapt to use libsupport.
1658 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1660         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1662         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1663         (PF_MAX): Set to 44.
1664         (AF_SMC): New macro.
1666         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1667         kernel version to 4.11.
1669 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1671         [BZ #21280]
1672         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1673         signal of subnormals and adjust the exponent of power of 2 down
1674         when low part has opposite sign.
1676 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1678         * sysdeps/powerpc/powerpc64le/Implies: New file.
1679         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1680         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1681         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1682         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1683         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1684         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1685         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1686         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1687         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1688         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1689         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1690         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1691         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1692         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1693         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1694         * sysdeps/powerpc/preconfigure: New file.
1695         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1698 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1700         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1701         inclusion.
1702         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1703         Remove.
1705 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1707         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1708         (XPG3): Rename standard to XPG4.
1709         * conform/Makefile: Likewise.
1710         * conform/list-header-symbols.pl: Likewise.
1711         * conform/data/aio.h-data: Likewise.
1712         * conform/data/arpa/inet.h-data: Likewise.
1713         * conform/data/complex.h-data: Likewise.
1714         * conform/data/ctype.h-data: Likewise.
1715         * conform/data/dlfcn.h-data: Likewise.
1716         * conform/data/fcntl.h-data: Likewise.
1717         * conform/data/fenv.h-data: Likewise.
1718         * conform/data/float.h-data: Likewise.
1719         * conform/data/fmtmsg.h-data: Likewise.
1720         * conform/data/ftw.h-data: Likewise.
1721         * conform/data/grp.h-data: Likewise.
1722         * conform/data/inttypes.h-data: Likewise.
1723         * conform/data/iso646.h-data: Likewise.
1724         * conform/data/langinfo.h-data: Likewise.
1725         * conform/data/libgen.h-data: Likewise.
1726         * conform/data/limits.h-data: Likewise.
1727         * conform/data/locale.h-data: Likewise.
1728         * conform/data/math.h-data: Likewise.
1729         * conform/data/mqueue.h-data: Likewise.
1730         * conform/data/ndbm.h-data: Likewise.
1731         * conform/data/net/if.h-data: Likewise.
1732         * conform/data/netdb.h-data: Likewise.
1733         * conform/data/netinet/in.h-data: Likewise.
1734         * conform/data/poll.h-data: Likewise.
1735         * conform/data/pthread.h-data: Likewise.
1736         * conform/data/pwd.h-data: Likewise.
1737         * conform/data/sched.h-data: Likewise.
1738         * conform/data/search.h-data: Likewise.
1739         * conform/data/semaphore.h-data: Likewise.
1740         * conform/data/signal.h-data: Likewise.
1741         * conform/data/spawn.h-data: Likewise.
1742         * conform/data/stdbool.h-data: Likewise.
1743         * conform/data/stdint.h-data: Likewise.
1744         * conform/data/stdio.h-data: Likewise.
1745         * conform/data/stdlib.h-data: Likewise.
1746         * conform/data/string.h-data: Likewise.
1747         * conform/data/strings.h-data: Likewise.
1748         * conform/data/stropts.h-data: Likewise.
1749         * conform/data/sys/mman.h-data: Likewise.
1750         * conform/data/sys/resource.h-data: Likewise.
1751         * conform/data/sys/select.h-data: Likewise.
1752         * conform/data/sys/socket.h-data: Likewise.
1753         * conform/data/sys/stat.h-data: Likewise.
1754         * conform/data/sys/statvfs.h-data: Likewise.
1755         * conform/data/sys/time.h-data: Likewise.
1756         * conform/data/sys/timeb.h-data: Likewise.
1757         * conform/data/sys/types.h-data: Likewise.
1758         * conform/data/sys/uio.h-data: Likewise.
1759         * conform/data/sys/un.h-data: Likewise.
1760         * conform/data/sys/wait.h-data: Likewise.
1761         * conform/data/syslog.h-data: Likewise.
1762         * conform/data/termios.h-data: Likewise.
1763         * conform/data/tgmath.h-data: Likewise.
1764         * conform/data/time.h-data: Likewise.
1765         * conform/data/ucontext.h-data: Likewise.
1766         * conform/data/unistd.h-data: Likewise.
1767         * conform/data/utmpx.h-data: Likewise.
1768         * conform/data/varargs.h-data: Likewise.
1769         * conform/data/wchar.h-data: Likewise.
1770         * conform/data/wctype.h-data: Likewise.
1772 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1774         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1775         version to 7 branch.
1777 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1779         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1780         earlyclobber to output operand of sqrt insn.
1781         (__ieee754_sqrtf): Ditto.
1783 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1785         [BZ #21426]
1786         * misc/bits/types/struct_iovec.h: New file.
1787         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1788         * include/bits/types/struct_iovec.h: New file.
1789         * bits/uio.h (struct iovec): Replace by inclusion of
1790         <bits/types/struct_iovec.h>.
1791         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1792         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1793         of <sys/uio.h>.
1794         * nptl/tst-cancel4.c: Include <sys/uio.h>
1795         * posix/test-errno.c: Likewise.
1796         * support/resolv_test.c: Likewise.
1797         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1798         Remove.
1799         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1800         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1801         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1803         * conform/data/sys/socket.h-data (*_t): Allow.
1805 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1807         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1808         assignment.
1810 2017-04-24  Daurnimator  <quae@daurnimator.com>
1811             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1813         [BZ #21340]
1814         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1815         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1816         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1817         valid flags.
1818         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1819         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1820         POSIX_SPAWN_SETSID.
1821         * sysdeps/posix/spawni.c (__spawni): Likewise.
1822         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1823         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1825 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1827         * sysdeps/generic/math_private.h: Move the declaration of many
1828         functions to sysdeps/generic/math_private_calls.h.
1829         * sysdeps/generic/math_private_calls.h: New file with the
1830         declarations of the functions removed from math_private.h
1831         macroized by floating-point type.
1833 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1836         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1837         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1838         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1839         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1840         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1842 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1844         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1845         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1846         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1847         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1848         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1849         New Define.
1851 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1853         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1854         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1855         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1856         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1857         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1858         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1860 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1862         * sysdeps/s390/multiarch/ifunc-resolve.h
1863         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1864         * sysdeps/s390/multiarch/8bit-generic.c
1865         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1866         define ifunc resolvers.
1868 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1870         [BZ #20424]
1871         * manual/memory.texi (Replacing malloc): New section.
1872         (Allocating Storage For Program Data): Reference it.
1873         (The GNU Allocator): Likewise.
1875 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1877         * stdlib/Versions (__strtod_internal): List explicitly, not as
1878         wildcard.
1879         (__strtof_internal): Likewise.
1880         (__strtold_internal): Likewise.
1881         (__strtol_internal): Likewise.
1882         (__strtoll_internal): Likewise.
1883         (__strtoul_internal): Likewise.
1884         (__strtoull_internal): Likewise.
1885         (__strtoq_internal): Likewise.
1886         (__strtouq_internal): Likewise.
1887         * wcsmbs/Versions (__wcstod_internal): Likewise.
1888         (__wcstof_internal): Likewise.
1889         (__wcstold_internal): Likewise.
1890         (__wcstol_internal): Likewise.
1891         (__wcstoll_internal): Likewise.
1892         (__wcstoul_internal): Likewise.
1893         (__wcstoull_internal): Likewise.
1895 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1897         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1898         struct timespec definition.
1900 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1902         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1904 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1906         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1907         * inet/rexec.c (rexec_af): Likewise.
1909 2017-04-19  Zack Weinberg  <zackw@panix.com>
1911         * posix/tst-mmap-offset.c: Include stdint.h.
1912         * resolv/tst-ns_name_compress.c: Include string.h.
1913         * resolv/tst-resolv-edns.c: Include resolv.h.
1915 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1917         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1918         with __glibc_likely.
1919         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1920         Replace __builtin_expect with __glibc_unlikely.
1921         * resolv/res_init.c (__res_vinit): Likewise.
1922         * resolv/res_query.c (__libc_res_nquery): Likewise.
1923         * resolv/res_send.c (__libc_res_nsend): Likewise.
1925 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1927         [BZ #15722]
1928         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1929         with SOCK_CLOEXEC.
1930         * resolv/res_send.c (send_vc, reopen): Likewise.
1931         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1932         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1933         Likewise.
1934         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1935         * inet/rexec.c (rexec_af): Add comment.
1936         * inet/rcmd.c (rresvport_af): Likewise.
1938 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1940         * nscd/connections.c (have_accept4): Removed definition.
1941         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1942         accept4 works.
1943         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1944         ia64 because that was the first version with accept4 support.
1945         * support/Makefile (libsupport-routines): Add xaccept4.
1946         * support/xsocket.h (xaccept4): Declare.
1947         * support/xaccept4.c: New file.
1948         * socket/tst-accept4.c: New file.
1949         * socket/Makefile (tests): Add tst-accept4.
1950         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1951         definition.
1952         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1953         comment.
1954         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1955         implementation is available.
1956         (accept4): Use the system call if available, otherwise use the
1957         socket call.
1958         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1959         Set to 3.2.18.
1960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1961         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1962         accept4 is unconditionally available in later 3.2 stable kernels.
1963         (__ASSUME_ACCEPT4_SYSCALL): Define.
1964         * sysdeps/unix/sysv/linux/kernel-features.h
1965         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1966         definitions.
1967         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1968         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1970 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1972         * conform/Makefile (tests-special): Do not make addition of
1973         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1974         (generated): Do not make addition of $(conformtest-header-base)
1975         conditional on [$(cross-compiling) = no].
1977         [BZ #21267]
1978         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1979         if defined by <asm/socket.h> and not previously defined.
1980         (IOCSIZE_SHIFT): Likewise.
1981         (IOC_IN): Likewise.
1982         (IOC_INOUT): Likewise.
1983         (IOC_OUT): Likewise.
1985 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1987         [BZ #21396]
1988         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1989         Prefer_No_AVX512 if AVX512ER isn't available.
1990         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1991         (index_arch_Prefer_No_AVX512): Likewise.
1992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1993         AVX512 version if Prefer_No_AVX512 is set.
1994         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1995         Likewise.
1996         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1997         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1998         Likewise.
1999         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2000         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2001         Likewise.
2002         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2003         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2004         Likewise.
2006 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2008         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2009         Prefer_No_VZEROUPPER if AVX512ER is available.
2010         * sysdeps/x86/cpu-features.h
2011         (bit_cpu_AVX512PF): New.
2012         (bit_cpu_AVX512ER): Likewise.
2013         (bit_cpu_AVX512CD): Likewise.
2014         (bit_cpu_AVX512BW): Likewise.
2015         (bit_cpu_AVX512VL): Likewise.
2016         (index_cpu_AVX512PF): Likewise.
2017         (index_cpu_AVX512ER): Likewise.
2018         (index_cpu_AVX512CD): Likewise.
2019         (index_cpu_AVX512BW): Likewise.
2020         (index_cpu_AVX512VL): Likewise.
2021         (reg_AVX512PF): Likewise.
2022         (reg_AVX512ER): Likewise.
2023         (reg_AVX512CD): Likewise.
2024         (reg_AVX512BW): Likewise.
2025         (reg_AVX512VL): Likewise.
2027 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2029         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2030         O_CLOEXEC is defined.
2031         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2032         * io/Makefile (aux): Remove.
2033         * io/have_o_cloexec.c: Remove file.
2034         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2035         defined and works.
2036         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2037         defined.
2038         * login/utmp_file.c (O_flags): Remove definition.
2039         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2040         O_CLOEXEC works.
2041         (pututline_file): Likewise.
2042         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2043         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2044         definition.
2045         (internal_setgrent): Assume that O_CLOEXEC works.
2046         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2047         Remove definition.
2048         (internal_setgrent): Assume that O_CLOEXEC works.
2049         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2050         definition.
2051         (internal_setpwent): Assume that O_CLOEXEC works.
2052         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2053         definition.
2054         (internal_setspent): Assume that O_CLOEXEC works.
2055         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2056         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2057         O_CLOEXEC is defined and works.
2058         * nss/Makefile (libnss_files-routines): Remove
2059         files-have_o_cloexec.
2060         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2061         defined.
2062         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2063         O_CLOEXEC is defined and works.
2064         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2065         * nss/nss_files/files-have_o_cloexec.c: Remove.
2066         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2067         defined.
2068         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2069         and works.
2070         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2071         definition.
2072         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2073         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2074         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2075         (__opendirat, __opendir): Adjust opendir_oflags call.
2076         (check_have_o_cloexec): Remove.
2077         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2078         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2079         defined.
2080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2081         Remove definition.
2083 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2085         * include/unistd.h (__have_dup3): Remove declaration.
2086         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2087         dup3 is available.
2088         * libio/freopen64.c (freopen64): Likewise.
2089         * socket/Makefile (aux): Remove have_sock_cloexec.
2090         * socket/have_sock_cloexec.c: Remove file.
2091         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2092         definition.
2093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2094         Likewise.
2095         * sysdeps/nacl/kernel-features.h: Update comment.
2097 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2099         * include/unistd.h (__have_pipe2): Remove declaration.
2100         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2101         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2102         available.
2103         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2105         Remove definition.
2107 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2109         * malloc/malloc.c (cfree): Turn into compat symbol.
2110         (__cfree): Remove alias.
2111         * stdlib/stdlib.h (cfree): Remove declaration.
2112         * malloc/malloc.h (cfree): Likewise.
2113         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2114         * malloc/Versions (GLIBC_2.26): Add.
2116 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2118         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2119         (sysdep_routines): Add strrchr-power8.
2120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2121         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2122         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2123         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2124         (strrchr): Add __strrchr_power8 to ifunc list.
2125         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2127 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2129         [BZ #21357]
2130         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2131         Call free() outside of mutex.
2133 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2135         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2136         is defined.
2137         * elf/rtld.c (process_envvars): Likewise.
2138         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2139         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2140         O_NOFOLLOW directly.
2141         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2143 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2145         [BZ #21369]
2146         Remove EDNS fallback.
2147         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2148         handling.
2149         * resolv/res_send.c (send_dg): Likewise.
2150         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2151         "tcp." prefixes.
2152         (do_test): Send a "formerr."-prefixed query in an attempt to
2153         trigger EDNS fallback.
2155 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2157         [BZ #21361]
2158         Limit EDNS buffer size to 1200 bytes.
2159         * include/resolv.h (__res_nopt): Remove declaration.
2160         * resolv/Makefile (tests): tst-resolv-edns.
2161         (tst-resolv-edns): Link with -lresolv, -lpthread.
2162         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2163         interval [512, 1200].
2164         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2165         we can resize the buffer.
2166         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2167         (__res_nopt): Declare.
2168         * resolv/tst-resolv-edns.c: New file.
2169         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2170         (struct resolv_response_context): Add edns member.
2171         * resolv/resolv_test.c (struct query_info): Add edns member.
2172         (parse_query): Extract EDNS information from the query.
2173         (server_thread_udp_process_one): Propagate EDNS data.
2174         (server_thread_tcp_client): Likewise.
2176 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2178         [BZ #21359]
2179         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2180         byte in the destination buffer.  Avoid out-of-bounds pointer
2181         arithmetic.
2182         * resolv/Makefile (tests): Add tst-ns_name_compress.
2183         (tst-ns_name_compress): Link with -lresolv.
2184         * resolv/tst-ns_name_compress.c: New file.
2185         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2186         (response): Recognize LONG_NAME.
2187         (do_test): Add LONG_NAME tests.
2188         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2189         for ns_name_unpack.  Add tests for ns_name_pton and
2190         ns_name_compress.
2192 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2194         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2195         (res_nisourserver): Remove definition.
2196         (p_section, res_npquery, res_nisourserver): Remove declaration.
2197         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2198         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2199         ... here.
2200         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2201         <resolv.h>.
2202         * resolv/res_query.c: Likewise.
2203         * resolv/res_debug.c (p_section): Define as static.
2205 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2207         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2208         strncat-power8.
2209         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2210         __strncat_power8 to ifunc list.
2211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2212         (strncat): Add __strncat_power8 to list of strncat functions.
2213         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2215 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2217         [BZ #21270]
2218         * posix/tst-mmap-offset.c (do_prepare): New function.
2219         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2220         (do_test_bz21270): New function.
2221         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2222         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2223         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2224         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2225         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2226         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2227         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2228         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2229         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2230         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2231         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2232         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2233         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2234         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2235         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2236         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2237         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2238         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2239         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2240         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2241         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2242         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2243         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2244         from auto-generation list.
2245         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2246         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2247         * sysdeps/unix/sysv/linux/mmap.c: New file.
2248         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2249         offsets and support for mmap2 syscall.
2251         * posix/globtest.sh: Add cleanup routine on trap 0.
2253 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2255         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2256         implementation-specific function name and remove unneeded
2257         macros definition.
2258         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2259         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2261         name if not defined and pass as parameter to macros accordingly.
2262         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2263         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2266         implementation-specific function name and remove unneeded
2267         macros definition.
2268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2271         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2272         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2273         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2274         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2275         name if not defined and pass as parameter to macros accordingly.
2276         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2277         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2278         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2279         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2280         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2281         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2283         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2284         implementation-specific function name and remove unneeded macros
2285         definition.
2286         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2287         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2289         function name if not defined and pass as parameter to macros
2290         accordingly.
2291         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2292         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2294         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2295         implementation-specific function name and remove unneeded macros
2296         definition.
2297         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2298         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2299         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2300         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2301         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2302         not defined and pass as parameter to macros accordingly.
2303         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2304         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2305         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2306         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2308         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2309         strcasestr implementation name and remove unneeded macros definition.
2310         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2311         strstr implementation name and remove unneeded macros definition.
2312         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2313         name if not defined and pass as parameter to macros accordingly.
2314         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2316         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2317         implementation-specific function name and remove unneeded macros
2318         definition.
2319         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2320         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2321         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2322         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2323         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2324         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2325         function name if not defined and pass as parameter to macros
2326         accordingly.
2327         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2328         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2329         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2330         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2332         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2333         the strlen implementation name and remove unneeded macros definition.
2334         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2335         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2336         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2337         the strnlen implementation name and remove unneeded macros definition.
2338         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2339         name if not defined and pass as parameter to macros accordingly.
2340         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2341         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2342         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2344         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2345         the implementation-specific function name and remove unneeded
2346         macros definition.
2347         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2348         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2349         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2350         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2351         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2353         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2354         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2357         name if not defined and pass as parameter to macros accordingly.
2358         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2360         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2361         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2362         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2363         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2364         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2365         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2368         implementation-specific function name and remove unneeded macros
2369         definition.
2370         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2371         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2372         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2373         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2374         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2375         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2376         function name if not defined.
2377         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2378         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2380 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2382         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2383         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2384         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2385         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2387 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2388             Zack Weinberg  <zackw@panix.com>
2390         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2391         readdir64 as thread-safe.  Update warning about readdir_r.
2393 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2395         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2396         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2397         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2398         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2399         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2400         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2401         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2403 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2405         * sysdeps/i386/dl-procinfo.c: Include
2406         <sysdeps/x86/dl-procinfo.c>.
2407         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2408         * sysdeps/x86/dl-procinfo.c: New file.
2410 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2412         * sysdeps/generic/math_private.h: Remove declarations of
2413         many functions that are already declared in math.h.
2414         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2415         declaration for __frexpl.
2416         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2417         the declarations for __scalbnl and fabsl.
2419 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2421         [BZ #20831]
2422         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2423         of __mprotect to change protection on the excess portion
2424         to disallow all access.
2426 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2428         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2429         HAS_CPU_FEATURE to check for SSE.
2430         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2431         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2432         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2433         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2434         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2435         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2436         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2437         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2438         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2439         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2440         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2441         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2442         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2443         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2444         (index_cpu_SSE): Likewise.
2445         (reg_SSE): Likewise.
2447 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2449         * posix/getopt1.c: Include <config.h>, not "config.h".
2451 2017-04-07  Zack Weinberg  <zackw@panix.com>
2453         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2454         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2455         Mention in top-of-file boilerplate that these files are shared
2456         with gnulib.
2457         * posix/getopt.h, posix/bits/getopt_posix.h:
2458         Mention in top-of-file boilerplate that these files are NOT shared
2459         with gnulib, unlike the rest of the getopt implementation.
2461         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2462         New files, intended to be shared with gnulib.
2463         * posix/bits/getopt_posix.h:
2464         New file, not intended to be shared with gnulib.
2465         * posix/getopt.h: Now just includes features.h,
2466         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2467         no longer be shared with gnulib.
2468         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2469         * include/bits/getopt_posix.h: New wrappers.
2470         * posix/Makefile: Install new headers.
2471         * posix/unistd.h, libio/stdio.h:
2472         Include bits/getopt_posix.h instead of getopt.h.
2474         * include/libc-symbols.h: For gnulib compatibility, define
2475         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2476         _GL_ATTRIBUTE_CONST.
2477         * posix/getopt.c (_getopt_initialize): Mark argc and argv
2478         parameters with _GL_UNUSED.
2480         * posix/getopt.c: When used standalone, define __libc_use_alloca
2481         as always false and alloca to abort if called.
2482         (process_long_option): Rewrite handling of ambiguous long options
2483         to use a single boolean vector, not a linked list; use
2484         __libc_use_alloca to decide whether to allocate this using alloca.
2485         * posix/tst-getopt_long1.c: Adjust text of expected error message.
2487         * posix/getopt.c (process_long_option): New function split out
2488         from _getopt_internal_r.
2489         (_getopt_internal_r): Replace both copies of the long-option
2490         processing code with calls to process_long_option.
2491         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2492         (do_test): Differentiate argv[0] in the two subtests.
2494         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2495         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2496         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2498         * posix/getopt.h: Add backup definition of __nonnull for
2499         consistency with gnulib.  Define __getopt_argv_const to const
2500         if not already defined.
2501         (getopt): Update doc comment from gnulib.  Prototype
2502         unconditionally.  Add __nonnull annotation.
2503         (__posix_getopt): Add __nonnull annotation.
2504         (getopt_long, getopt_long_only): Use __getopt_argv_const in
2505         prototypes for consistency with gnulib.  Add __nonnull
2506         annotations.
2507         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2508         (getopt_internal): Change 'argv' argument to type 'char **'.
2509         Remove now-unnecessary casts.
2510         (getopt, __posix_getopt): Eliminate repetition with a macro.
2511         Cast 'argv' to 'char **' when calling _getopt_internal.
2512         * posix/getopt1.c (getopt_long, getopt_long_only):
2513         Use __getopt_argv_const for consistency with gnulib.
2514         Cast 'argv' to 'char **' when calling _getopt_internal.
2515         (_getopt_long_r, _getopt_long_only_r):
2516         Change 'argv' argument to type 'char **'.
2517         (main): Constify 'long_options'.
2518         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2519         (_getopt_long_r, _getopt_long_only_r):
2520         Change 'argv' argument to type 'char **'.
2522         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2523         (locked_vfxprintf): New helper function. Handle arbitrary
2524         multibyte strings, not just ASCII.
2525         * include/stdio.h: Declare __fxprintf_nocancel.
2526         * posix/getopt.c: When _LIBC is defined, define fprintf to
2527         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2528         to _IO_funlockfile.  When neither _LIBC nor
2529         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2530         funlockfile as no-ops.
2531         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2532         the standalone error-printing code can now be used for libc as
2533         well.  Add an flockfile/funlockfile pair around one case where
2534         the error message is printed in several chunks.  Don't use fputc.
2535         * posix/tst-getopt-cancel.c: New test.
2536         * posix/Makefile: Run it.
2538         * posix/getopt.c (_getopt_internal_r): Don't increment
2539         d->optind a second time when reporting ambiguous -W options.
2541         * posix/getopt_int.h: Include getopt.h.
2542         Use impl-namespace names for all arguments to _getopt_internal and
2543         _getopt_internal_r.
2544         Declare __ordering enum outside the struct.
2545         Harmonize comments with gnulib.
2546         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2547         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2548         #ifdef TEST block and make unconditional.  Do not define NULL.
2549         * posix/getopt.c: Partial merge from gnulib, covering the
2550         initial includes and global declarations, commentary, and
2551         a couple of semantically-neutral code changes.
2553         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2554         Use '...' instead of `...' for quotation marks inside
2555         comments and strings.
2557         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2558         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2559         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2560         * posix/getopt_int.h: Likewise.
2561         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2562         __libc_argc and __libc_argv externs, which were only used by
2563         #ifdef USE_NONOPTION_FLAGS blocks.
2564         * posix/getopt_init.c: Remove file.
2565         * posix/Makefile (routines): Remove getopt_init.
2566         * include/getopt.h: Don't declare __getopt_initialize_environment.
2567         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2568         a comment.
2570 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2572         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2574 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2576         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2577         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2578         to __wrap_.udiv.
2579         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2580         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2582         * sysdeps/i386/symbol-hacks.h: New file.
2583         * sysdeps/m68k/symbol-hacks.h: New file.
2584         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2585         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2586         * sysdeps/unix/sysv/linux/i386/Makefile
2587         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2588         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2589         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2590         * sysdeps/unix/sysv/linux/m68k/Makefile
2591         [$(subdir) = csu] (sysdep_routines): Likewise.
2592         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2593         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2595         [$(subdir) = csu] (sysdep_routines): Likewise.
2596         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2597         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2598         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2599         [$(subdir) = csu] (sysdep_routines): Likewise.
2600         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2601         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2602         * sysdeps/wordsize-32/Makefile: Remove file.
2603         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2604         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2606 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2608         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2609         (TEST_FUNCTION_ARGV): New.
2611 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2613         * elf/next.c: Import support/test-driver.c instead of
2614         test-skeleton.c and delete TEST_FUNCTION macro definition.
2615         * elf/nodelete.c: Likewise.
2616         * elf/order2.c: Likewise.
2617         * elf/tst-_dl_addr_inside_object.c: Likewise.
2618         * elf/tst-addr1.c: Likewise.
2619         * elf/tst-align.c: Likewise.
2620         * elf/tst-align2.c: Likewise.
2621         * elf/tst-audit11.c: Likewise.
2622         * elf/tst-audit12.c: Likewise.
2623         * elf/tst-audit2.c: Likewise.
2624         * elf/tst-audit9.c: Likewise.
2625         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2626         * elf/tst-deep1.c: Likewise.
2627         * elf/tst-dl-iter-static.c: Likewise.
2628         * elf/tst-dlmodcount.c: Likewise.
2629         * elf/tst-dlmopen1.c: Likewise.
2630         * elf/tst-dlmopen2.c: Likewise.
2631         * elf/tst-dlmopen3.c: Likewise.
2632         * elf/tst-dlopen-aout.c: Likewise.
2633         * elf/tst-dlopenrpath.c: Likewise.
2634         * elf/tst-dlsym-error.c: Likewise.
2635         * elf/tst-execstack-needed.c: Likewise.
2636         * elf/tst-execstack-prog.c: Likewise.
2637         * elf/tst-execstack.c: Likewise.
2638         * elf/tst-global1.c: Likewise.
2639         * elf/tst-gnu2-tls1.c: Likewise.
2640         * elf/tst-latepthread.c: Likewise.
2641         * elf/tst-leaks1.c: Likewise.
2642         * elf/tst-linkall-static.c: Likewise.
2643         (do_test): New function.
2644         * elf/tst-nodelete-opened.c: Likewise.
2645         * elf/tst-nodelete.cc: Likewise.
2646         * elf/tst-nodelete2.c: Likewise.
2647         * elf/tst-noload.c: Likewise.
2648         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2649         * elf/tst-order-main.c: Likewise.
2650         * elf/tst-pathopt.c: Likewise.
2651         * elf/tst-pie2.c: Likewise.
2652         * elf/tst-piemod1.c: Likewise.
2653         * elf/tst-prelink.c: Likewise.
2654         * elf/tst-protected1a.c: Likewise.
2655         * elf/tst-protected1b.c: Likewise.
2656         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2657         and define _GNU_SOURCE macro.
2658         (cmdline_process_function): New function.
2659         * elf/tst-relsort1.c: Likewise.
2660         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2661         and define _GNU_SOURCE macro.
2662         (cmdline_process_function): New function.
2663         * elf/tst-thrlock.c: Likewise.
2664         * elf/tst-tls-dlinfo.c: Likewise.
2665         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2666         * elf/tst-tls1.c: Likewise.
2667         * elf/tst-tls10.c: Likewise.
2668         * elf/tst-tls11.c: Likewise.
2669         * elf/tst-tls12.c: Likewise.
2670         * elf/tst-tls13.c: Likewise.
2671         * elf/tst-tls14.c: Likewise.
2672         * elf/tst-tls15.c: Likewise.
2673         * elf/tst-tls16.c: Likewise.
2674         * elf/tst-tls17.c: Likewise.
2675         * elf/tst-tls18.c: Likewise.
2676         * elf/tst-tls19.c: Likewise.
2677         * elf/tst-tls2.c: Likewise.
2678         * elf/tst-tls3.c: Likewise.
2679         * elf/tst-tls4.c: Likewise.
2680         * elf/tst-tls5.c: Likewise.
2681         * elf/tst-tls6.c: Likewise.
2682         * elf/tst-tls7.c: Likewise.
2683         * elf/tst-tls8.c: Likewise.
2684         * elf/tst-tls9.c: Likewise.
2685         * elf/tst-tlsalign-extern.c: Likewise.
2686         * elf/tst-tlsalign.c: Likewise.
2687         * elf/tst-unique1.c: Likewise.
2688         * elf/tst-unique2.c: Likewise.
2689         * elf/vismain.c: Likewise.
2691 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2693         * string/test-strnlen.c (do_page_tests): New function
2694         to check length of strings ending at the page boundary.
2695         (test_main): Added call to the do_page_tests function.
2697 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2698             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2700         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2701         (sysdep_routines): Add strnlen-power8.
2702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2703         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2704         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2705         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2706         (__strnlen): Add __strnlen_power8 to ifunc list.
2707         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2709 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2711         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2712         the TEST_FUNCTION macro definition.
2713         * wcsmbs/tst-mbrtowc2.c: Likewise.
2714         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2715         * wcsmbs/tst-wchar-h.c: Likewise.
2716         * wcsmbs/tst-wcpncpy.c: Likewise.
2717         * wcsmbs/tst-wcrtomb.c: Likewise.
2718         * wcsmbs/tst-wcsnlen.c: Likewise.
2719         * wcsmbs/tst-wcstof.c: Likewise.
2721 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2723         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2724         CALL_THREAD_FCT macro usage.
2725         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2726         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2727         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2729         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2730         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2731         (__ASSUME_REQUEUE_PI): Likewise.
2732         * sysdeps/unix/sysv/linux/kernel-features.h
2733         (__ASSUME_REQUEUE_PI): Likewise.
2734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2735         (__ASSUME_REQUEUE_PI): Likewise.
2736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2737         (__ASSUME_REQUEUE_PI): Likewise.
2738         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2739         (__ASSUME_REQUEUE_PI): Likewise.
2741 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2743         * resolv/tst-resolv-canonname.c: New file.
2744         * resolv/Makefile (tests): Add tst-resolv-canonname.
2745         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2747 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2749         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2750         Declare.
2751         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2752         (NS_MAXCDNAME): Remove definition.
2753         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2754         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2755         (NS_MAXCDNAME): Remove definition.
2756         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2758 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2760         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2761         call whose result is not used.
2763 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2765         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2766         * resolv/Makefile (tests): Add tst-ns_name.
2767         (tst-ns_name): Link with -lresolv.
2768         (tst-ns_name.out): Depend on the input data file.
2770 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2772         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2773         Clobber also r14.
2775 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2777         [BZ #21253]
2778         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2779         slack space by 32KiB.
2781 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2783         [BZ #21338]
2784         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2785         instead of incorrect do_set_arena_test
2787 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2789         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2790         * math/bits/math-finite.h: Likewise.
2792 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2794         [BZ #21289]
2795         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2797 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2800         non expected inotify_add_watch and quotactl return.
2802 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2804         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2805         to int32_t.
2806         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2807         as returning int32_t.
2809 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2811         * math/math.h: Include bits/math-finite.h once per
2812         floating-point type.
2813         * math/bits/math-finite.h: Macroize all declarations by
2814         floating-point type.
2816 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2818         [BZ #21182]
2819         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2820         near end of a page.
2821         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2822         overflow calculation.
2824 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2826         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2827         (IMPL) Call with 1 instead of 0 as argument.
2829 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2831         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2832         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2833         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2834         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2835         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2836         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2837         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2838         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2839         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2840         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2841         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2842         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2843         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2844         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2845         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2846         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2847         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2848         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2849         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2850         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2851         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2852         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2853         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2854         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2855         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2856         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2857         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2858         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2859         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2860         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2863         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2864         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2865         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2866         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2867         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2868         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2869         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2870         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2871         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2872         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2873         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2874         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2875         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2876         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2877         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2879         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2880         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2881         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2882         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2883         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2884         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2885         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2886         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2887         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2888         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2889         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2890         defined.
2891         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2892         __NR_setgroups32 if defined.
2893         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2894         if defined.
2895         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2896         __NR_setresgid32 is defined.
2897         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2898         __NR_setresuid32 if defined.
2899         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2900         __NR_setreuid32 if defined.
2901         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2902         defined.
2903         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2904         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2905         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2906         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2907         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2908         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2909         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2910         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2911         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2912         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2913         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2914         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2915         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2916         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2917         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2918         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2919         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2920         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2921         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2922         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2923         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2924         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2925         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2926         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2927         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2928         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2929         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2930         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2931         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2932         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2933         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2934         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2935         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2936         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2937         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2938         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2939         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2940         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2941         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2942         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2943         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2944         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2945         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2946         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2947         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2948         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2949         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2950         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2951         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2952         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2953         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2954         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2955         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2956         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2957         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2958         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2959         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2960         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2961         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2962         defined.
2963         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2964         __NR_setgroups32 if defined.
2965         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2966         if defined.
2967         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2968         __NR_setresgid32 is defined.
2969         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2970         __NR_setresuid32 if defined.
2971         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2972         __NR_setreuid32 if defined.
2973         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2974         defined.
2976 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2978         [BZ #21277]
2979         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2980         unconditionally.
2981         (IMAXBEL): Likewise.
2982         (IUTF8): Likewise.
2984 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2986         * sysdeps/aarch64/libm-test-ulps: Update.
2988 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2990         * README.tunables: Updated descriptions.
2991         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2992         * scripts/gen-tunables.awk: Updated the code related to the
2993         commit.
2995 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2997         * benchtests/Makefile (string-benchset): Add memcpy-random.
2998         * benchtests/bench-memcpy-random.c: New file.
3000 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3002         * stdio-common/printf.h (register_printf_modifier): Change the
3003         order of __wur and __THROW.
3004         (register_printf_type): Likewise.
3006 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3008         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3009         test_main ().
3010         (CMDLINE_PROCESS): Use function instead of defined macro.
3011         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3012         <suppport/support.h> to use set_fortify_handler().
3013         * string/bug-envz1.c: Import support/test-driver.c instead of
3014         test-skeleton.c.
3015         * string/bug-strcoll2.c: Likewise.
3016         * string/bug-strtok1.c: Likewise.
3017         * string/stratcliff.c: Likewise.
3018         * string/test-ffs.c: Likewise.
3019         * string/test-memccpy.c: Likewise.
3020         * string/test-memchr.c: Likewise.
3021         * string/test-memcmp.c: Likewise.
3022         * string/test-memcpy.c: Likewise.
3023         * string/test-memmem.c: Likewise.
3024         * string/test-memmove.c: Likewise.
3025         * string/test-memrchr.c: Likewise.
3026         * string/test-memset.c: Likewise.
3027         * string/test-rawmemchr.c: Likewise.
3028         * string/test-strcasecmp.c: Likewise.
3029         * string/test-strcasestr.c: Likewise.
3030         * string/test-strcat.c: Likewise.
3031         * string/test-strchr.c: Likewise.
3032         * string/test-strcmp.c: Likewise.
3033         * string/test-strcpy.c: Likewise.
3034         * string/test-string.h: Likewise.
3035         * string/test-strlen.c: Likewise.
3036         * string/test-strncasecmp.c: Likewise.
3037         * string/test-strncat.c: Likewise.
3038         * string/test-strncmp.c: Likewise.
3039         * string/test-strncpy.c: Likewise.
3040         * string/test-strnlen.c: Likewise.
3041         * string/test-strpbrk.c: Likewise.
3042         * string/test-strrchr.c: Likewise.
3043         * string/test-strspn.c: Likewise.
3044         * string/test-strstr.c: Likewise.
3045         * string/tst-bswap.c: Likewise.
3046         * string/tst-cmp.c: Likewise.
3047         * string/tst-endian.c: Likewise.
3048         * string/tst-inlcall.c: Likewise.
3049         * string/tst-strcoll-overflow.c: Likewise.
3050         * string/tst-strfry.c: Likewise.
3051         * string/tst-strlen.c: Likewise.
3052         * string/tst-strtok.c: Likewise.
3053         * string/tst-strtok_r.c: Likewise.
3054         * string/tst-strxfrm.c: Likewise.
3055         * string/tst-strxfrm2.c: Likewise.
3056         * string/tst-svc.c: Likewise.
3057         * string/tst-svc2.c: Likewise.
3059 2017-03-22  Zack Weinberg  <zackw@panix.com>
3061         * stdio-common/bug25.c: Include stdlib.h.
3062         * support/tst-support_format_dns_packet.c: Include stdio.h,
3063         stdlib.h, and string.h.
3064         * support/tst-support_record_failure.c: Include string.h.
3065         * support/tst-support_record_failure-2.sh: Adjust line number
3066         expectations and correct a typo in an error message.
3068 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3070         [BZ #21258]
3071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3072         Define only if _dl_runtime_resolve is defined to
3073         _dl_runtime_resolve_sse_vex.
3074         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3075         Fallthrough to _dl_runtime_resolve_sse_vex.
3077 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3079         * INSTALL: Regenerated.
3081 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3083         * config.h.in: Add LINK_OBSOLETE_NSL.
3084         * config.make.in: Add build-obsolete-nsl.
3085         * configure.ac: Add obsolete-nsl option.
3086         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3087         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3088         * include/rpcsvc/nislib.h: Likewise.
3089         * include/rpcsvc/ypclnt.h: Likewise.
3090         * manual/install.texi: Document --enable-obsolete-nsl.
3091         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3092         * nis/nis_add.c: Replace libnsl_hidden_def with
3093         libnsl_hidden_nolink_def.
3094         * nis/nis_addmember.c: Likewise.
3095         * nis/nis_call.c: Likewise.
3096         * nis/nis_clone_obj.c: Likewise.
3097         * nis/nis_defaults.c: Likeise.
3098         * nis/nis_domain_of_r.c: Likewise.
3099         * nis/nis_error.c: Likewise.
3100         * nis/nis_file.c: Likewise.
3101         * nis/nis_free.c: Likewise.
3102         * nis_local_names.c: Likewise.
3103         * nis/nis_lookup.c: Likewise.
3104         * nis/nis_modify.c: Likewise.
3105         * nis/nis_print.c: Likewise.
3106         * nis/nis_remove.c: Likewise.
3107         * nis/nis_table.c: Likewise.
3108         * nis/nis_util.c: Likewise.
3109         * nis/nis_xdr.c: Likewise.
3110         * nis/yp_xdr.c: Likewise.
3111         * nis/ypclnt.c: Likewise.
3112         * nis/ypupdate_xdr.c: Likewise.
3113         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3114         * nis/nis_clone_dir.c: Likewise.
3115         * nis/nis_clone_res.c: Likewise.
3116         * nis/nis_creategroup.c: Likewise.
3117         * nis/nis_destroygroup.c: Likewise.
3118         * nis/nis_domain_of.c: Likewise.
3119         * nis/nis_getservlist.c: Likewise.
3120         * nis/nis_ismember.c: Likewise.
3121         * nis/nis_mkdir.c: Likewise.
3122         * nis/nis_ping.c: Likewise.
3123         * nis/nis_print_group_entry.c: Likewise.
3124         * nis/nis_removemember.c: Likewise.
3125         * nis/nis_rmdir.c: Likewise.
3126         * nis/nis_server.c: Likewise.
3127         * nis/nis_subr.c: Likewise.
3128         * nis/nis_verifygroup.c: Likewise.
3130 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3132         * malloc/tst-interpose-aux.c (check_for_allocations):
3133         Move compiler barrier before free.
3135 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3137         [BZ #21279]
3138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3139         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3140         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3141         x86_64-x32-linux.
3142         (mq_attr.mq_maxmsg): Likewise.
3143         (mq_attr.mq_msgsize): Likewise.
3144         (mq_attr.mq_curmsgs): Likewise.
3146         [BZ #21278]
3147         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3148         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3149         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3150         mips-o32-linux.
3152         [BZ #21268]
3153         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3154         if [__USE_MISC]
3155         (NL3): Likewise.
3157 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3159         [BZ #21275]
3160         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3161         __stack to __stackbase.
3162         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3163         checks so we can include defined(__ia64__) first.
3165 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3167         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3168         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3169         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3170         Call is_pty when the link does not exist or does not match, fail
3171         with ENODEV when it returns true.
3172         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3173         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3174         Call is_pty when the link does not exist or does not match, fail
3175         with ENODEV when it returns true.
3177 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3179         [BZ #16437]
3180         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3181         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3182         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3183         x86_64-x32-linux.
3184         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3185         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3186         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3188         [BZ #21261]
3189         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3190         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3191         names for all fields.
3192         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3193         for jmp_buf field renaming.
3194         (_JMPBUF_UNWINDS_ADJ): Likewise.
3196         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3197         with allow-header.
3199 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3201         * malloc/malloc.c (unlink): Add consistency check between size and
3202         next->prev->size, to further harden against 1-byte overflows.
3204 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3206         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3207         CPU_FEATURES_CPU_P.
3209 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #21259]
3212         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3213         unconditionally, not just for [__USE_MISC].
3215         [BZ #17786]
3216         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3217         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3218         mips-o32-linux.
3220         [BZ #21260]
3221         * sysdeps/unix/sysv/linux/alpha/Makefile
3222         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3223         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3225         * conform/conformtest.pl ($cross): New variable.
3226         (--cross): New command-line option.
3227         (runtest): Skip test execution when cross-compiling.
3228         * conform/Makefile (conformtest-cross): New variable.
3229         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3230         conformtest.pl.
3232         * conform/conformtest.pl ($xfail_str): New variable.
3233         (--xfail=): New command-line option.
3234         (top level): Handle expectations starting xfail[cond]-.
3235         * conform/Makefile (conformtest-xfail): New variable.
3236         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3237         conformtest.pl.
3239 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3241         * conform/conformtest.pl: Use compilation instead of execution
3242         tests for testing values of constants and usability in #if.
3244 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3246         * math/auto-libm-test-in: Mark some catan and catanh as
3247         xfail-rounding:ibm128-libgcc.
3248         * math/auto-libm-test-out-catan: Regenerate.
3249         * math/auto-libm-test-out-catanh: Likewise.
3251 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3253         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3254         (__END_NAMESPACE_STD): Likewise.
3255         (__USING_NAMESPACE_STD): Likewise.
3256         (__BEGIN_NAMESPACE_C99): Likewise.
3257         (__END_NAMESPACE_C99): Likewise.
3258         (__USING_NAMESPACE_C99): Likewise.
3259         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3260         undefine macro.
3261         (_Mdouble_END_NAMESPACE): Likewise.
3262         * ctype/ctype.h: Do not handle C++ namespaces.
3263         * libio/bits/stdio-ldbl.h: Likewise.
3264         * libio/stdio.h: Likewise.
3265         * locale/locale.h: Likewise.
3266         * math/bits/mathcalls.h: Likewise.
3267         * setjmp/setjmp.h: Likewise.
3268         * signal/signal.h: Likewise.
3269         * stdlib/bits/stdlib-float.h: Likewise.
3270         * stdlib/bits/stdlib-ldbl.h: Likewise.
3271         * stdlib/stdlib.h: Likewise.
3272         * string/string.h: Likewise.
3273         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3274         * time/bits/types/clock_t.h: Likewise.
3275         * time/bits/types/struct_tm.h: Likewise.
3276         * time/bits/types/time_t.h: Likewise.
3277         * time/time.h: Likewise.
3278         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3279         * wcsmbs/uchar.h: Likewise.
3280         * wcsmbs/wchar.h: Likewise.
3281         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3282         * wctype/wctype.h: Do not handle C++ namespaces.
3283         * scripts/begin-end-check.pl: Remove.
3284         * Makefile (installed-headers): Likewise.
3285         (tests-special): Do not add $(objpfx)begin-end-check.out.
3286         ($(objpfx)begin-end-check.out): Remove.
3288 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3289             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3291         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3292         (DL_PLATFORM_INIT): New define.
3293         (dl_platform_init): New function.
3294         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3295         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3296         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3297         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3298         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3300 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3302         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3303         instead of PIC.
3305 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3307         [BZ #21094]
3308         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3309         24+24+24-bit pi for wider range of values around pi/2.
3310         * math/auto-libm-test-in: Add more tests of cos and tan.
3311         * math/auto-libm-test-out-cos: Regenerated.
3312         * math/auto-libm-test-out-tan: Likewise.
3314 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3316         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3317         (RTLD_START): Don't record stack end address in _dl_start_user.
3319 2017-03-15  Alexey Neyman  <stilor@att.net>
3321         [BZ #21088]
3322         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3323         around definitions match those around use.
3325 2017-03-15  Alexey Neyman  <stilor@att.net>
3327         * configure.ac: Avoid empty subexpression in grep.
3328         * configure: Regenerate.
3330 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3332         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3333         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3334         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3335         (test_wrp_rv): Fix format.
3336         (test_wrp_rv2): New macro.
3337         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3338         binaries.
3340 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3342         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3343         Use a union when storing pointers.
3344         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3345         cast result when passing to INIT_VEC_PTRS_LOOP.
3346         (VECTOR_WRAPPER_fFF_3): Likewise.
3347         (VECTOR_WRAPPER_fFF_4): Likewise.
3349 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3351         * include/bits/mathcalls-helper-functions.h: New file.
3352         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3353         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3354         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3355         math/bits/mathcalls-helper-functions.h.
3356         * math/bits/mathcalls-helper-functions.h: New file.
3357         * math/math.h: Include bits/mathcalls-helper-functions.h for
3358         float, double, and long double.
3360 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3362         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3363         instead of feraiseexcept.
3365 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3367         [BZ #21243]
3368         * support/temp_file.c (support_delete_temp_files): Add comment
3369         about ignored errors.
3371 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3373         [BZ #21244]
3374         * support/xclose.c: New file.
3375         * support/Makefile (libsupport-routines): Add xclose.
3376         * support/xunistd.h (xclose): Declare.
3377         * support/resolv_test.c (server_thread_tcp_client)
3378         (server_thread_tcp, make_server_sockets, resolv_test_start)
3379         (resolv_test_end): Call xclose instead of close.
3380         * support/support_enter_network_namespace.c
3381         (support_enter_network_namespace): Likewise.
3382         * support/support_run_diff.c (write_to_temp_file): Likewise.
3384 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3386         * support/support_format_dns_packet.c (support_format_dns_packet):
3387         Handle CNAME records in the response.  Extract RDATA names from
3388         rdata, not the whole packet.  Check AAAA record length.
3389         * support/tst-support_format_dns_packet.c: New file.
3390         * support/Makefile (tests): Add tst-support_format_dns_packet.
3391         (tst-support_format_dns_packet): Link against libresolv.
3393 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3395         [BZ #21232]
3396         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3397         posix_fadvise64 weak_alias for static build.
3399 2017-03-14  Andreas Schwab  <schwab@suse.de>
3401         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3402         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3403         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3404         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3405         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3406         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3407         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3408         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3410 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3412         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3413         posix error code.
3414         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3416 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3418         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3419         no_isolate usage for SH.
3421 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3423         [BZ #15105]
3424         [BZ #19463]
3425         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3426         * inet/rcmd.c (rcmd_af): Likewise.
3427         * inet/rexec.c   (rexec_af): Likewise.
3428         * intl/dcigettext.c (_LIBC): Likewise.
3429         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3430         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3431         * locale/setlocale.c (setlocale): Likewise.
3432         * posix/spawn_faction_addopen.c
3433         (posix_spawn_file_actions_addopen): Likewise.
3434         * stdlib/putenv.c (putenv): Use __strndup.
3435         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3437         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3438         (__Need_M_And_C) Remove define/undef.
3439         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3440         (__malloc_and_calloc_defined): Remove define.
3441         * string/bits/string2.h (__strdup): Remove define.
3442         (strdup): Likewise.
3443         (__strndup): Likewise.
3444         (strndup): Likewise.
3446 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3448         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3449         macro.
3450         (IPV6_ADDR_PREFERENCES): Likewise.
3451         (IPV6_MINHOPCOUNT): Likewise.
3452         (IPV6_ORIGDSTADDR): Likewise.
3453         (IPV6_RECVORIGDSTADDR): Likewise.
3454         (IPV6_TRANSPARENT): Likewise.
3455         (IPV6_UNICAST_IF): Likewise.
3456         (IPV6_RECVFRAGSIZE): Likewise.
3458 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3460         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3462 2017-03-12  Alexey Neyman <stilor@att.net>
3464         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3465         in R_SH_DIR32 case is always false when inlined from
3466         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3468 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3470         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3471         (__ASSUME_RECV_SYSCALL): Replace duplicate by
3472         __ASSUME_SEND_SYSCALL.
3474 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
3476         * sunrpc/Makefile: don't build and install rpcsvc header
3477         files, rpcgen and librpcsvc.a by default.
3479 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
3481         * math/auto-libm-test-out-catan: Regenerated.
3482         * math/auto-libm-test-out-catanh: Likewise.
3483         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3485 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3487         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3488         for long double with corrected test expectations.
3490 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3492         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3493         Define.
3494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3495         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3496         * sysdeps/unix/sysv/linux/nios2/sysdep.h
3497         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3498         * sysdeps/unix/sysv/linux/tile/sysdep.h
3499         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3500         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3501         (__ASSUME_RECV_SYSCALL): Define.
3502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3503         (__ASSUME_RECV_SYSCALL): Likewise.
3504         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3505         (__ASSUME_RECV_SYSCALL): Likewise.
3506         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3507         (__ASSUME_RECV_SYSCALL): Likewise.
3508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3509         (__ASSUME_RECV_SYSCALL): Likewise.
3510         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3511         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3512         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3513         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3514         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3515         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3516         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3517         auto-generation list.
3518         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3519         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3520         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3521         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3522         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3523         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3524         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3525         __ASSUME_SENDTO_SYSCALL.
3526         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3527         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3528         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3530         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3531         auto-generation list.
3532         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3533         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3534         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3535         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3536         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3537         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3539         * sysdeps/unix/sysv/linux/kernel-features.h
3540         (__ASSUME_SENDTO_SYSCALL): Define by default.
3541         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3542         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3543         __NR_sendto.
3544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3545         (__ASSUME_SENDTO_SYSCALL): Likewise.
3546         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3547         (__ASSUME_SENDTO_SYSCALL): Likewise.
3548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3549         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3550         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3551         (__ASSUME_SENDTO_SYSCALL): Likewise.
3552         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3553         (__ASSUME_SENDTO_SYSCALL): Likewise.
3554         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3556         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3557         auto-generation list.
3558         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3559         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3560         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3561         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3562         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3563         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3564         (__ASSUME_RECV_SYSCALL): New define.
3565         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3566         (__ASSUME_RECV_SYSCALL): Likewise.
3567         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3568         (__ASSUME_RECV_SYSCALL): Likewise.
3569         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3570         (__ASSUME_RECV_SYSCALL): Likewise.
3571         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3572         (__ASSUME_RECV_SYSCALL): Likewise.
3573         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3574         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3576         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3577         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3578         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3579         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3580         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3581         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3582         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3583         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3584         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3586         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3587         auto-generation list.
3588         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3589         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3590         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3591         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3594         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3595         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3596         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3597         * sysdeps/unix/sysv/linux/kernel-features.h
3598         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3599         __NR_recvfrom.
3600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3601         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3602         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3603         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3605         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3606         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3607         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3608         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3609         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3610         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3611         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3612         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3614         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3615         auto-generation list.
3616         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3617         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3620         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3621         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3622         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3623         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3624         * sysdeps/unix/sysv/linux/kernel-features.h
3625         (__ASSUME_CONNECT_SYSCALL): Define.
3626         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3627         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3628         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3629         (__ASSUME_CONNECT_SYSCALL): Likewise.
3630         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3631         (__ASSUME_CONNECT_SYSCALL): Likewise.
3632         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3633         (__ASSUME_CONNECT_SYSCALL): Likewise.
3635         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3636         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3637         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3638         auto-generation list.
3639         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3640         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3641         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3642         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3643         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3644         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3645         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3646         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3647         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3648         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3649         * sysdeps/unix/sysv/linux/kernel-features.h
3650         (__ASSUME_ACCEPT_SYSCALL): New define.
3651         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3652         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3653         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3655         (__ASSUME_ACCEPT_SYSCALL): Define.
3656         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3657         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3658         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3659         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3660         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3661         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3662         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3663         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3664         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3666 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3667             Zack Weinberg  <zackw@panix.com>
3669         * posix/test-errno.c: New file.
3670         * posix/Makefile (tests): Add test-errno.
3671         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3672         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3674 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3676         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3678 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3680         * time/tzset.c (compute_offset): Open-code min macro.
3681         (min, max, sign): Remove.
3683 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3685         [BZ #15576]
3686         Remove TZNAME_MAX limit from sysconf.
3687         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3688         declaration.
3689         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3690         compute_tzname_max.
3691         (compute_tzname_max): Remove.
3692         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3693         (update_vars): Do not update __tzname_cur_max.
3694         (tzset_internal): Remove argument.
3695         (__tzset): Adjust call to tzset_internal.
3696         (__tz_convert): Likewise.
3698         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3699         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3700         * manual/conf.texi (Sysconf Definition): Update comment.
3702 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3704         [BZ #21209]
3705         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3706         AT_SECURE processes.
3707         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3708         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3709         (test_child): Likewise.
3710         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3712 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3714         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3716 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3718         * sysdeps/s390/atomic-machine.h
3719         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3720         (__arch_compare_and_exchange_val_8_acq,
3721         __arch_compare_and_exchange_val_16_acq,
3722         __arch_compare_and_exchange_val_32_acq,
3723         __arch_compare_and_exchange_val_64_acq):
3724         Delete macro.
3725         (atomic_compare_and_exchange_val_acq,
3726         atomic_compare_and_exchange_val_rel,
3727         atomic_compare_and_exchange_bool_acq,
3728         catomic_compare_and_exchange_bool_acq,
3729         atomic_exchange_acq, atomic_exchange_rel,
3730         atomic_exchange_and_add_acq,
3731         atomic_exchange_and_add_rel,
3732         catomic_exchange_and_add, atomic_or_val,
3733         atomic_or, catomic_or, atomic_bit_test_set,
3734         atomic_and_val, atomic_and, catomic_and):
3735         Define macros with help of C11 atomic builtins.
3737 2017-03-03  Justus Winter <justus@gnupg.org>
3739         * sysdeps/mach/hurd/ftruncate64.c: New file.
3740         * sysdeps/mach/hurd/truncate64.c: Likewise.
3742 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3744         * time/tzfile.c (NOID): Do not define.
3745         * time/tzset.c (NOID): Likewise.
3747 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3749         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3751 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3753         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3755 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3757         [BZ #21015]
3758         * manual/install.texi (Configuring and compiling): Document
3759         --enable-bind-now.
3760         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3761         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3762         (format.lds): Likewise.
3763         [bind-now] (LDFLAGS-c.so): Remove.
3764         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3765         be R_X86_64_GLOB_DAT.
3766         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3767         relocation can be R_386_GLOB_DAT.
3768         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3769         relocaiton can be R_ALPHA_GLOB_DAT.
3770         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3772 2017-03-01  Zack Weinberg  <zackw@panix.com>
3774         * include/libc-pointer-arith.h: New file.  Define
3775         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3776         PTR_ALIGN_DOWN here.
3777         * include/libc-internal.h: Definitions of above macros
3778         moved from here.  Don't include libc-diag.h anymore either.
3779         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3780         Don't include libc-internal.h.
3782         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3783         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3784         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3785         * string/strcoll_l.c, sysdeps/nacl/brk.c
3786         * sysdeps/unix/clock_settime.c
3787         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3788         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3790         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3791         Don't include libc-internal.h.
3793         * elf/get-dynamic-info.h, iconv/loop.c
3794         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3795         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3796         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3797         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3798         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3802         * sysdeps/ieee754/ldbl-128/k_tanl.c
3803         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3804         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3805         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3806         Include libc-diag.h instead of libc-internal.h.
3808         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3809         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3810         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3811         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3812         * sysdeps/unix/sysv/linux/spawni.c
3813         * sysdeps/x86_64/nptl/tls.h:
3814         Include libc-pointer-arith.h instead of libc-internal.h.
3816         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3817         * sysdeps/x86_64/atomic-machine.h:
3818         Add multiple include guard.
3820         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3821         * string/strcasestr.c: No need to include config.h.
3822         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3823         sys/auxv.h. Don't include sysdep.h.
3824         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3826         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3827         DL_LOOKUP_ADDRESS.
3828         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3829         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3830         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3831         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3832         of ARTIFICIAL_LIMIT.
3833         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3834         declaration of __clone2.
3836 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3838         * scripts/backport-support.sh (latest_commit): New file.
3840 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3842         [BZ #20257]
3843         * inet/Makefile (routines): Add deadline.
3844         (tests-static): Add tst-deadline.
3845         * inet/net-internal.h (struct deadline_current_time)
3846         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3847         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3848         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3849         * inet/deadline.c: New file.
3850         * inet/tst-deadline.c: Likewise.
3851         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3852         tst-udp-timeout, tst-udp-garbage.
3853         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3854         explicitly.
3855         (tst-udp-garbage): Likewise.  Also link against thread library.
3856         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3857         struct layout is part of the ABI.
3858         (clntudp_call): Rework timeout handling.
3859         * sunrpc/tst-udp-garbage.c: New file.
3860         * sunrpc/tst-udp-nonblocking.c: Likewise.
3861         * sunrpc/tst-udp-timeout.c: Likewise.
3863 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3865         [BZ #5010]
3866         * sunrpc/svc.c (svc_is_mapped): Remove.
3867         (svc_unregister): Obtain mapped status while the service is still
3868         registered.
3869         * sunrpc/Makefile [have-thread-library] (tests): Add
3870         tst-svc_register.
3871         (tst-svc_register): Link against libc.so explicitly and the thread
3872         library.
3873         * sunrpc/tst-svc_register.c: New file.
3875 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3877         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3878         * sysdeps/pthread/bits/sigthread.h: Likewise.
3880 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3882         [BZ #21115]
3883         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3884         * sunrpc/Makefile (tests): Add tst-udp-error.
3885         (tst-udp-error): Link against libc.so explicitly.
3886         * sunrpc/tst-udp-error: New file.
3888 2017-02-25  Zack Weinberg  <zackw@panix.com>
3890         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3891         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3893         * sysdeps/generic/math_ldbl.h
3894         * sysdeps/ia64/fpu/math_ldbl.h
3895         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3897         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3898         * sysdeps/powerpc/fpu/math_ldbl.h
3899         * sysdeps/x86_64/fpu/math_ldbl.h:
3900         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3901         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3902         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3903         Add copyright notices.
3905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3906         Don't use EXTRACT_WORDS64.
3908         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3909         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3910         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3911         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3912         Include math_ldbl.h, not math_private.h.
3914 2017-02-25  Zack Weinberg  <zackw@panix.com>
3916         * include/libc-diag.h: New file.  Define ignore_value,
3917         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3918         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3920         * include/libc-internal.h: Definitions of above macros moved from
3921         here.  Include libc-diag.h.  Add copyright notice.
3923         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3924         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3925         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3926         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3927         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3928         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3929         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3930         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3931         Include libc-diag.h instead of libc-internal.h.
3933         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3934         call to unsetenv (NULL).
3935         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3936         call to pthread_mutexattr_destroy (NULL).
3938 2017-02-25  Zack Weinberg  <zackw@panix.com>
3940         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3941         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3942         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3943         gets was removed from C++ in C++14.
3944         * include/stdio.h: Remove redundant declaration of gets.
3945         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3946         be declared, since we are testing it.
3947         * stdio-common/Makefile (tst-gets.c): Compile with
3948         -Wno-deprecated-declarations.
3949         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3950         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3951         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3952         Compile with -Wno-deprecated-declarations.
3954 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3956         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3957         numbers.
3959 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3961         * resolv/tst-resolv-qtypes.c (domain):
3962         Change type to const pointer to const char.
3964 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3966         * math/Makefile (libm-tests-generated): Remove variable.
3967         (libm-tests-base-normal): New variable.
3968         (libm-tests-base-finite): Likewise.
3969         (libm-tests-base-inline): Likewise.
3970         (libm-tests-base): Likewise.
3971         (libm-tests-normal): Likewise.
3972         (libm-tests-finite): Likewise.
3973         (libm-tests-inline): Likewise.
3974         (libm-tests-vector): Likewise.
3975         (libm-tests): Define in terms of these new variables.
3976         (libm-tests-for-type): New variable.
3977         (libm-tests.o): Move definition.
3978         (tests): Move addition of $(libm-tests).
3979         (generated): Update for new and removed libm test files.
3980         ($(objpfx)libm-test.c): Remove target.
3981         ($(objpfx)libm-have-vector-test.h): Likewise.
3982         (CFLAGS-test-double-vlen2.c): Remove variable.
3983         (CFLAGS-test-double-vlen4.c): Likewise.
3984         (CFLAGS-test-double-vlen8.c): Likewise.
3985         (CFLAGS-test-float-vlen4.c): Likewise.
3986         (CFLAGS-test-float-vlen8.c): Likewise.
3987         (CFLAGS-test-float-vlen16.c): Likewise.
3988         (CFLAGS-test-float.c): Likewise.
3989         (CFLAGS-test-float-finite.c): Likewise.
3990         (CFLAGS-libm-test-support-float.c): Likewise.
3991         (CFLAGS-test-double.c): Likewise.
3992         (CFLAGS-test-double-finite.c): Likewise.
3993         (CFLAGS-libm-test-support-double.c): Likewise.
3994         (CFLAGS-test-ldouble.c): Likewise.
3995         (CFLAGS-test-ldouble-finite.c): Likewise.
3996         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3997         (libm-test-inline-cflags): New variable.
3998         (CFLAGS-test-ifloat.c): Remove variable.
3999         (CFLAGS-test-idouble.c): Likewise.
4000         (CFLAGS-test-ildouble.c): Likewise.
4001         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4002         dependencies.
4003         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4004         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4005         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4006         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4007         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4008         Likewise.
4009         (dependencies on libm-test-support-*.o): Remove.
4010         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4011         rules using iterators.
4012         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4013         Likewise.
4014         ($(objpfx)libm-test-support-$(o).o): Likewise.
4015         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4016         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4017         instead.
4018         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4019         define rule instead.
4020         * math/README.libm-test: Update.
4021         * math/libm-test-acos.inc: Include libm-test-driver.c.
4022         (do_test): New function.
4023         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4024         (do_test): New function.
4025         * math/libm-test-asin.inc: Include libm-test-driver.c.
4026         (do_test): New function.
4027         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4028         (do_test): New function.
4029         * math/libm-test-atan.inc: Include libm-test-driver.c.
4030         (do_test): New function.
4031         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4032         (do_test): New function.
4033         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4034         (do_test): New function.
4035         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4036         (do_test): New function.
4037         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4038         (do_test): New function.
4039         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4040         (do_test): New function.
4041         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4042         (do_test): New function.
4043         * math/libm-test-carg.inc: Include libm-test-driver.c.
4044         (do_test): New function.
4045         * math/libm-test-casin.inc: Include libm-test-driver.c.
4046         (do_test): New function.
4047         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4048         (do_test): New function.
4049         * math/libm-test-catan.inc: Include libm-test-driver.c.
4050         (do_test): New function.
4051         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4052         (do_test): New function.
4053         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4054         (do_test): New function.
4055         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4056         (do_test): New function.
4057         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4058         (do_test): New function.
4059         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4060         (do_test): New function.
4061         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4062         (do_test): New function.
4063         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4064         (do_test): New function.
4065         * math/libm-test-clog.inc: Include libm-test-driver.c.
4066         (do_test): New function.
4067         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4068         (do_test): New function.
4069         * math/libm-test-conj.inc: Include libm-test-driver.c.
4070         (do_test): New function.
4071         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4072         (do_test): New function.
4073         * math/libm-test-cos.inc: Include libm-test-driver.c.
4074         (do_test): New function.
4075         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4076         (do_test): New function.
4077         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4078         (do_test): New function.
4079         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4080         (do_test): New function.
4081         * math/libm-test-creal.inc: Include libm-test-driver.c.
4082         (do_test): New function.
4083         * math/libm-test-csin.inc: Include libm-test-driver.c.
4084         (do_test): New function.
4085         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4086         (do_test): New function.
4087         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4088         (do_test): New function.
4089         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4090         (do_test): New function.
4091         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4092         (do_test): New function.
4093         * math/libm-test-erf.inc: Include libm-test-driver.c.
4094         (do_test): New function.
4095         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4096         (do_test): New function.
4097         * math/libm-test-exp.inc: Include libm-test-driver.c.
4098         (do_test): New function.
4099         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4100         (do_test): New function.
4101         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4102         (do_test): New function.
4103         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4104         (do_test): New function.
4105         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4106         (do_test): New function.
4107         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4108         (do_test): New function.
4109         * math/libm-test-floor.inc: Include libm-test-driver.c.
4110         (do_test): New function.
4111         * math/libm-test-fma.inc: Include libm-test-driver.c.
4112         (do_test): New function.
4113         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4114         (do_test): New function.
4115         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4116         (do_test): New function.
4117         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4118         (do_test): New function.
4119         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4120         (do_test): New function.
4121         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4122         (do_test): New function.
4123         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4124         (do_test): New function.
4125         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4126         (do_test): New function.
4127         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4128         (do_test): New function.
4129         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4130         (do_test): New function.
4131         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4132         (do_test): New function.
4133         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4134         (do_test): New function.
4135         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4136         (do_test): New function.
4137         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4138         (do_test): New function.
4139         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4140         (do_test): New function.
4141         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4142         (do_test): New function.
4143         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4144         (do_test): New function.
4145         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4146         (do_test): New function.
4147         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4148         (do_test): New function.
4149         * math/libm-test-isless.inc: Include libm-test-driver.c.
4150         (do_test): New function.
4151         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4152         (do_test): New function.
4153         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4154         (do_test): New function.
4155         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4156         (do_test): New function.
4157         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4158         (do_test): New function.
4159         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4160         (do_test): New function.
4161         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4162         (do_test): New function.
4163         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4164         (do_test): New function.
4165         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4166         (do_test): New function.
4167         * math/libm-test-j0.inc: Include libm-test-driver.c.
4168         (do_test): New function.
4169         * math/libm-test-j1.inc: Include libm-test-driver.c.
4170         (do_test): New function.
4171         * math/libm-test-jn.inc: Include libm-test-driver.c.
4172         (do_test): New function.
4173         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4174         (do_test): New function.
4175         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4176         (do_test): New function.
4177         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4178         (do_test): New function.
4179         * math/libm-test-llround.inc: Include libm-test-driver.c.
4180         (do_test): New function.
4181         * math/libm-test-log.inc: Include libm-test-driver.c.
4182         (do_test): New function.
4183         * math/libm-test-log10.inc: Include libm-test-driver.c.
4184         (do_test): New function.
4185         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4186         (do_test): New function.
4187         * math/libm-test-log2.inc: Include libm-test-driver.c.
4188         (do_test): New function.
4189         * math/libm-test-logb.inc: Include libm-test-driver.c.
4190         (do_test): New function.
4191         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4192         (do_test): New function.
4193         * math/libm-test-lround.inc: Include libm-test-driver.c.
4194         (do_test): New function.
4195         * math/libm-test-modf.inc: Include libm-test-driver.c.
4196         (do_test): New function.
4197         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4198         (do_test): New function.
4199         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4200         (do_test): New function.
4201         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4202         (do_test): New function.
4203         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4204         (do_test): New function.
4205         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4206         (do_test): New function.
4207         * math/libm-test-pow.inc: Include libm-test-driver.c.
4208         (do_test): New function.
4209         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4210         (do_test): New function.
4211         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4212         (do_test): New function.
4213         * math/libm-test-rint.inc: Include libm-test-driver.c.
4214         (do_test): New function.
4215         * math/libm-test-round.inc: Include libm-test-driver.c.
4216         (do_test): New function.
4217         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4218         (do_test): New function.
4219         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4220         (do_test): New function.
4221         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4222         (do_test): New function.
4223         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4224         (do_test): New function.
4225         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4226         (do_test): New function.
4227         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4228         (do_test): New function.
4229         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4230         (do_test): New function.
4231         * math/libm-test-significand.inc: Include libm-test-driver.c.
4232         (do_test): New function.
4233         * math/libm-test-sin.inc: Include libm-test-driver.c.
4234         (do_test): New function.
4235         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4236         (do_test): New function.
4237         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4238         (do_test): New function.
4239         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4240         (do_test): New function.
4241         * math/libm-test-tan.inc: Include libm-test-driver.c.
4242         (do_test): New function.
4243         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4244         (do_test): New function.
4245         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4246         (do_test): New function.
4247         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4248         (do_test): New function.
4249         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4250         (do_test): New function.
4251         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4252         (do_test): New function.
4253         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4254         (do_test): New function.
4255         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4256         (do_test): New function.
4257         * math/libm-test-y0.inc: Include libm-test-driver.c.
4258         (do_test): New function.
4259         * math/libm-test-y1.inc: Include libm-test-driver.c.
4260         (do_test): New function.
4261         * math/libm-test-yn.inc: Include libm-test-driver.c.
4262         (do_test): New function.
4263         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4264         (HAVE_VECTOR): Remove macro.
4265         (START): Do not call HAVE_VECTOR.
4266         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4267         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4268         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4269         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4270         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4271         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4272         * math/test-math-vector.h (FUNC_TEST): New macro.
4273         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4274         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4275         (double-vlen4-funcs): Likewise.
4276         (double-vlen4-avx2-funcs): Likewise.
4277         (double-vlen8-funcs): Likewise.
4278         (float-vlen4-funcs): Likewise.
4279         (float-vlen8-funcs): Likewise.
4280         (float-vlen8-avx2-funcs): Likewise.
4281         (float-vlen16-funcs): Likewise.
4282         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4283         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4284         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4285         macro.
4286         (TEST_VECTOR_sin): Likewise.
4287         (TEST_VECTOR_sincos): Likewise.
4288         (TEST_VECTOR_log): Likewise.
4289         (TEST_VECTOR_exp): Likewise.
4290         (TEST_VECTOR_pow): Likewise.
4291         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4292         Likewise.
4293         (TEST_VECTOR_sin): Likewise.
4294         (TEST_VECTOR_sincos): Likewise.
4295         (TEST_VECTOR_log): Likewise.
4296         (TEST_VECTOR_exp): Likewise.
4297         (TEST_VECTOR_pow): Likewise.
4298         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4299         Likewise.
4300         (TEST_VECTOR_sinf): Likewise.
4301         (TEST_VECTOR_sincosf): Likewise.
4302         (TEST_VECTOR_logf): Likewise.
4303         (TEST_VECTOR_expf): Likewise.
4304         (TEST_VECTOR_powf): Likewise.
4305         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4306         Likewise.
4307         (TEST_VECTOR_sinf): Likewise.
4308         (TEST_VECTOR_sincosf): Likewise.
4309         (TEST_VECTOR_logf): Likewise.
4310         (TEST_VECTOR_expf): Likewise.
4311         (TEST_VECTOR_powf): Likewise.
4312         * math/gen-libm-have-vector-test.sh: Remove file.
4313         * math/libm-test.inc: Likewise.
4314         * math/libm-test-support-double.c: Likewise.
4315         * math/libm-test-support-float.c: Likewise.
4316         * math/libm-test-support-ldouble.c: Likewise.
4317         * math/test-double-finite.c: Likewise.: Likewise.
4318         * math/test-double.c: Likewise.
4319         * math/test-float-finite.c: Likewise.
4320         * math/test-float.c: Likewise.
4321         * math/test-idouble.c: Likewise.
4322         * math/test-ifloat.c: Likewise.
4323         * math/test-ildouble.c: Likewise.
4324         * math/test-ldouble-finite.c: Likewise.
4325         * math/test-ldouble.c: Likewise.
4326         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4327         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4329         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4330         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4331         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4332         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4333         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4335         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4337 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4338            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4340         * math/Makefile: Add wrappers to gen-libm-calls.
4341         * math/w_acos_template.c: New file.
4342         * math/w_acosh_template.c: Likewise.
4343         * math/w_asin_template.c: Likewise.
4344         * math/w_atan2_template.c: Likewise.
4345         * math/w_atanh_template.c: Likewise.
4346         * math/w_cosh_template.c: Likewise.
4347         * math/w_exp10_template.c: Likewise.
4348         * math/w_exp2_template.c: Likewise.
4349         * math/w_exp_template.c: Likewise.
4350         * math/w_fmod_template.c: Likewise.
4351         * math/w_hypot_template.c: Likewise.
4352         * math/w_j0_template.c: Likewise.
4353         * math/w_j1_template.c: Likewise.
4354         * math/w_jn_template.c: Likewise.
4355         * math/w_lgamma_r_template.c: Likewise.
4356         * math/w_lgamma_template.c: Likewise.
4357         * math/w_log10_template.c: Likewise.
4358         * math/w_log2_template.c: Likewise.
4359         * math/w_log_template.c: Likewise.
4360         * math/w_pow_template.c: Likewise.
4361         * math/w_remainder_template.c: Likewise.
4362         * math/w_sinh_template.c: Likewise.
4363         * math/w_sqrt_template.c: Likewise.
4364         * math/w_tgamma_template.c: Likewise.: Likewise.
4365         * sysdeps/generic/math-type-macros-double.h
4366         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4367         the new wrappers.
4368         * sysdeps/generic/math-type-macros-float.h: Likewise.
4369         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4371 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4373         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4374         New enum constant and macro.
4376         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4377         kernel version to 4.10.
4379 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4381         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4383 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4387 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4389         * sysdeps/powerpc/tst-set_ppr.c: New file.
4390         Implement test cases for __ppc_set_ppr_* functions.
4391         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4392         in the list of tests.
4394 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4396         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4397         instead of test-skeleton.c.
4398         (do_test): Replaced pthread_create and pthread_join with
4399         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4400         Removed unneeded status variable.
4401         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4402         instead of test-skeleton.c.
4403         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4405 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4407         [BZ #20313]
4408         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4409         201605L, for Unicode 9.
4411 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4413         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4414         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4415         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4416         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4417         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4418         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4420 2017-02-19  Zack Weinberg  <zackw@panix.com>
4422         * rt/tst-mqueue4.c: Include stdint.h.
4424 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4426         * sysdeps/arm/libm-test-ulps: Update.
4427         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4428         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4429         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4431 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4433         [BZ #21029]
4434         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4435         * sysdeps/unix/sysv/linux/i386/Makefile
4436         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4437         (uses-6-syscall-arguments): Remove.
4438         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4439         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4440         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4441         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4442         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4443         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4444         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4445         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4446         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4447         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4448         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4449         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4450         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4451         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4452         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4453         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4454         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4455         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4456         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4457         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4458         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4459         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4460         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4461         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4462         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4463         Likewise.
4464         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4465         Likewise.
4466         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4467         Likewise.
4468         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4469         Likewise.
4470         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4471         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4472         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4473         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4474         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4475         ebp on inline assembly.
4476         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4477         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4478         Set if CAN_USE_REGISTER_ASM_EBP is set.
4480 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
4482         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4483         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4485 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4487         * math/auto-libm-test-in: Add tests of catan and catanh.
4488         * math/auto-libm-test-out-catan: New generated file.
4489         * math/auto-libm-test-out-catanh: Likewise.
4490         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4491         Move tests with finite inputs, except divide-by-zero cases, to
4492         auto-libm-test-in.
4493         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4494         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4495         (libm-test-funcs-noauto): Remove catan and catanh.
4496         * sysdeps/i386/fpu/libm-test-ulps: Update.
4497         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4500         * math/auto-libm-test-in: Add tests of casin and casinh.
4501         * math/auto-libm-test-out-casin: New generated file.
4502         * math/auto-libm-test-out-casinh: Likewise.
4503         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4504         Move tests with finite inputs to auto-libm-test-in.
4505         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4506         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4507         (libm-test-funcs-noauto): Remove casin and casinh.
4508         * sysdeps/i386/fpu/libm-test-ulps: Update.
4509         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4512         * math/auto-libm-test-in: Add tests of cacos and cacosh.
4513         * math/auto-libm-test-out-cacos: New generated file.
4514         * math/auto-libm-test-out-cacosh: Likewise.
4515         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4516         Move tests with finite inputs to auto-libm-test-in.
4517         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4518         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4519         (libm-test-funcs-noauto): Remove cacos and cacosh.
4520         * sysdeps/i386/fpu/libm-test-ulps: Update.
4521         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4524         Revert:
4525         2017-02-16  Zack Weinberg  <zackw@panix.com>
4527         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4528         Don't include init-arch.h.
4529         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4530         Don't include init-arch.h.
4532 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4534         [BZ #21171]
4535         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4536         +Inf and raise divide-by-zero when x is negative.
4537         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4538         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4539         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4540         -Inf and raise divide-by-zero when x = +-0.
4541         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4542         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4543         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4544         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4545         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4546         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4547         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4549 2017-02-16  Zack Weinberg  <zackw@panix.com>
4551         * scripts/build-many-glibcs.py (bot_build_mail): If the
4552         bot_config does not contain all of the necessary email-
4553         related settings, just print a warning and continue.
4555 2017-02-16  Zack Weinberg  <zackw@panix.com>
4557         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4558         * dirent/opendir-tst1.c: Include sys/stat.h.
4559         * dirent/tst-fdopendir.c: Include sys/stat.h.
4560         * dirent/tst-fdopendir2.c: Include stdlib.h.
4561         * dirent/tst-scandir.c: Include stdbool.h.
4562         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4563         * elf/tst-tls15.c: Include stdlib.h.
4564         * elf/tst-tls16.c: Include stdlib.h.
4565         * elf/tst-tls17.c: Include stdlib.h.
4566         * elf/tst-tls18.c: Include stdlib.h.
4567         * iconv/tst-iconv6.c: Include endian.h.
4568         * iconvdata/bug-iconv11.c: Include limits.h.
4569         * io/test-utime.c: Include stdint.h.
4570         * io/tst-faccessat.c: Include sys/stat.h.
4571         * io/tst-fchmodat.c: Include sys/stat.h.
4572         * io/tst-fchownat.c: Include sys/stat.h.
4573         * io/tst-fstatat.c: Include sys/stat.h.
4574         * io/tst-futimesat.c: Include sys/stat.h.
4575         * io/tst-linkat.c: Include sys/stat.h.
4576         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4577         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4578         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4579         * io/tst-openat.c: Include stdbool.h.
4580         * io/tst-readlinkat.c: Include sys/stat.h.
4581         * io/tst-renameat.c: Include sys/stat.h.
4582         * io/tst-symlinkat.c: Include sys/stat.h.
4583         * io/tst-unlinkat.c: Include stdbool.h.
4584         * libio/bug-memstream1.c: Include stdlib.h.
4585         * libio/bug-wmemstream1.c: Include stdlib.h.
4586         * libio/tst-fwrite-error.c: Include stdlib.h.
4587         * libio/tst-memstream1.c: Include stdlib.h.
4588         * libio/tst-memstream2.c: Include stdlib.h.
4589         * libio/tst-memstream3.c: Include stdlib.h.
4590         * malloc/tst-interpose-aux.c: Include stdint.h.
4591         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4592         * nptl/tst-basic7.c: Include limits.h.
4593         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4594         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4595         * nptl/tst-cancel4_1.c: Include stddef.h.
4596         * nptl/tst-cancel4_2.c: Include stddef.h.
4597         * nptl/tst-cond16.c: Include limits.h.
4598         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4599         * nptl/tst-cond18.c: Include limits.h.
4600         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4601         * nptl/tst-cond4.c: Include stdint.h.
4602         * nptl/tst-cond6.c: Include stdint.h.
4603         * nptl/tst-stack2.c: Include limits.h.
4604         * nptl/tst-stackguard1.c: Include stddef.h.
4605         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4606         * nptl/tst-tls4moda.c: Include stddef.h.
4607         Don't include stdio.h, unistd.h, or tls.h.
4608         * nptl/tst-tls4modb.c: Include stddef.h.
4609         Don't include stdio.h, unistd.h, or tls.h.
4610         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4611         * posix/tst-getaddrinfo2.c: Include stdio.h.
4612         * posix/tst-getaddrinfo5.c: Include stdio.h.
4613         * posix/tst-pathconf.c: Include sys/stat.h.
4614         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4615         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4616         * posix/tst-regex.c: Include stdint.h.
4617         Don't include spawn.h or spawn_int.h.
4618         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4619         * posix/tst-vfork3.c: Include sys/stat.h.
4620         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4621         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4622         * resolv/tst-resolv-search.c: Include stdlib.h.
4623         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4624         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4625         * stdlib/test-canon.c: Include sys/stat.h.
4626         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4627         * string/test-memchr.c: Include stdint.h.
4628         * string/tst-cmp.c: Include stdint.h.
4629         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4630         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4631         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4632         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4633         Don't include init-arch.h.
4634         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4635         Don't include init-arch.h.
4636         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4637         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4638         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4639         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4640         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4641         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4642         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4643         * time/clocktest.c: Include stdint.h.
4644         * time/tst-posixtz.c: Include stdint.h.
4645         * timezone/tst-timezone.c: Include stdint.h.
4647 2017-02-16  Zack Weinberg  <zackw@panix.com>
4649         * string/string.h [__USE_MISC]: Include strings.h.
4650         (__bzero, bcmp, bcopy, bzero, index, rindex)
4651         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4652         (ffs, ffsl, ffsll): Don't declare.
4653         * string/strings.h: Do not suppress the file if string.h has
4654         already been included.
4655         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4656         annotations.
4657         (index, rindex): Define inline forwarders even if
4658         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4659         (ffs): Use __attribute_const__.
4660         (ffsl, ffsll): Declare here.
4661         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4662         have now been standardized.
4663         * include/string.h (__bzero): Declare here.
4665         * bits/types.h: Move to posix/bits.
4666         * include/bits/types.h: New wrapper.
4668 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4670         * string/bits/string2.h (strcmp): Remove define.
4671         (__strcmp_cg): Likewise.
4672         (strncmp): Likewise.
4674 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4676         * include/string.h: Add __cplusplus check.
4678 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4680         [BZ #21134]
4681         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4682         "divide by zero" exception when the input is zero.
4683         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4684         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4685         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4686         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4687         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4689 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4691         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4692         and include ...
4693         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4694         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4695         to, and include ...
4696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4697         file.
4698         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4699         and include ...
4700         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4701         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4702         and include ...
4703         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4704         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4705         and include ...
4706         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4707         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4708         and include ...
4709         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4710         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4711         to, and include ...
4712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4713         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4714         and include ...
4715         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4717 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4719         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4720         here.
4721         * math/libm-test-support.c (libm_test_init): Do not call
4722         INIT_ARCH_EXT here.
4723         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4724         (main): Call INIT_ARCH_EXT.
4726 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4728         [BZ #21130]
4729         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4730         with the "invalid" exception raised when x is -Inf.
4731         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4733 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4735         * string/bits/string2.h (strchr): Remove define.
4737 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4739         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4740         tst-avx512.
4741         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4742         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4743         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4744         ($(objpfx)tst-sse): New rule.
4745         ($(objpfx)tst-avx): Likewise.
4746         ($(objpfx)tst-avx512): Likewise.
4747         (CFLAGS-tst-avx-aux.c): New.
4748         (CFLAGS-tst-avxmod.c): Likewise.
4749         (CFLAGS-tst-avx512-aux.c): Likewise.
4750         (CFLAGS-tst-avx512mod.c): Likewise.
4751         * sysdeps/x86_64/tst-avx-aux.c: New file.
4752         * sysdeps/x86_64/tst-avx.c: Likewise.
4753         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4754         * sysdeps/x86_64/tst-avx512.c: Likewise.
4755         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4756         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4757         * sysdeps/x86_64/tst-sse.c: Likewise.
4758         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4760 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4762         * math/auto-libm-test-in: Add more tests of csin and csinh.
4763         * math/auto-libm-test-out-csin: Regenerated.
4764         * math/auto-libm-test-out-csinh: Likewise.
4765         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4766         auto-libm-test-in.
4767         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4769 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4771         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4772         libm-compat-calls-auto.
4773         (libm-compat-calls): Likewise.
4774         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4775         w_lgamma_compatF and k_standardF (merged from the items above).
4776         (libm-routines): Use libm-compat-calls, instead of
4777         libm-compat-calls-auto, with type-foreach.
4779 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4781         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4782         macro.
4783         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4784         (CFLAGS-test-ifloat.c): ... this.  Remove
4785         -U__LIBC_INTERNAL_MATH_INLINES.
4786         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4787         (CFLAGS-test-idouble.c): ... this.  Remove
4788         -U__LIBC_INTERNAL_MATH_INLINES.
4789         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4790         (CFLAGS-test-ildouble.c): ... this.  Remove
4791         -U__LIBC_INTERNAL_MATH_INLINES.
4793 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4795         * math/libm-test-support.c: New file.  Content from
4796         math/libm-test-driver.c.
4797         * math/libm-test-support.h: Likewise.
4798         * math/libm-test-support-double.c: New file.
4799         * math/libm-test-support-float.c: Likewise.
4800         * math/libm-test-support-ldouble.c: Likewise.
4801         * math/libm-test-driver.c: Remove main comment and header
4802         includes.  Include libm-test-support.h.
4803         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4804         (flag_test_errno): Remove static.
4805         (flag_test_exceptions): Likewise.
4806         (flag_test_finite): Likewise.
4807         (flag_test_inline): Likewise.
4808         (flag_test_mathvec): Likewise.
4809         (test_msg): Likewise.
4810         (NO_EXCEPTION): Remove.
4811         (INVALID_EXCEPTION): Likewise.
4812         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4813         (OVERFLOW_EXCEPTION): Likewise.
4814         (UNDERFLOW_EXCEPTION): Likewise.
4815         (INEXACT_EXCEPTION): Likewise.
4816         (INVALID_EXCEPTION_OK): Likewise.
4817         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4818         (OVERFLOW_EXCEPTION_OK): Likewise.
4819         (UNDERFLOW_EXCEPTION_OK): Likewise.
4820         (NO_INEXACT_EXCEPTION): Likewise.
4821         (EXCEPTIONS_OK): Likewise.
4822         (IGNORE_ZERO_INF_SIGN): Likewise.
4823         (TEST_NAN_SIGN): Likewise.
4824         (TEST_NAN_PAYLOAD): Likewise.
4825         (NO_TEST_INLINE): Likewise.
4826         (XFAIL_TEST): Likewise.
4827         (ERRNO_UNCHANGED): Likewise.
4828         (ERRNO_EDOM): Likewise.
4829         (ERRNO_ERANGE): Likewise.
4830         (IGNORE_RESULT): Likewise.
4831         (NON_FINITE): Likewise.
4832         (TEST_SNAN): Likewise.
4833         (NO_TEST_MATHVEC): Likewise.
4834         (__CONCATX): Likewise.
4835         (TYPE_MIN): Likewise.
4836         (TYPE_TRUE_MIN): Likewise.
4837         (TYPE_MAX): Likewise.
4838         (MIN_EXP): Likewise.
4839         (MAX_EXP): Likewise.
4840         (MANT_DIG): Likewise.
4841         (FSTR_MAX): Likewise.
4842         (ulp_idx): Likewise.
4843         (qtype_str): Remove static.
4844         (TEST_COND_binary32): Remove.
4845         (TEST_COND_binary64): Likewise.
4846         (TEST_COND_binary128): Likewise.
4847         (TEST_COND_ibm128): Likewise.
4848         (TEST_COND_intel96): Likewise.
4849         (TEST_COND_m68k96): Likewise.
4850         (TEST_COND_ibm128_libgcc): Likewise.
4851         (XFAIL_IBM128_LIBGCC): Likewise.
4852         (PAYLOAD_DIG): Likewise.
4853         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4854         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4855         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4856         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4857         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4858         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4859         (TEST_COND_long32): Likewise.
4860         (TEST_COND_long64): Likewise.
4861         (TEST_COND_before_rounding): Likewise.
4862         (TEST_COND_after_rounding): Likewise.
4863         (ulps_file_name): Likewise.
4864         (ulps_file): Likewise.
4865         (output_ulps): Likewise.
4866         (output_dir): Likewise.
4867         (noErrors): Likewise.
4868         (noTests): Likewise.
4869         (noExcTests): Likewise.
4870         (noErrnoTests): Likewise.
4871         (verbose): Likewise.
4872         (output_max_error): Likewise.
4873         (output_points): Likewise.
4874         (ignore_max_ulp): Likewise.
4875         (max_error): Likewise.
4876         (real_max_error): Likewise.
4877         (imag_max_error): Likewise.
4878         (prev_max_error): Likewise.
4879         (prev_real_max_error): Likewise.
4880         (prev_imag_max_error): Likewise.
4881         (max_valid_error): Likewise.
4882         (TYPE_DECIMAL_DIG): Likewise.
4883         (TYPE_HEX_DIG): Likewise.
4884         (fmt_ftostr): Likewise.
4885         (compare_ulp_data): Likewise.
4886         (find_ulps): Likewise.
4887         (init_max_error): Likewise.
4888         (set_max_error): Likewise.
4889         (print_float): Likewise.
4890         (print_screen): Likewise.
4891         (print_screen_max_error): Likewise.
4892         (update_stats): Likewise.
4893         (print_function_ulps): Likewise.
4894         (print_complex_function_ulps): Likewise.
4895         (fpstack_test): Likewise.
4896         (print_max_error): Likewise.
4897         (print_complex_max_error): Likewise.
4898         (test_single_exception): Likewise.
4899         (test_exceptions): Likewise.
4900         (test_single_errno): Likewise.
4901         (test_errno): Likewise.
4902         (ULPDIFF): Likewise.
4903         (ulp): Likewise.
4904         (check_float_internal): Likewise.
4905         (check_float): Likewise.
4906         (check_complex): Likewise.
4907         (check_int): Likewise.
4908         (check_long): Likewise.
4909         (check_bool): Likewise.
4910         (check_longlong): Likewise.
4911         (check_intmax_t): Likewise.
4912         (check_uintmax_t): Likewise.
4913         (enable_test): Likewise.
4914         (matherr): Likewise.
4915         (initialize): Likewise.
4916         (options): Likewise.
4917         (doc): Remove static.
4918         (argp): Likewise.
4919         (parse_opt): Remove.
4920         (check_ulp): Likewise.
4921         (libm_test_init): Likewise.
4922         (libm_test_finish): Likewise.
4923         * math/Makefile (libm-test-support): New variable.
4924         (test-extras): Add libm-test-support files.
4925         (extra-test-objs): Likewise.
4926         (CFLAGS-libm-test-support-float.c): New variable.
4927         (CFLAGS-libm-test-support-double.c): Likewise.
4928         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4929         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4930         libm-test-support objects.
4932 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4934         * math/Makefile (libm-calls): Move w_exp...
4935         (libm-compat-calls-auto): Here.
4937         * math/w_expl.c: Add suffix "_compat" to filename.
4938         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4939         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4940         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4941         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4942         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4945         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4947         * math/w_expl_compat.c: New file, copied from above.
4948         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4949         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4950         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4951         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4952         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4955         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4957         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4958         to filename.
4959         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4961         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4962         copied from above and adjusted for the new filenames.
4963         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4965 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4967         * math/Makefile (libm-calls): Move w_lgammaF...
4968         (libm-compat-calls-auto): Here.
4970         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4971         * math/w_lgammaf.c: Likewise.
4972         * math/w_lgammal.c: Likewise.
4974         * math/w_lgamma_compat2.c: New file, copied from above.
4975         * math/w_lgammaf_compat2.c: Likewise.
4976         * math/w_lgammal_compat2.c: Likewise.
4978 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4980         * math/Makefile (libm-calls): Move w_lgammaF_r...
4981         (libm-compat-calls-auto): Here.
4983         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4984         * math/w_lgammaf_r.c: Likewise.
4985         * math/w_lgammal_r.c: Likewise.
4986         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4987         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4988         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4990         * math/w_lgamma_r_compat.c: New file, copied from above.
4991         * math/w_lgammaf_r_compat.c: Likewise.
4992         * math/w_lgammal_r_compat.c: Likewise.
4993         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4994         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4995         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4997         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4998         to filename.
4999         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5001         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5002         copied from above and adjusted for the new filenames.
5003         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5005 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5008         calculation in SYSCALL_ERROR_HANDLER().
5010 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5012         * manual/contrib.texi: Fix typo.
5014 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5016         [BZ #21109]
5017         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5018         tunable_val_t as argument.
5019         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5020         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5021         argument.
5022         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5024 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5026         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5027         Add PTRACE_EVENT_STOP.
5028         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5030         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5031         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5032         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5033         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5035 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5037         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5038         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5039         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5040         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5041         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5042         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5043         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5044         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5045         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5046         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5048         [BZ #21112]
5049         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5050         12 bits zero.
5051         (cp_l): Update for new value of cp_h.
5052         * math/auto-libm-test-in: Add another test of pow.
5053         * math/auto-libm-test-out-pow: Regenerated.
5055 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5057         * manual/contrib.texi: Fix typo.
5059 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5061         [BZ #15998]
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5063         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5066 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5068         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5069         STRCHR as __strchr_power8.
5070         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5071         strlen as __strlen_power8.
5073 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5075         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5076         unaligned load for shorter strings.
5077         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5079 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5081         * math/libm-test-driver.c (flag_test_errno): New variable.
5082         (flag_test_exceptions): Likewise.
5083         (flag_test_finite): Likewise.
5084         (flag_test_inline): Likewise.
5085         (flag_test_mathvec): Likewise.
5086         (test_msg): Likewise.
5087         (ulp_idx): Likewise.
5088         (qtype_str): Likewise.
5089         (ULP_IDX): Remove macro.
5090         (QTYPE_STR): Likewise.
5091         (find_ulps): Use ulp_idx not ULP_IDX.
5092         (print_function_ulps): Use qtype_str, printed with %s, not
5093         QTYPE_STR, printed with concatentation to format string.
5094         (print_complex_function_ulps): Likewise.
5095         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5096         (test_errno): Use flag_test_errno not TEST_ERRNO.
5097         (enable_test): Use flag_test_inline, flag_test_finite and
5098         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5099         TEST_MATHVEC.
5100         (libm_test_init): New function.  Factored out of main.
5101         (libm_test_finish): Likewise.
5102         (main): Call libm_test_init and libm_test_finish and move most
5103         code to those functions.
5105         * math/libm-test-driver.c (STRX): New macro.
5106         (STR): Likewise.
5107         (STR_FLOAT): Likewise.
5108         (STR_VEC_LEN): Likewise.
5109         (TEST_MSG): Likewise.  Define here instead of expecting to be
5110         defined by including file.
5111         * math/test-double-finite.c (TEST_MSG): Remove macro.
5112         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5113         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5114         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5115         * math/test-double.c (TEST_MSG): Likewise.
5116         * math/test-float-finite.c (TEST_MSG): Likewise.
5117         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5118         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5119         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5120         * math/test-float.c (TEST_MSG): Likewise.
5121         * math/test-idouble.c (TEST_MSG): Likewise.
5122         * math/test-ifloat.c (TEST_MSG): Likewise.
5123         * math/test-ildouble.c (TEST_MSG): Likewise.
5124         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5125         * math/test-ldouble.c (TEST_MSG): Likewise.
5127         * math/libm-test.inc: Move all tests of individual functions to
5128         libm-test-*.inc and #include libm-test-*.c files.
5129         (acos_test_data): Remove.
5130         (acos_test): Likewise.
5131         (acosh_test_data): Likewise.
5132         (acosh_test): Likewise.
5133         (asin_test_data): Likewise.
5134         (asin_test): Likewise.
5135         (asinh_test_data): Likewise.
5136         (asinh_test): Likewise.
5137         (atan_test_data): Likewise.
5138         (atan_test): Likewise.
5139         (atanh_test_data): Likewise.
5140         (atanh_test): Likewise.
5141         (atan2_test_data): Likewise.
5142         (atan2_test): Likewise.
5143         (cabs_test_data): Likewise.
5144         (cabs_test): Likewise.
5145         (cacos_test_data): Likewise.
5146         (cacos_test): Likewise.
5147         (cacosh_test_data): Likewise.
5148         (cacosh_test): Likewise.
5149         (canonicalize_test_data): Likewise.
5150         (canonicalize_test): Likewise.
5151         (carg_test_data): Likewise.
5152         (carg_test): Likewise.
5153         (casin_test_data): Likewise.
5154         (casin_test): Likewise.
5155         (casinh_test_data): Likewise.
5156         (casinh_test): Likewise.
5157         (catan_test_data): Likewise.
5158         (catan_test): Likewise.
5159         (catanh_test_data): Likewise.
5160         (catanh_test): Likewise.
5161         (cbrt_test_data): Likewise.
5162         (cbrt_test): Likewise.
5163         (ccos_test_data): Likewise.
5164         (ccos_test): Likewise.
5165         (ccosh_test_data): Likewise.
5166         (ccosh_test): Likewise.
5167         (ceil_test_data): Likewise.
5168         (ceil_test): Likewise.
5169         (cexp_test_data): Likewise.
5170         (cexp_test): Likewise.
5171         (cimag_test_data): Likewise.
5172         (cimag_test): Likewise.
5173         (clog_test_data): Likewise.
5174         (clog_test): Likewise.
5175         (clog10_test_data): Likewise.
5176         (clog10_test): Likewise.
5177         (conj_test_data): Likewise.
5178         (conj_test): Likewise.
5179         (copysign_test_data): Likewise.
5180         (copysign_test): Likewise.
5181         (cos_test_data): Likewise.
5182         (cos_test): Likewise.
5183         (cosh_test_data): Likewise.
5184         (cosh_test): Likewise.
5185         (cpow_test_data): Likewise.
5186         (cpow_test): Likewise.
5187         (cproj_test_data): Likewise.
5188         (cproj_test): Likewise.
5189         (creal_test_data): Likewise.
5190         (creal_test): Likewise.
5191         (csin_test_data): Likewise.
5192         (csin_test): Likewise.
5193         (csinh_test_data): Likewise.
5194         (csinh_test): Likewise.
5195         (csqrt_test_data): Likewise.
5196         (csqrt_test): Likewise.
5197         (ctan_test_data): Likewise.
5198         (ctan_test): Likewise.
5199         (ctanh_test_data): Likewise.
5200         (ctanh_test): Likewise.
5201         (erf_test_data): Likewise.
5202         (erf_test): Likewise.
5203         (erfc_test_data): Likewise.
5204         (erfc_test): Likewise.
5205         (exp_test_data): Likewise.
5206         (exp_test): Likewise.
5207         (exp10_test_data): Likewise.
5208         (exp10_test): Likewise.
5209         (pow10_test): Likewise.
5210         (exp2_test_data): Likewise.
5211         (exp2_test): Likewise.
5212         (expm1_test_data): Likewise.
5213         (expm1_test): Likewise.
5214         (fabs_test_data): Likewise.
5215         (fabs_test): Likewise.
5216         (fdim_test_data): Likewise.
5217         (fdim_test): Likewise.
5218         (floor_test_data): Likewise.
5219         (floor_test): Likewise.
5220         (fma_test_data): Likewise.
5221         (fma_test): Likewise.
5222         (fmax_test_data): Likewise.
5223         (fmax_test): Likewise.
5224         (fmaxmag_test_data): Likewise.
5225         (fmaxmag_test): Likewise.
5226         (fmin_test_data): Likewise.
5227         (fmin_test): Likewise.
5228         (fminmag_test_data): Likewise.
5229         (fminmag_test): Likewise.
5230         (fmod_test_data): Likewise.
5231         (fmod_test): Likewise.
5232         (fpclassify_test_data): Likewise.
5233         (fpclassify_test): Likewise.
5234         (frexp_test_data): Likewise.
5235         (frexp_test): Likewise.
5236         (fromfp_test_data): Likewise.
5237         (fromfp_test): Likewise.
5238         (fromfpx_test_data): Likewise.
5239         (fromfpx_test): Likewise.
5240         (getpayload_test_data): Likewise.
5241         (getpayload_test): Likewise.
5242         (hypot_test_data): Likewise.
5243         (hypot_test): Likewise.
5244         (ilogb_test_data): Likewise.
5245         (ilogb_test): Likewise.
5246         (iscanonical_test_data): Likewise.
5247         (iscanonical_test): Likewise.
5248         (iseqsig_test_data): Likewise.
5249         (iseqsig_test): Likewise.
5250         (isfinite_test_data): Likewise.
5251         (isfinite_test): Likewise.
5252         (finite_test): Likewise.
5253         (isgreater_test_data): Likewise.
5254         (isgreater_test): Likewise.
5255         (isgreaterequal_test_data): Likewise.
5256         (isgreaterequal_test): Likewise.
5257         (isinf_test_data): Likewise.
5258         (isinf_test): Likewise.
5259         (isless_test_data): Likewise.
5260         (isless_test): Likewise.
5261         (islessequal_test_data): Likewise.
5262         (islessequal_test): Likewise.
5263         (islessgreater_test_data): Likewise.
5264         (islessgreater_test): Likewise.
5265         (isnan_test_data): Likewise.
5266         (isnan_test): Likewise.
5267         (isnormal_test_data): Likewise.
5268         (isnormal_test): Likewise.
5269         (issignaling_test_data): Likewise.
5270         (issignaling_test): Likewise.
5271         (issubnormal_test_data): Likewise.
5272         (issubnormal_test): Likewise.
5273         (isunordered_test_data): Likewise.
5274         (isunordered_test): Likewise.
5275         (iszero_test_data): Likewise.
5276         (iszero_test): Likewise.
5277         (j0_test_data): Likewise.
5278         (j0_test): Likewise.
5279         (j1_test_data): Likewise.
5280         (j1_test): Likewise.
5281         (jn_test_data): Likewise.
5282         (jn_test): Likewise.
5283         (lgamma_test_data): Likewise.
5284         (lgamma_test): Likewise.
5285         (gamma_test): Likewise.
5286         (llogb_test_data): Likewise.
5287         (llogb_test): Likewise.
5288         (lrint_test_data): Likewise.
5289         (lrint_test): Likewise.
5290         (llrint_test_data): Likewise.
5291         (llrint_test): Likewise.
5292         (log_test_data): Likewise.
5293         (log_test): Likewise.
5294         (log10_test_data): Likewise.
5295         (log10_test): Likewise.
5296         (log1p_test_data): Likewise.
5297         (log1p_test): Likewise.
5298         (log2_test_data): Likewise.
5299         (log2_test): Likewise.
5300         (logb_test_data): Likewise.
5301         (logb_test): Likewise.
5302         (lround_test_data): Likewise.
5303         (lround_test): Likewise.
5304         (llround_test_data): Likewise.
5305         (llround_test): Likewise.
5306         (modf_test_data): Likewise.
5307         (modf_test): Likewise.
5308         (nearbyint_test_data): Likewise.
5309         (nearbyint_test): Likewise.
5310         (nextafter_test_data): Likewise.
5311         (nextafter_test): Likewise.
5312         (nextup_test_data): Likewise.
5313         (nextup_test): Likewise.
5314         (nextdown_test_data): Likewise.
5315         (nextdown_test): Likewise.
5316         (nexttoward_test_data): Likewise.
5317         (nexttoward_test): Likewise.
5318         (pow_test_data): Likewise.
5319         (pow_test): Likewise.
5320         (remainder_test_data): Likewise.
5321         (remainder_test): Likewise.
5322         (drem_test): Likewise.
5323         (remquo_test_data): Likewise.
5324         (remquo_test): Likewise.
5325         (rint_test_data): Likewise.
5326         (rint_test): Likewise.
5327         (round_test_data): Likewise.
5328         (round_test): Likewise.
5329         (roundeven_test_data): Likewise.
5330         (roundeven_test): Likewise.
5331         (scalb_test_data): Likewise.
5332         (scalb_test): Likewise.
5333         (scalbn_test_data): Likewise.
5334         (scalbn_test): Likewise.
5335         (ldexp_test): Likewise.
5336         (scalbln_test_data): Likewise.
5337         (scalbln_test): Likewise.
5338         (setpayload_test_data): Likewise.
5339         (setpayload_test): Likewise.
5340         (setpayloadsig_test_data): Likewise.
5341         (setpayloadsig_test): Likewise.
5342         (signbit_test_data): Likewise.
5343         (signbit_test): Likewise.
5344         (sin_test_data): Likewise.
5345         (sin_test): Likewise.
5346         (sincos_test_data): Likewise.
5347         (sincos_test): Likewise.
5348         (sinh_test_data): Likewise.
5349         (sinh_test): Likewise.
5350         (sqrt_test_data): Likewise.
5351         (sqrt_test): Likewise.
5352         (tan_test_data): Likewise.
5353         (tan_test): Likewise.
5354         (tanh_test_data): Likewise.
5355         (tanh_test): Likewise.
5356         (tgamma_test_data): Likewise.
5357         (tgamma_test): Likewise.
5358         (totalorder_test_data): Likewise.
5359         (totalorder_test): Likewise.
5360         (totalordermag_test_data): Likewise.
5361         (totalordermag_test): Likewise.
5362         (trunc_test_data): Likewise.
5363         (trunc_test): Likewise.
5364         (ufromfp_test_data): Likewise.
5365         (ufromfp_test): Likewise.
5366         (ufromfpx_test_data): Likewise.
5367         (ufromfpx_test): Likewise.
5368         (y0_test_data): Likewise.
5369         (y0_test): Likewise.
5370         (y1_test_data): Likewise.
5371         (y1_test): Likewise.
5372         (yn_test_data): Likewise.
5373         (yn_test): Likewise.
5374         (significand_test_data): Likewise.
5375         (significand_test): Likewise.
5376         * math/Makefile (auto-libm-test-out-files): Remove variable.
5377         (libm-test-funcs-noauto): New variable.
5378         (libm-test-funcs-all): Likewise.
5379         (libm-test-c-auto): Likewise.
5380         (libm-test-c-noauto): Likewise.
5381         (libm-tests-generated): Add $(libm-test-c-auto) and
5382         $(libm-test-c-noauto).
5383         (generated): Do not add auto-libm-test-out.
5384         (libm-test-c-auto-obj): New variable.
5385         (libm-test-c-noauto-obj): Likewise.
5386         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5387         ($(libm-test-c-noauto-obj)): New static pattern rule.
5388         ($(libm-test-c-auto-obj)): Likewise.
5389         (libm-test-incs): New variable.
5390         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5391         and pass it to gen-libm-have-vector-test.sh.
5392         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5393         be passed on command line.
5394         * math/libm-test-acos.inc: New file.  Content from
5395         math/libm-test.inc.
5396         * math/libm-test-acosh.inc: Likewise.
5397         * math/libm-test-asin.inc: Likewise.
5398         * math/libm-test-asinh.inc: Likewise.
5399         * math/libm-test-atan.inc: Likewise.
5400         * math/libm-test-atan2.inc: Likewise.
5401         * math/libm-test-atanh.inc: Likewise.
5402         * math/libm-test-cabs.inc: Likewise.
5403         * math/libm-test-cacos.inc: Likewise.
5404         * math/libm-test-cacosh.inc: Likewise.
5405         * math/libm-test-canonicalize.inc: Likewise.
5406         * math/libm-test-carg.inc: Likewise.
5407         * math/libm-test-casin.inc: Likewise.
5408         * math/libm-test-casinh.inc: Likewise.
5409         * math/libm-test-catan.inc: Likewise.
5410         * math/libm-test-catanh.inc: Likewise.
5411         * math/libm-test-cbrt.inc: Likewise.
5412         * math/libm-test-ccos.inc: Likewise.
5413         * math/libm-test-ccosh.inc: Likewise.
5414         * math/libm-test-ceil.inc: Likewise.
5415         * math/libm-test-cexp.inc: Likewise.
5416         * math/libm-test-cimag.inc: Likewise.
5417         * math/libm-test-clog.inc: Likewise.
5418         * math/libm-test-clog10.inc: Likewise.
5419         * math/libm-test-conj.inc: Likewise.
5420         * math/libm-test-copysign.inc: Likewise.
5421         * math/libm-test-cos.inc: Likewise.
5422         * math/libm-test-cosh.inc: Likewise.
5423         * math/libm-test-cpow.inc: Likewise.
5424         * math/libm-test-cproj.inc: Likewise.
5425         * math/libm-test-creal.inc: Likewise.
5426         * math/libm-test-csin.inc: Likewise.
5427         * math/libm-test-csinh.inc: Likewise.
5428         * math/libm-test-csqrt.inc: Likewise.
5429         * math/libm-test-ctan.inc: Likewise.
5430         * math/libm-test-ctanh.inc: Likewise.
5431         * math/libm-test-erf.inc: Likewise.
5432         * math/libm-test-erfc.inc: Likewise.
5433         * math/libm-test-exp.inc: Likewise.
5434         * math/libm-test-exp10.inc: Likewise.
5435         * math/libm-test-exp2.inc: Likewise.
5436         * math/libm-test-expm1.inc: Likewise.
5437         * math/libm-test-fabs.inc: Likewise.
5438         * math/libm-test-fdim.inc: Likewise.
5439         * math/libm-test-floor.inc: Likewise.
5440         * math/libm-test-fma.inc: Likewise.
5441         * math/libm-test-fmax.inc: Likewise.
5442         * math/libm-test-fmaxmag.inc: Likewise.
5443         * math/libm-test-fmin.inc: Likewise.
5444         * math/libm-test-fminmag.inc: Likewise.
5445         * math/libm-test-fmod.inc: Likewise.
5446         * math/libm-test-fpclassify.inc: Likewise.
5447         * math/libm-test-frexp.inc: Likewise.
5448         * math/libm-test-fromfp.inc: Likewise.
5449         * math/libm-test-fromfpx.inc: Likewise.
5450         * math/libm-test-getpayload.inc: Likewise.
5451         * math/libm-test-hypot.inc: Likewise.
5452         * math/libm-test-ilogb.inc: Likewise.
5453         * math/libm-test-iscanonical.inc: Likewise.
5454         * math/libm-test-iseqsig.inc: Likewise.
5455         * math/libm-test-isfinite.inc: Likewise.
5456         * math/libm-test-isgreater.inc: Likewise.
5457         * math/libm-test-isgreaterequal.inc: Likewise.
5458         * math/libm-test-isinf.inc: Likewise.
5459         * math/libm-test-isless.inc: Likewise.
5460         * math/libm-test-islessequal.inc: Likewise.
5461         * math/libm-test-islessgreater.inc: Likewise.
5462         * math/libm-test-isnan.inc: Likewise.
5463         * math/libm-test-isnormal.inc: Likewise.
5464         * math/libm-test-issignaling.inc: Likewise.
5465         * math/libm-test-issubnormal.inc: Likewise.
5466         * math/libm-test-isunordered.inc: Likewise.
5467         * math/libm-test-iszero.inc: Likewise.
5468         * math/libm-test-j0.inc: Likewise.
5469         * math/libm-test-j1.inc: Likewise.
5470         * math/libm-test-jn.inc: Likewise.
5471         * math/libm-test-lgamma.inc: Likewise.
5472         * math/libm-test-llogb.inc: Likewise.
5473         * math/libm-test-llrint.inc: Likewise.
5474         * math/libm-test-llround.inc: Likewise.
5475         * math/libm-test-log.inc: Likewise.
5476         * math/libm-test-log10.inc: Likewise.
5477         * math/libm-test-log1p.inc: Likewise.
5478         * math/libm-test-log2.inc: Likewise.
5479         * math/libm-test-logb.inc: Likewise.
5480         * math/libm-test-lrint.inc: Likewise.
5481         * math/libm-test-lround.inc: Likewise.
5482         * math/libm-test-modf.inc: Likewise.
5483         * math/libm-test-nearbyint.inc: Likewise.
5484         * math/libm-test-nextafter.inc: Likewise.
5485         * math/libm-test-nextdown.inc: Likewise.
5486         * math/libm-test-nexttoward.inc: Likewise.
5487         * math/libm-test-nextup.inc: Likewise.
5488         * math/libm-test-pow.inc: Likewise.
5489         * math/libm-test-remainder.inc: Likewise.
5490         * math/libm-test-remquo.inc: Likewise.
5491         * math/libm-test-rint.inc: Likewise.
5492         * math/libm-test-round.inc: Likewise.
5493         * math/libm-test-roundeven.inc: Likewise.
5494         * math/libm-test-scalb.inc: Likewise.
5495         * math/libm-test-scalbln.inc: Likewise.
5496         * math/libm-test-scalbn.inc: Likewise.
5497         * math/libm-test-setpayload.inc: Likewise.
5498         * math/libm-test-setpayloadsig.inc: Likewise.
5499         * math/libm-test-signbit.inc: Likewise.
5500         * math/libm-test-significand.inc: Likewise.
5501         * math/libm-test-sin.inc: Likewise.
5502         * math/libm-test-sincos.inc: Likewise.
5503         * math/libm-test-sinh.inc: Likewise.
5504         * math/libm-test-sqrt.inc: Likewise.
5505         * math/libm-test-tan.inc: Likewise.
5506         * math/libm-test-tanh.inc: Likewise.
5507         * math/libm-test-tgamma.inc: Likewise.
5508         * math/libm-test-totalorder.inc: Likewise.
5509         * math/libm-test-totalordermag.inc: Likewise.
5510         * math/libm-test-trunc.inc: Likewise.
5511         * math/libm-test-ufromfp.inc: Likewise.
5512         * math/libm-test-ufromfpx.inc: Likewise.
5513         * math/libm-test-y0.inc: Likewise.
5514         * math/libm-test-y1.inc: Likewise.
5515         * math/libm-test-yn.inc: Likewise.
5516         * math/README.libm-test: Update.
5518         * math/gen-auto-libm-tests.c: Update comment about use of program.
5519         (generate_output): Add argument FUNCTION.
5520         (main): Require extra argument.  Pass function name to
5521         generate_output.
5522         * math/Makefile (generated): Add auto-libm-test-out.
5523         (libm-test-funcs-auto): New variable.
5524         (auto-libm-test-out-files): New variable.
5525         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5526         Concatenate those files to form $(objpfx)auto-libm-test-out and
5527         use it as input to gen-libm-test.pl.
5528         * math/README.libm-test: Update.
5529         * math/auto-libm-test-out: Remove.
5530         * math/auto-libm-test-out-acos: New generated file.
5531         * math/auto-libm-test-out-acosh: Likewise.
5532         * math/auto-libm-test-out-asin: Likewise.
5533         * math/auto-libm-test-out-asinh: Likewise.
5534         * math/auto-libm-test-out-atan: Likewise.
5535         * math/auto-libm-test-out-atan2: Likewise.
5536         * math/auto-libm-test-out-atanh: Likewise.
5537         * math/auto-libm-test-out-cabs: Likewise.
5538         * math/auto-libm-test-out-carg: Likewise.
5539         * math/auto-libm-test-out-cbrt: Likewise.
5540         * math/auto-libm-test-out-ccos: Likewise.
5541         * math/auto-libm-test-out-ccosh: Likewise.
5542         * math/auto-libm-test-out-cexp: Likewise.
5543         * math/auto-libm-test-out-clog: Likewise.
5544         * math/auto-libm-test-out-clog10: Likewise.
5545         * math/auto-libm-test-out-cos: Likewise.
5546         * math/auto-libm-test-out-cosh: Likewise.
5547         * math/auto-libm-test-out-cpow: Likewise.
5548         * math/auto-libm-test-out-csin: Likewise.
5549         * math/auto-libm-test-out-csinh: Likewise.
5550         * math/auto-libm-test-out-csqrt: Likewise.
5551         * math/auto-libm-test-out-ctan: Likewise.
5552         * math/auto-libm-test-out-ctanh: Likewise.
5553         * math/auto-libm-test-out-erf: Likewise.
5554         * math/auto-libm-test-out-erfc: Likewise.
5555         * math/auto-libm-test-out-exp: Likewise.
5556         * math/auto-libm-test-out-exp10: Likewise.
5557         * math/auto-libm-test-out-exp2: Likewise.
5558         * math/auto-libm-test-out-expm1: Likewise.
5559         * math/auto-libm-test-out-fma: Likewise.
5560         * math/auto-libm-test-out-hypot: Likewise.
5561         * math/auto-libm-test-out-j0: Likewise.
5562         * math/auto-libm-test-out-j1: Likewise.
5563         * math/auto-libm-test-out-jn: Likewise.
5564         * math/auto-libm-test-out-lgamma: Likewise.
5565         * math/auto-libm-test-out-log: Likewise.
5566         * math/auto-libm-test-out-log10: Likewise.
5567         * math/auto-libm-test-out-log1p: Likewise.
5568         * math/auto-libm-test-out-log2: Likewise.
5569         * math/auto-libm-test-out-pow: Likewise.
5570         * math/auto-libm-test-out-sin: Likewise.
5571         * math/auto-libm-test-out-sincos: Likewise.
5572         * math/auto-libm-test-out-sinh: Likewise.
5573         * math/auto-libm-test-out-sqrt: Likewise.
5574         * math/auto-libm-test-out-tan: Likewise.
5575         * math/auto-libm-test-out-tanh: Likewise.
5576         * math/auto-libm-test-out-tgamma: Likewise.
5577         * math/auto-libm-test-out-y0: Likewise.
5578         * math/auto-libm-test-out-y1: Likewise.
5579         * math/auto-libm-test-out-yn: Likewise.
5581         * math/Makefile (generated): Do not include libm-test.stmp.
5582         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5583         on $(objpfx)libm-test.stmp.
5584         ($(objpfx)libm-test.stmp): Remove rule.
5585         ($(objpfx)libm-test-ulps.h): New rule.
5586         ($(objpfx)libm-test.c): Likewise.
5587         ($(objpfx)libm-have-vector-test.h): Likewise.
5588         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5589         individual generated files, not libm-test.stmp.
5591         * math/gen-libm-test.pl ($output_dir): Remove variable.
5592         ($srcdir): Likewise.
5593         ($opt_a): New variable.
5594         ($opt_c): Likewise.
5595         ($opt_C): Likewise.
5596         ($opt_H): Likewise.
5597         (-n): Make option take argument and use it as NewUlps output.
5598         (-a): New option.  Use its argument for auto-libm-test-out input.
5599         (-c): New option.  Use its argument for libm-test.inc input.
5600         (-C): New option.  Use its argument for libm-test.c output.
5601         (-H): New option.  Use its argument for libm-test-ulps.h output.
5602         (top level): Only process inputs needed to generate outputs
5603         specified by command-line options.  Only generate outputs
5604         specified by command-line options.
5605         * math/README.libm-test: Update example gen-libm-test.pl command.
5606         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5607         commands.
5608         (regen-ulps): Likewise.
5610 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5612         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5613         * include/string.h (index): Remove define.
5614         (rindex): Likewise.
5615         * misc/getttyent.c (__getttyent): Rename index to strchr.
5616         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5617         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5619 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5621         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5622         * math/libm-test.inc: Move all contents, other than tests of
5623         individual functions, to libm-test-driver.c.
5624         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5625         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5626         [!FE_UPWARD] (FE_UPWARD): Likewise.
5627         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5628         (NO_EXCEPTION): Likewise.
5629         (INVALID_EXCEPTION): Likewise.
5630         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5631         (OVERFLOW_EXCEPTION): Likewise.
5632         (UNDERFLOW_EXCEPTION): Likewise.
5633         (INEXACT_EXCEPTION): Likewise.
5634         (INVALID_EXCEPTION_OK): Likewise.
5635         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5636         (OVERFLOW_EXCEPTION_OK): Likewise.
5637         (UNDERFLOW_EXCEPTION_OK): Likewise.
5638         (NO_INEXACT_EXCEPTION): Likewise.
5639         (EXCEPTIONS_OK): Likewise.
5640         (IGNORE_ZERO_INF_SIGN): Likewise.
5641         (TEST_NAN_SIGN): Likewise.
5642         (TEST_NAN_PAYLOAD): Likewise.
5643         (NO_TEST_INLINE): Likewise.
5644         (XFAIL_TEST): Likewise.
5645         (ERRNO_UNCHANGED): Likewise.
5646         (ERRNO_EDOM): Likewise.
5647         (ERRNO_ERANGE): Likewise.
5648         (IGNORE_RESULT): Likewise.
5649         (NON_FINITE): Likewise.
5650         (TEST_SNAN): Likewise.
5651         (NO_TEST_MATHVEC): Likewise.
5652         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5653         (__CONCATX): Likewise.
5654         (TYPE_MIN): Likewise.
5655         (TYPE_TRUE_MIN): Likewise.
5656         (TYPE_MAX): Likewise.
5657         (MIN_EXP): Likewise.
5658         (MAX_EXP): Likewise.
5659         (MANT_DIG): Likewise.
5660         (FSTR_MAX): Likewise.
5661         (ULP_IDX): Likewise.
5662         (QTYPE_STR): Likewise.
5663         (TEST_COND_binary32): Likewise.
5664         (TEST_COND_binary64): Likewise.
5665         (TEST_COND_binary128): Likewise.
5666         (TEST_COND_ibm128): Likewise.
5667         (TEST_COND_intel96): Likewise.
5668         (TEST_COND_m68k96): Likewise.
5669         (TEST_COND_ibm128_libgcc): Likewise.
5670         (XFAIL_IBM128_LIBGCC): Likewise.
5671         (PAYLOAD_DIG): Likewise.
5672         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5673         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5674         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5675         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5676         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5677         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5678         (TEST_COND_long32): Likewise.
5679         (TEST_COND_long64): Likewise.
5680         (TEST_COND_before_rounding): Likewise.
5681         (TEST_COND_after_rounding): Likewise.
5682         (lit_pi_3_m_4_d): Likewise.
5683         (lit_pi_3_m_4_ln10_m_d): Likewise.
5684         (lit_pi_2_ln10_m_d): Likewise.
5685         (lit_pi_4_ln10_m_d): Likewise.
5686         (lit_pi_ln10_d): Likewise.
5687         (lit_pi_2_d): Likewise.
5688         (lit_pi_4_d): Likewise.
5689         (lit_pi): Likewise.
5690         (lit_e): Likewise.
5691         (ulps_file_name): Likewise.
5692         (ulps_file): Likewise.
5693         (output_ulps): Likewise.
5694         (output_dir): Likewise.
5695         (noErrors): Likewise.
5696         (noTests): Likewise.
5697         (noExcTests): Likewise.
5698         (noErrnoTests): Likewise.
5699         (verbose): Likewise.
5700         (output_max_error): Likewise.
5701         (output_points): Likewise.
5702         (ignore_max_ulp): Likewise.
5703         (plus_zero): Likewise.
5704         (minus_zero): Likewise.
5705         (plus_infty): Likewise.
5706         (minus_infty): Likewise.
5707         (qnan_value_pl): Likewise.
5708         (qnan_value): Likewise.
5709         (snan_value_pl): Likewise.
5710         (snan_value): Likewise.
5711         (max_value): Likewise.
5712         (min_value): Likewise.
5713         (min_subnorm_value): Likewise.
5714         (snan_value_ld): Likewise.
5715         (max_error): Likewise.
5716         (real_max_error): Likewise.
5717         (imag_max_error): Likewise.
5718         (prev_max_error): Likewise.
5719         (prev_real_max_error): Likewise.
5720         (prev_imag_max_error): Likewise.
5721         (max_valid_error): Likewise.
5722         (TYPE_DECIMAL_DIG): Likewise.
5723         (TYPE_HEX_DIG): Likewise.
5724         (fmt_ftostr): Likewise.
5725         (compare_ulp_data): Likewise.
5726         (find_ulps): Likewise.
5727         (init_max_error): Likewise.
5728         (set_max_error): Likewise.
5729         (print_float): Likewise.
5730         (print_screen): Likewise.
5731         (print_screen_max_error): Likewise.
5732         (update_stats): Likewise.
5733         (print_function_ulps): Likewise.
5734         (print_complex_function_ulps): Likewise.
5735         (fpstack_test): Likewise.
5736         (print_max_error): Likewise.
5737         (print_complex_max_error): Likewise.
5738         (test_single_exception): Likewise.
5739         (test_exceptions): Likewise.
5740         (test_single_errno): Likewise.
5741         (test_errno): Likewise.
5742         (ULPDIFF): Likewise.
5743         (ulp): Likewise.
5744         (check_float_internal): Likewise.
5745         (check_float): Likewise.
5746         (check_complex): Likewise.
5747         (check_int): Likewise.
5748         (check_long): Likewise.
5749         (check_bool): Likewise.
5750         (check_longlong): Likewise.
5751         (check_intmax_t): Likewise.
5752         (check_uintmax_t): Likewise.
5753         (enable_test): Likewise.
5754         (struct test_f_f_data): Likewise.
5755         (struct test_ff_f_data): Likewise.
5756         (struct test_fj_f_data): Likewise.
5757         (struct test_fi_f_data): Likewise.
5758         (struct test_fl_f_data): Likewise.
5759         (struct test_if_f_data): Likewise.
5760         (struct test_fff_f_data): Likewise.
5761         (struct test_fiu_M_data): Likewise.
5762         (struct test_fiu_U_data): Likewise.
5763         (struct test_c_f_data): Likewise.
5764         (struct test_f_f1_data): Likewise.
5765         (struct test_fF_f1_data): Likewise.
5766         (struct test_ffI_f1_data): Likewise.
5767         (struct test_c_c_data): Likewise.
5768         (struct test_cc_c_data): Likewise.
5769         (struct test_f_i_data): Likewise.
5770         (struct test_ff_i_data): Likewise.
5771         (struct test_f_l_data): Likewise.
5772         (struct test_f_L_data): Likewise.
5773         (struct test_fFF_11_data): Likewise.
5774         (struct test_Ff_b1_data): Likewise.
5775         (IF_ROUND_INIT_): Likewise.
5776         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5777         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5778         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5779         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5780         (ROUND_RESTORE_): Likewise.
5781         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5782         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5783         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5784         (ROUND_RESTORE_FE_UPWARD): Likewise.
5785         (RM_): Likewise.
5786         (RM_FE_DOWNWARD): Likewise.
5787         (RM_FE_TONEAREST): Likewise.
5788         (RM_FE_TOWARDZERO): Likewise.
5789         (RM_FE_UPWARD): Likewise.
5790         (COMMON_TEST_SETUP): Likewise.
5791         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5792         (COMMON_TEST_CLEANUP): Likewise.
5793         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5794         (RUN_TEST_f_f): Likewise.
5795         (RUN_TEST_LOOP_f_f): Likewise.
5796         (RUN_TEST_fp_f): Likewise.
5797         (RUN_TEST_LOOP_fp_f): Likewise.
5798         (RUN_TEST_2_f): Likewise.
5799         (RUN_TEST_LOOP_2_f): Likewise.
5800         (RUN_TEST_ff_f): Likewise.
5801         (RUN_TEST_LOOP_ff_f): Likewise.
5802         (RUN_TEST_LOOP_fj_f): Likewise.
5803         (RUN_TEST_fi_f): Likewise.
5804         (RUN_TEST_LOOP_fi_f): Likewise.
5805         (RUN_TEST_fl_f): Likewise.
5806         (RUN_TEST_LOOP_fl_f): Likewise.
5807         (RUN_TEST_if_f): Likewise.
5808         (RUN_TEST_LOOP_if_f): Likewise.
5809         (RUN_TEST_fff_f): Likewise.
5810         (RUN_TEST_LOOP_fff_f): Likewise.
5811         (RUN_TEST_fiu_M): Likewise.
5812         (RUN_TEST_LOOP_fiu_M): Likewise.
5813         (RUN_TEST_fiu_U): Likewise.
5814         (RUN_TEST_LOOP_fiu_U): Likewise.
5815         (RUN_TEST_c_f): Likewise.
5816         (RUN_TEST_LOOP_c_f): Likewise.
5817         (RUN_TEST_f_f1): Likewise.
5818         (RUN_TEST_LOOP_f_f1): Likewise.
5819         (RUN_TEST_fF_f1): Likewise.
5820         (RUN_TEST_LOOP_fF_f1): Likewise.
5821         (RUN_TEST_fI_f1): Likewise.
5822         (RUN_TEST_LOOP_fI_f1): Likewise.
5823         (RUN_TEST_ffI_f1_mod8): Likewise.
5824         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5825         (RUN_TEST_Ff_b1): Likewise.
5826         (RUN_TEST_LOOP_Ff_b1): Likewise.
5827         (RUN_TEST_Ffp_b1): Likewise.
5828         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5829         (RUN_TEST_c_c): Likewise.
5830         (RUN_TEST_LOOP_c_c): Likewise.
5831         (RUN_TEST_cc_c): Likewise.
5832         (RUN_TEST_LOOP_cc_c): Likewise.
5833         (RUN_TEST_f_i): Likewise.
5834         (RUN_TEST_LOOP_f_i): Likewise.
5835         (RUN_TEST_f_i_tg): Likewise.
5836         (RUN_TEST_LOOP_f_i_tg): Likewise.
5837         (RUN_TEST_ff_b): Likewise.
5838         (RUN_TEST_LOOP_ff_b): Likewise.
5839         (RUN_TEST_ff_i_tg): Likewise.
5840         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5841         (RUN_TEST_f_b): Likewise.
5842         (RUN_TEST_LOOP_f_b): Likewise.
5843         (RUN_TEST_f_b_tg): Likewise.
5844         (RUN_TEST_LOOP_f_b_tg): Likewise.
5845         (RUN_TEST_f_l): Likewise.
5846         (RUN_TEST_LOOP_f_l): Likewise.
5847         (RUN_TEST_f_L): Likewise.
5848         (RUN_TEST_LOOP_f_L): Likewise.
5849         (RUN_TEST_fFF_11): Likewise.
5850         (RUN_TEST_LOOP_fFF_11): Likewise.
5851         (VEC_SUFF): Likewise.
5852         (STR_CONCAT): Likewise.
5853         (STR_CON3): Likewise.
5854         (HAVE_VECTOR): Likewise.
5855         (START): Likewise.
5856         (END): Likewise.
5857         (END_COMPLEX): Likewise.
5858         (ALL_RM_TEST): Likewise.
5859         (matherr): Likewise.
5860         (initialize): Likewise.
5861         (options): Likewise.
5862         (doc): Likewise.
5863         (parse_opt): Likewise.
5864         (argp): Likewise.
5865         (check_ulp): Likewise.
5866         (main): Likewise.
5867         (do_test): New function.  Call tests of individual functions
5868         previously called from main.
5870         * math/libm-test.inc: Remove comment listing functions tested and
5871         not tested.
5873 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5875         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5876         (allocate_stack): Remove COLORING_INCREMENT usage.
5877         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5878         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5880 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5882         * manual/libm-err-tab.pl (@all_functions): Change to
5883         %all_functions.  Initialize as empty.
5884         (parse_ulps): Add to %all_functions based on functions found in
5885         ulps files.  Ignore results for non-default rounding modes and
5886         vector functions.
5887         (print_platforms): Use %all_platforms.
5888         * manual/math.texi (Errors in Math Functions): Document omissions
5889         from the table.
5891         * math/Makefile (before-compile): Remove.
5893 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5895         [BZ #21075]
5896         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5897         unused assignment.
5898         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5900 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5902         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5903         Add __glibc_unlikely hint.
5905 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5907         [BZ #16640]
5908         * sysdeps/i386/i686/strtok.S: Remove file.
5909         * sysdeps/i386/i686/strtok_r.S: Likewise.
5910         * sysdeps/i386/strtok.S: Likewise.
5911         * sysdeps/i386/strtok_r.S: Likewise.
5912         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5913         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5914         * sysdeps/x86_64/strtok.S: Likewise.
5915         * sysdeps/x86_64/strtok_r.S: Likewise.
5917         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5918         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5919         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5920         (__ASSUME_FADVISE64_AS_64_64): Define.
5921         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5922         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5923         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5924         __ALIGNMENT_ARG usage.
5925         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5926         __NR_fadvise64_64 if it is not defined.
5928 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5930         * version.h (RELEASE): Set to "development"
5931         (VERSION): Set to 2.25.90.
5932         * NEWS: Add 2.26 section.
5934         * version.h (RELEASE): Set to "stable"
5935         (VERSION): Set to 2.25.
5936         * include/features.h (__GLIBC_MINOR__): Set to 25.
5938         * manual/contrib.texi: Add more contributors from this release
5939         and past releases.
5941         * NEWS (2.25): Add list of bugs fixed.
5943         * NEWS: Add missing news items.
5945 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5947         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5948         parent if child exited in that manner.  Print WEXITSTATUS
5949         instead of the raw status.
5950         (do_test_prep): Rename to do_test.
5951         (do_test): Return the result of run_executable_sgid.
5952         (TEST_FUNCTION_ARGV): Adjust.
5954 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5955             Florian Weimer  <fweimer@redhat.com>
5956             Carlos O'Donell  <carlos@redhat.com>
5958         [BZ #20915]
5959         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5960         Do not initialize DTV.
5961         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5963 2017-02-03  David S. Miller  <davem@davemloft.net>
5965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5974         (libm-sysdep_routines): Update.
5975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5980         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5981         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5982         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5983         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5985         Likewise.
5986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5988         Likewise.
5989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5991         Likewise.
5992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5994         Likewise.
5995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5997         (libm-sysdep_routines): Update.
5999 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6002         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6003         against unrelocated shared library.
6004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6006 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6008         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6009         * elf/tst-env-setuid-tunables.c
6010         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6011         GLIBC_TUNABLES is removed in a setgid process.
6013         [BZ #21073]
6014         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6015         * elf/dl-tunables.c (tunables_strdup): Remove.
6016         (get_next_env): Also return the previous envp.
6017         (parse_tunables): Erase tunables of category
6018         TUNABLES_SECLEVEL_SXID_ERASE.
6019         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6020         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6021         (__tunables_init)[TUNABLES_FRONTEND ==
6022         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6023         after parsing.
6024         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6025         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6026         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6027         to security_level.
6028         * elf/dl-tunables.list: Add security_level annotations for all
6029         tunables.
6030         * scripts/gen-tunables.awk: Recognize and generate enum values
6031         for security_level.
6032         * elf/tst-env-setuid.c: New test case.
6033         * elf/tst-env-setuid-tunables: new test case.
6034         * elf/Makefile (tests-static): Add them.
6036 2017-02-01  Richard Henderson  <rth@twiddle.net>
6038         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6039         adjusting the byte count.
6041 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6043         * conform/Makefile (linknamespace-libs): Define.
6045         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6046         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6047         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6048         operands.
6050 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6052         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6054 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6056         [BZ #21081]
6057         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6058         (L(stosb)): Add VZEROUPPER before ret.
6060 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6061             Alexey Makhalov <amakhalov@vmware.com>
6062             Florian Weimer <fweimer@redhat.com>
6064         [BZ #20116]
6065         * nptl/pthread_create.c: Document concurrency notes.
6066         Enhance thread creation notes.
6067         (create_thread): Use bool *stopped_start.
6068         (START_THREAD_DEFN): Comment ownership of PD.
6069         (__pthread_create_2_1): Add local bool stopped_start and use
6070         that instead of pd->stopped_start where appropriate.
6071         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6072         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6073         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6074         * nptl/tst-create-detached.c: New file.
6075         * nptl/Makefile (tests): Add tst-create-detached.
6076         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6077         Reference the enhanced thread creation notes.
6078         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6079         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6080         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6081         (__pthread_current_priority): Likewise.
6082         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6083         xpthread_attr_init, xpthread_attr_setdetachstate, and
6084         xpthread_attr_setstacksize.
6085         * support/xpthread_attr_destroy.c: New file.
6086         * support/xpthread_attr_init.c: New file.
6087         * support/xpthread_attr_setdetachstate.c: New file.
6088         * support/xpthread_attr_setstacksize.c: New file.
6089         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6090         xpthread_attr_init, xpthread_attr_setdetachstate, and
6091         xpthread_attr_setstacksize.
6093 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6095         * nptl/Makefile (tests): Add tst-robust-fork.
6096         * nptl/tst-robust-fork.c: New file.
6097         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6098         xpthread_mutex_consistent, xpthread_mutex_destroy,
6099         xpthread_mutex_init, xpthread_mutexattr_destroy,
6100         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6101         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6102         xpthread_mutexattr_settype.
6103         * support/xmmap.c: New file.
6104         * support/xmunmap.c: Likewise.
6105         * support/xpthread_mutex_consistent.c: Likewise.
6106         * support/xpthread_mutex_destroy.c: Likewise.
6107         * support/xpthread_mutex_init.c: Likewise.
6108         * support/xpthread_mutexattr_destroy.c: Likewise.
6109         * support/xpthread_mutexattr_init.c: Likewise.
6110         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6111         * support/xpthread_mutexattr_setpshared.c: Likewise.
6112         * support/xpthread_mutexattr_setrobust.c: Likewise.
6113         * support/xpthread_mutexattr_settype.c: Likewise.
6114         * support/xthread.h (xpthread_mutexattr_destroy)
6115         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6116         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6117         (xpthread_mutexattr_settype, xpthread_mutex_init)
6118         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6119         * support/xunistd.h (xmmap, xmunmap): Likewise.
6121 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6123         * string/Makefile (xtests): Add comment.
6124         (LOCALES): Add en_GB.UTF-8.
6125         (tst-strcoll-overflow.out): Depend on generated locales.
6126         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6127         (SIZE, TIMEOUT): Update comments.
6128         (do_test): Define as static.  Fail test if setlocale fails.
6129         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6130         messages.
6131         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6132         TIMEOUT at 300 seconds should be enough to run this test
6133         successfully.
6135 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6137         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6138         /* FALLTHRU */ comments.
6140 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6142         [BZ #21053]
6143         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6144         constants instead of the old R* ones.
6145         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6146         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6147         (NGREG): ... to this, to fit in with other architectures.
6148         (gpregset_t): Use new NGREG macro.
6149         [__USE_GNU]: Remove condition; all architectures other than tile
6150         are unconditional.
6151         (R*): Rename to REG_R*.
6153 2017-01-20  DJ Delorie  <dj@redhat.com>
6155         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6156         (tunable_set_val_if_valid_range_signed) ... this, and ...
6157         (tunable_set_val_if_valid_range_unsigned) ... this.
6158         (tunable_initialize): Call the correct one of the above based on type.
6160 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6162         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6163         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6164         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6165         * sysdeps/microblaze/libm-test-ulps: Likewise.
6166         * sysdeps/sh/libm-test-ulps: Likewise.
6168         * math/README.libm-test: Update list of characters for input and
6169         output types.
6171 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6173         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6174         (__lll_unlock_elision): Fix adapt_count decrement.
6176 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6178         * README.pretty-printers (Known issues): Warn about printers not
6179         always covering everything.
6180         * nptl/nptl-printers.py (MutexPrinter): Change output.
6181         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6183 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6185         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6186         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6187         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6188         (__lll_lock_elision): Do not test futex before starting a
6189         transaction.  Use __glibc_likely instead of __builtin_expect.
6190         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6191         (__lll_trylock_elision): Do not test futex before starting a
6192         transaction.  Use __glibc_likely instead of __builtin_expect.
6194 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6196         * po/Makefile (update-translations): New target.
6198 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6200         [BZ #21061]
6201         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6203 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6205         * elf/dl-tunables (get_next_env): Always advance envp.
6206         * stdlib/tst-empty-env.c: New test case.
6207         * stdlib/Makefile (tests): Use it.
6209 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6211         [BZ #21047]
6212         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6213         name for instruction.
6214         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6216 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6218         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6219         for make install.
6221 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6223         * po/bg.po: Merge from Translation Project.
6224         * po/fr.po: Likewise.
6225         * po/ko.po: Likewise.
6226         * po/nl.po: Likewise.
6227         * po/sv.po: Likewise.
6229 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6231         * manual/install.texi (Tools for Compilation): Update GCC version
6232         known to work to build glibc.
6233         * INSTALL: Regenerated.
6235 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6237         [BZ #21006]
6238         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6240 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6242         [BZ #21045]
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6244         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6245         to __sigprocmask.
6247 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6249         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6250         wrap-around.
6251         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6253         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6255 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6257         * NEWS: Fix typo.
6259 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6261         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6262         barriers and comments.
6263         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6264         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6265         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6267 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6269         [BZ #19402]
6270         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6271         mutexes.
6273 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6275         [BZ #20985]
6276         * nptl/Makefile: Adapt.
6277         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6278         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6279         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6280         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6281         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6282         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6283         lll_robust* functions and adapt.
6284         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6285         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6286         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6287         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6288         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6289         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6291         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6292         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6293         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6294         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6295         * nptl/lowlevelrobustlock.c: Remove file.
6296         * nptl/lowlevelrobustlock.sym: Likewise.
6297         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6298         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6300 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6302         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6304 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6306         * po/cs.po: Merge translations from the Translation Project.
6307         * po/de.po: Likewise.
6308         * po/pl.po: Likewise.
6309         * po/ru.po: Likewise.
6310         * po/tr.po: Likewise.
6311         * po/uk.po: Likewise.
6312         * po/vi.po: Likewise.
6313         * po/zh_CN.po: Likewise.
6315 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6317         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6319         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6320         object.
6322 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6324         [BZ #16458]
6325         * bits/uintn-identity.h: New file.
6326         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6327         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6328         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6329         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6330         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6331         * string/endian.h: Include <bits/uintn-identity.h>.
6332         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6333         __uint16_identity.
6334         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6335         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6336         __uint32_identity.
6337         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6338         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6339         __uint64_identity.
6340         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6341         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6342         __uint16_identity.
6343         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6344         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6345         __uint32_identity.
6346         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6347         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6348         __uint64_identity.
6349         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6350         * string/Makefile (headers): Add bits/uintn-identity.h.
6351         (tests): Add test-endian-types.
6352         * string/test-endian-types.c: New file.
6353         * inet/Makefile (tests): Add test-hnto-types.
6354         * inet/test-hnto-types.c: New file.
6356 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6358         * po/be.po: Update from Translation Project.
6359         * po/bg.po: Likewise.
6360         * po/ca.po: Likewise.
6361         * po/cs.po: Likewise.
6362         * po/da.po: Likewise.
6363         * po/de.po: Likewise.
6364         * po/el.po: Likewise.
6365         * po/eo.po: Likewise.
6366         * po/es.po: Likewise.
6367         * po/fi.po: Likewise.
6368         * po/fr.po: Likewise.
6369         * po/gl.po: Likewise.
6370         * po/hr.po: Likewise.
6371         * po/hu.po: Likewise.
6372         * po/ia.po: Likewise.
6373         * po/id.po: Likewise.
6374         * po/it.po: Likewise.
6375         * po/ja.po: Likewise.
6376         * po/ko.po: Likewise.
6377         * po/lt.po: Likewise.
6378         * po/nb.po: Likewise.
6379         * po/nl.po: Likewise.
6380         * po/pl.po: Likewise.
6381         * po/pt_BR.po: Likewise.
6382         * po/ru.po: Likewise.
6383         * po/rw.po: Likewise.
6384         * po/sk.po: Likewise.
6385         * po/sl.po: Likewise.
6386         * po/sv.po: Likewise.
6387         * po/tr.po: Likewise.
6388         * po/uk.po: Likewise.
6389         * po/vi.po: Likewise.
6390         * po/zh_CN.po: Likewise.
6391         * po/zh_TW.po: Likewise.
6393 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6395         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6396         -Wformat-truncation instead of -Wformat-length.
6397         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6398         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6399         GCC 7.
6400         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6401         (do_test): Ignore -Wformat-truncation for GCC 7.
6403         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6404         buffer used to print long int value.
6406         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6407         one byte.  Print it with %ld, cast to long int.
6409 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6411         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6412         (re.fullmatch, subprocess.run): Likewise.
6414 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6416         * po/libc.pot: Regenerate.
6418 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6420         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6421         (min_strlen): Likewise.
6422         (disable_tunable): Likewise.
6423         (maybe_disable_malloc_check): Rename to
6424         maybe_enable_malloc_check.
6425         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6426         if /etc/suid-debug file exists.
6427         (__tunables_init): Update caller.
6428         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6429         secure.
6431 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6433         * nptl/DESIGN-rwlock.txt: Remove.
6434         * nptl/lowlevelrwlock.sym: Remove.
6435         * nptl/Makefile: Add new tests.
6436         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6437         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6438         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6439         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6440         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6441         PTHREAD_RWLOCK_FUTEX_USED): New.
6442         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6443         implementation.
6444         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6445         (__pthread_rwlock_rdlock): Adapt.
6446         * nptl/pthread_rwlock_timedrdlock.c
6447         (pthread_rwlock_timedrdlock): Adapt.
6448         * nptl/pthread_rwlock_timedwrlock.c
6449         (pthread_rwlock_timedwrlock): Adapt.
6450         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6451         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6452         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6453         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6454         (__pthread_rwlock_wrlock): Adapt.
6455         * nptl/tst-rwlock10.c: Adapt.
6456         * nptl/tst-rwlock11.c: Adapt.
6457         * nptl/tst-rwlock17.c: New file.
6458         * nptl/tst-rwlock18.c: New file.
6459         * nptl/tst-rwlock19.c: New file.
6460         * nptl/tst-rwlock2b.c: New file.
6461         * nptl/tst-rwlock8.c: Adapt.
6462         * nptl/tst-rwlock9.c: Adapt.
6463         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6464         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6465         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6466         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6467         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6468         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6469         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6470         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6471         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6472         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6473         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6474         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6475         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6476         (pthread_rwlock_t): Adapt.
6477         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6478         (pthread_rwlock_t): Adapt.
6479         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6480         * nptl/nptl-printers.py (): Adapt.
6481         * nptl/nptl_lock_constants.pysym: Adapt.
6482         * nptl/test-rwlock-printers.py: Adapt.
6483         * nptl/test-rwlockattr-printers.c: Adapt.
6484         * nptl/test-rwlockattr-printers.py: Adapt.
6486 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
6488         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6489         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6490         (fma_test_data): Likewise.
6491         (hypot_test_data): Likewise.
6492         (log1p_test_data): Likewise.
6493         (modf_test_data): Likewise.
6494         (pow_test_data): Likewise.
6495         (remainder_test_data): Likewise.
6496         (remquo_test_data): Likewise.
6497         (scalb_test_data): Likewise.
6498         (scalbn_test_data): Likewise.
6499         (scalbln_test_data): Likewise.
6500         * math/gen-libm-test.pl (parse_args): Transform
6501         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6502         on the rounding mode.
6504 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
6506         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6507         xfail-rounding:ibm128-libgcc automatically to tests overflowing
6508         and those that can underflow to zero.
6509         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6510         add others.
6511         * math/auto-libm-test-out: Regenerated.
6513         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6514         supported.
6515         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6516         modes support if not supported.
6518         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6519         Add libc.so PLT entry.
6520         (__tls_get_addr): Make ld.so PLT entry optional.
6522 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6524         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6525         * string/bits/string3.h: ... here.
6527 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6529         [BZ #21028]
6530         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6531         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6532         if EXCEPTION_TESTS returns false.
6534 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6536         [BZ #20558]
6537         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6538         strings_fortified.h.
6539         [__USE_MISC] (bzero): Likewise.
6540         [__USE_MISC] (explicit_bzero): Likewise.
6541         * string/strings.h: Include strings_fortified.h.
6542         * string/Makefile (headers): Add strings_fortified.h.
6543         * string/bits/strings_fortified.h: New file.
6544         * include/bits/strings_fortified.h: Likewise.
6546 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6548         * elf/tst-tls13.c (TIMEOUT): Remove.
6549         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6550         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6551         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6552         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6553         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6555         [BZ #21026]
6556         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6557         (readahead): New syscall entry.
6559 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6561         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6562         around tests of strncat with large sizes.
6564         * malloc/tst-malloc.c: Include <libc-internal.h>.
6565         (do_test): Disable -Walloc-size-larger-than= around tests of
6566         malloc with negative sizes.
6567         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6568         (do_test): Disable -Walloc-size-larger-than= around tests of
6569         malloc and realloc with negative sizes.
6570         * malloc/tst-realloc.c: Include <libc-internal.h>.
6571         (do_test): Disable -Walloc-size-larger-than= around tests of
6572         realloc with negative sizes.
6574         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6575         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6576         allowed to 16 ulps.
6577         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6578         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6579         * math/auto-libm-test-out: Regenerated.
6581 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6583         * math/Makefile (libm-calls): Move wrappers...
6584         (libm-compat-call-auto): Here.
6585         (libm-routines): Add items in libm-compat-calls-auto.
6586         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6587         the filenames of the wrappers that have been renamed.
6588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6591         * math/w_acos.c: Add _compat suffix to filename.
6592         * math/w_acosf.c: Likewise.
6593         * math/w_acosh.c: Likewise.
6594         * math/w_acoshf.c: Likewise.
6595         * math/w_acoshl.c: Likewise.
6596         * math/w_acosl.c: Likewise.
6597         * math/w_asin.c: Likewise.
6598         * math/w_asinf.c: Likewise.
6599         * math/w_asinl.c: Likewise.
6600         * math/w_atan2.c: Likewise.
6601         * math/w_atan2f.c: Likewise.
6602         * math/w_atan2l.c: Likewise.
6603         * math/w_atanh.c: Likewise.
6604         * math/w_atanhf.c: Likewise.
6605         * math/w_atanhl.c: Likewise.
6606         * math/w_cosh.c: Likewise.
6607         * math/w_coshf.c: Likewise.
6608         * math/w_coshl.c: Likewise.
6609         * math/w_exp10.c: Likewise.
6610         * math/w_exp10f.c: Likewise.
6611         * math/w_exp10l.c: Likewise.
6612         * math/w_exp2.c: Likewise.
6613         * math/w_exp2f.c: Likewise.
6614         * math/w_exp2l.c: Likewise.
6615         * math/w_fmod.c: Likewise.
6616         * math/w_fmodf.c: Likewise.
6617         * math/w_fmodl.c: Likewise.
6618         * math/w_hypot.c: Likewise.
6619         * math/w_hypotf.c: Likewise.
6620         * math/w_hypotl.c: Likewise.
6621         * math/w_j0.c: Likewise.
6622         * math/w_j0f.c: Likewise.
6623         * math/w_j0l.c: Likewise.
6624         * math/w_j1.c: Likewise.
6625         * math/w_j1f.c: Likewise.
6626         * math/w_j1l.c: Likewise.
6627         * math/w_jn.c: Likewise.
6628         * math/w_jnf.c: Likewise.
6629         * math/w_jnl.c: Likewise.
6630         * math/w_log10.c: Likewise.
6631         * math/w_log10f.c: Likewise.
6632         * math/w_log10l.c: Likewise.
6633         * math/w_log2.c: Likewise.
6634         * math/w_log2f.c: Likewise.
6635         * math/w_log2l.c: Likewise.
6636         * math/w_log.c: Likewise.
6637         * math/w_logf.c: Likewise.
6638         * math/w_logl.c: Likewise.
6639         * math/w_pow.c: Likewise.
6640         * math/w_powf.c: Likewise.
6641         * math/w_powl.c: Likewise.
6642         * math/w_remainder.c: Likewise.
6643         * math/w_remainderf.c: Likewise.
6644         * math/w_remainderl.c: Likewise.
6645         * math/w_scalb.c: Likewise.
6646         * math/w_scalbf.c: Likewise.
6647         * math/w_scalbl.c: Likewise.
6648         * math/w_sinh.c: Likewise.
6649         * math/w_sinhf.c: Likewise.
6650         * math/w_sinhl.c: Likewise.
6651         * math/w_sqrt.c: Likewise.
6652         * math/w_sqrtf.c: Likewise.
6653         * math/w_sqrtl.c: Likewise.
6654         * math/w_tgamma.c: Likewise.
6655         * math/w_tgammaf.c: Likewise.
6656         * math/w_tgammal.c: Likewise.
6658         * math/w_acos_compat.c: New file copied from above and
6659         adjusted for new #includes path
6660         * math/w_acosf_compat.c: Likewise.
6661         * math/w_acosh_compat.c: Likewise.
6662         * math/w_acoshf_compat.c: Likewise.
6663         * math/w_acoshl_compat.c: Likewise.
6664         * math/w_acosl_compat.c: Likewise.
6665         * math/w_asin_compat.c: Likewise.
6666         * math/w_asinf_compat.c: Likewise.
6667         * math/w_asinl_compat.c: Likewise.
6668         * math/w_atan2_compat.c: Likewise.
6669         * math/w_atan2f_compat.c: Likewise.
6670         * math/w_atan2l_compat.c: Likewise.
6671         * math/w_atanh_compat.c: Likewise.
6672         * math/w_atanhf_compat.c: Likewise.
6673         * math/w_atanhl_compat.c: Likewise.
6674         * math/w_cosh_compat.c: Likewise.
6675         * math/w_coshf_compat.c: Likewise.
6676         * math/w_coshl_compat.c: Likewise.
6677         * math/w_exp10_compat.c: Likewise.
6678         * math/w_exp10f_compat.c: Likewise.
6679         * math/w_exp10l_compat.c: Likewise.
6680         * math/w_exp2_compat.c: Likewise.
6681         * math/w_exp2f_compat.c: Likewise.
6682         * math/w_exp2l_compat.c: Likewise.
6683         * math/w_fmod_compat.c: Likewise.
6684         * math/w_fmodf_compat.c: Likewise.
6685         * math/w_fmodl_compat.c: Likewise.
6686         * math/w_hypot_compat.c: Likewise.
6687         * math/w_hypotf_compat.c: Likewise.
6688         * math/w_hypotl_compat.c: Likewise.
6689         * math/w_j0_compat.c: Likewise.
6690         * math/w_j0f_compat.c: Likewise.
6691         * math/w_j0l_compat.c: Likewise.
6692         * math/w_j1_compat.c: Likewise.
6693         * math/w_j1f_compat.c: Likewise.
6694         * math/w_j1l_compat.c: Likewise.
6695         * math/w_jn_compat.c: Likewise.
6696         * math/w_jnf_compat.c: Likewise.
6697         * math/w_jnl_compat.c: Likewise.
6698         * math/w_log10_compat.c: Likewise.
6699         * math/w_log10f_compat.c: Likewise.
6700         * math/w_log10l_compat.c: Likewise.
6701         * math/w_log2_compat.c: Likewise.
6702         * math/w_log2f_compat.c: Likewise.
6703         * math/w_log2l_compat.c: Likewise.
6704         * math/w_log_compat.c: Likewise.
6705         * math/w_logf_compat.c: Likewise.
6706         * math/w_logl_compat.c: Likewise.
6707         * math/w_pow_compat.c: Likewise.
6708         * math/w_powf_compat.c: Likewise.
6709         * math/w_powl_compat.c: Likewise.
6710         * math/w_remainder_compat.c: Likewise.
6711         * math/w_remainderf_compat.c: Likewise.
6712         * math/w_remainderl_compat.c: Likewise.
6713         * math/w_scalb_compat.c: Likewise.
6714         * math/w_scalbf_compat.c: Likewise.
6715         * math/w_scalbl_compat.c: Likewise.
6716         * math/w_sinh_compat.c: Likewise.
6717         * math/w_sinhf_compat.c: Likewise.
6718         * math/w_sinhl_compat.c: Likewise.
6719         * math/w_sqrt_compat.c: Likewise.
6720         * math/w_sqrtf_compat.c: Likewise.
6721         * math/w_sqrtl_compat.c: Likewise.
6722         * math/w_tgamma_compat.c: Likewise.
6723         * math/w_tgammaf_compat.c: Likewise.
6724         * math/w_tgammal_compat.c: Likewise.
6726         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6727         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6728         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6729         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6730         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6731         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6732         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6733         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6734         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6735         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6736         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6737         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6738         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6739         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6740         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6741         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6742         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6743         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6744         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6745         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6746         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6747         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6748         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6749         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6750         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6751         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6752         * sysdeps/ia64/fpu/w_log.c: Likewise.
6753         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6754         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6755         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6756         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6757         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6758         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6759         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6760         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6761         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6762         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6763         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6764         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6765         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6766         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6767         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6768         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6769         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6770         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6771         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6772         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6773         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6774         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6775         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6776         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6777         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6778         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6779         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6780         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6781         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6782         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6783         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6784         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6785         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6786         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6787         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6788         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6789         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6790         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6791         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6792         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6793         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6794         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6795         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6796         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6797         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6798         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6799         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6800         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6801         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6802         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6803         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6804         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6805         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6806         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6807         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6808         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6809         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6810         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6811         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6812         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6813         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6815         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6817         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6819         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6821         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6823         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6825         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6827         Likewise.
6828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6829         Likewise.
6830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6832         Likewise.
6833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6834         Likewise.
6835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6836         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6837         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6838         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6839         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6840         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6841         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6846         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6847         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6848         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6849         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6851         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6852         and adjusted for new #includes path
6853         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6854         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6855         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6856         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6857         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6858         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6859         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6860         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6861         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6862         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6863         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6864         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6865         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6866         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6867         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6868         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6869         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6870         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6871         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6872         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6873         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6874         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6875         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6876         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6877         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6878         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6879         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6880         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6881         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6882         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6883         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6884         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6885         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6886         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6887         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6888         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6889         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6890         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6891         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6892         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6893         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6894         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6895         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6896         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6897         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6898         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6899         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6900         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6901         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6902         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6903         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6904         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6905         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6906         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6907         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6908         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6909         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6910         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6911         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6912         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6913         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6914         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6915         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6916         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6917         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6918         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6919         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6920         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6921         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6922         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6923         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6924         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6925         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6926         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6927         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6928         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6929         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6930         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6931         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6932         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6933         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6934         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6935         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6936         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6937         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6938         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6939         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6940         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6941         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6942         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6943         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6944         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6945         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6946         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6947         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6948         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6949         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6950         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6951         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6953         Likewise.
6954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6955         Likewise.
6956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6957         Likewise.
6958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6959         Likewise.
6960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6961         Likewise.
6962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6963         Likewise.
6964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6965         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6968         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6969         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6971         Likewise.
6972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6973         Likewise.
6974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6975         Likewise.
6976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6977         Likewise.
6978         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6979         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6980         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6981         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6983 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6985         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6986         __jmp_buf_internal_tag.
6988         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6989         preserve NaN payload if [__mips_nan2008].
6990         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6992         [BZ #21022]
6993         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6995 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6997         * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7001         * sysdeps/ia64/strcat.c: Remove file.
7002         * sysdeps/powerpc/strcat.c: Likewise.
7003         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7004         C implementation.
7005         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7006         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7008 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7009             Steven Munroe  <sjmunroe@us.ibm.com>
7010             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7012         [BZ #20822]
7013         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7014         (__lll_lock_elision): Access adapt_count via C11 atomics.
7015         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7016         (__lll_trylock_elision): Likewise.
7017         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7018         (__lll_unlock_elision):  Update adapt_count variable inside the
7019         critical section using C11 atomics.
7021 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7023         * math/test-fenvinline.c (do_test): Disable tests of raised
7024         exceptions if !EXCEPTION_TESTS (FLOAT).
7026 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7028         [BZ #19390]
7029         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7030         maximum string size.
7031         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7032         in pointer addition.
7033         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7034         Likewise.
7036 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7038         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7039         passed to tst-ldconfig-X.sh.
7041 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7043         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7045 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7047         [BZ #21019]
7048         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7049         New syscall entry.
7050         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7051         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7052         lseek.
7054         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7055         power4 glibc for powerpc-linux-gnu.
7057 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7059         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7060         semctl.
7062 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7064         * math/test-nearbyint-except.c: Include <stdbool.h>.
7065         (any_supported): New variable.
7066         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7067         set any_supported.
7068         (do_test): Return 77 if no floating-point type supported
7069         exceptions.
7071         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7072         condition on [__mips_hard_float].
7074 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7076         [BZ #21014]
7077         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7078         in pointer addition.
7079         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7081 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7083         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7084         new condvar.
7086 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7088         * scripts/build-many-glibcs.py (Context.checkout): Default
7089         binutils version to 2.28 branch.
7091 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7093         * support/support_format_netent.c (support_format_netent): Work
7094         around alpha struct netent definition difference.
7096 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7098         * support/xwrite.c (xwrite): Use %td for pointer difference.
7100 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7102         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7103         have-tunables only.
7104         (tests-static): Add tst-malloc-usable-static-tunables for
7105         have-tunables only.
7107 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7109         * scripts/config.guess: Update to version 2017-01-01.
7110         * scripts/config.sub: Update to version 2017-01-01.
7112         * NEWS: Update copyright dates.
7113         * catgets/gencat.c (print_version): Likewise.
7114         * csu/version.c (banner): Likewise.
7115         * debug/catchsegv.sh: Likewise.
7116         * debug/pcprofiledump.c (print_version): Likewise.
7117         * debug/xtrace.sh (do_version): Likewise.
7118         * elf/ldconfig.c (print_version): Likewise.
7119         * elf/ldd.bash.in: Likewise.
7120         * elf/pldd.c (print_version): Likewise.
7121         * elf/sotruss.sh: Likewise.
7122         * elf/sprof.c (print_version): Likewise.
7123         * iconv/iconv_prog.c (print_version): Likewise.
7124         * iconv/iconvconfig.c (print_version): Likewise.
7125         * locale/programs/locale.c (print_version): Likewise.
7126         * locale/programs/localedef.c (print_version): Likewise.
7127         * login/programs/pt_chown.c (print_version): Likewise.
7128         * malloc/memusage.sh (do_version): Likewise.
7129         * malloc/memusagestat.c (print_version): Likewise.
7130         * malloc/mtrace.pl: Likewise.
7131         * manual/libc.texinfo: Likewise.
7132         * nptl/version.c (banner): Likewise.
7133         * nscd/nscd.c (print_version): Likewise.
7134         * nss/getent.c (print_version): Likewise.
7135         * nss/makedb.c (print_version): Likewise.
7136         * posix/getconf.c (main): Likewise.
7137         * scripts/test-installation.pl: Likewise.
7138         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7140         * All files with FSF copyright notices: Update copyright dates
7141         using scripts/update-copyrights.
7142         * intl/plural.c: Regenerated.
7143         * locale/programs/charmap-kw.h: Likewise.
7144         * locale/programs/locfile-kw.h: Likewise.
7146 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7148         [BZ #20593]
7149         Update DNS RR type definitions.
7150         * scripts/gen-rrtypes.py: New file.
7151         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7152         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7153         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7154         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7155         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7156         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7157         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7158         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7159         ns_t_ta, ns_t_dlv.
7160         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7161         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7162         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7163         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7164         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7165         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7166         Define.
7167         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7168         entry for ns_t_zxfr.
7170 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7172         [BZ #18784]
7173         CVE-2015-5180
7174         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7175         T_UNSPEC.  Adjust value.
7176         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7177         * resolv/res_query.c (__libc_res_nquery): Likewise.
7178         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7179         QTYPEs.
7180         * resolv/tst-resolv-qtypes.c: New file.
7181         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7182         (tst-resolv-qtypes): Link against libresolv and libpthread.
7184 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7186         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7188 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7190         * manual/tunables.texi: New chapter.
7191         * manual/Makefile (chapters): Add it.
7192         * manual/probes.texi (@node): Point to the Tunables chapter.
7194         * Makeconfig (have-tunables): Check for non-negative instead
7195         of positive.
7196         * configure.ac: Add 'valstring' as a valid value for
7197         --enable-tunables.
7198         * configure: Regenerate.
7199         * elf/Makefile (have-tunables): Check for non-negative instead
7200         of positive.
7201         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7202         dl-tunables.c.
7203         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7204         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7205         (tunables_strdup): Likewise.
7206         (disable_tunables): Likewise.
7207         (parse_tunables): Likewise.
7208         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7209         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7210         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7211         (TUNABLES_FRONTEND_yes): New macro, define as
7212         TUNABLES_FRONTEND_valstring by default.
7213         * manual/install.texi: Document new acceptable values for
7214         --enable-tunables.
7215         * INSTALL: Regenerate.
7217         * config.make.in (have-loop-to-function): Define.
7218         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7219         -fno-tree-loop-distribute-patterns.
7220         * elf/dl-tunables.c: Include libc-internals.h.
7221         (GLIBC_TUNABLES): New macro.
7222         (tunables_strdup): New function.
7223         (parse_tunables): New function.
7224         (min_strlen): New function.
7225         (__tunables_init): Use the new functions and macro.
7226         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7227         * malloc/tst-malloc-usable-tunables.c: New test case.
7228         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7229         * malloc/Makefile (tests, tests-static): Add tests.
7231         * manual/install.texi: Add --enable-tunables option.
7232         * INSTALL: Regenerate.
7233         * README.tunables: New file.
7234         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7235         (before-compile): Generate dl-tunable-list.h early.
7236         * config.h.in: Add HAVE_TUNABLES.
7237         * config.make.in: Add have-tunables.
7238         * configure.ac: Add --enable-tunables option.
7239         * configure: Regenerate.
7240         * csu/init-first.c (__libc_init_first): Move
7241         __libc_init_secure earlier...
7242         * csu/init-first.c (LIBC_START_MAIN):... to here.
7243         Include dl-tunables.h, libc-internal.h.
7244         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7245         binaries.
7246         * elf/Makefile (dl-routines): Add dl-tunables.
7247         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7248         namespace.
7249         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7250         only when !HAVE_TUNABLES.
7251         * elf/rtld.c (process_envvars): Likewise.
7252         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7253         (_dl_sysdep_start): Call __tunables_init.
7254         * elf/dl-tunable-types.h: New file.
7255         * elf/dl-tunables.c: New file.
7256         * elf/dl-tunables.h: New file.
7257         * elf/dl-tunables.list: New file.
7258         * malloc/tst-malloc-usable-static.c: New test case.
7259         * malloc/Makefile (tests-static): Add it.
7260         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7261         Define TUNABLE_NAMESPACE.
7262         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7263         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7264         callback functions.
7265         (ptmalloc_init): Set tunable values.
7266         * scripts/gen-tunables.awk: New file.
7267         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7268         (_dl_sysdep_start): Call __tunables_init.
7270 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7272         * resolv/resolv.h (RES_BLAST): Deprecate.
7273         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7274         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7275         to RES_BLAST.
7277 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7279         [BZ #19582]
7280         Deprecate RES_USE_INET6.
7281         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7282         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7283         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7284         RES_USE_INET6.
7285         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7286         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7287         (_nss_nisplus_gethostbyaddr_r): Likewise.
7288         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7289         of res_use_inet6.
7290         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7291         instead of RES_USE_INET6.
7292         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7293         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7294         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7295         Likewise.
7296         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7297         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7298         Likewise.
7299         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7300         (_nss_dns_gethostbyname_r): Likewise.
7301         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7302         alternate RES_USE_INET6 handling.
7303         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7304         instead of RES_USE_INET6.
7305         * resolv/res_init.c (res_setoptions): Likewise.
7306         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7307         * resolv/resolv-internal.h: New file.
7308         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7309         make the deprecation warning non-fatal.
7310         * resolv/README (Using the resolver in multi-threaded code): Drop
7311         reference to RES_USE_INET6.
7312         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7313         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7315 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7317         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7318         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7319         tst-resolv-search.
7320         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7321         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7322         with libresolv and libpthread.
7323         * resolv/tst-bug18665.c: New file.
7324         * resolv/tst-bug18665-tcp: Likewise.
7325         * resolv/tst-res_use_inet6: Likewise.
7326         * resolv/tst-resolv-basic: Likewise.
7327         * resolv/tst-resolv-network: Likewise.
7328         * resolv/tst-resolv-search: Likewise.
7329         * support/Makefile (libsupport-routines): Add check_addrinfo,
7330         check_dns_packet, check_hostent, check_netent, resolv_test,
7331         support_format_address_family, support_format_addrinfo,
7332         support_format_dns_packet, support_format_herrno,
7333         support_format_hostent, support_format_netent, support_run_diff,
7334         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7335         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7336         xstrdup, xwrite.
7337         * support/check_addrinfo.c: New file.
7338         * support/check_dns_packet.c: Likewise.
7339         * support/check_hostent.c: Likewise.
7340         * support/check_netent.c: Likewise.
7341         * support/check_nss.h: Likewise.
7342         * support/format_nss.h: Likewise.
7343         * support/resolv_test.c: Likewise.
7344         * support/resolv_test.h: Likewise.
7345         * support/run_diff.h: Likewise.
7346         * support/support_format_address_family.c: Likewise.
7347         * support/support_format_addrinfo.c: Likewise.
7348         * support/support_format_dns_packet.c: Likewise.
7349         * support/support_format_herrno.c: Likewise.
7350         * support/support_format_hostent.c: Likewise.
7351         * support/support_format_netent.c: Likewise.
7352         * support/support_run_diff.c: Likewise.
7353         * support/xaccept.c: Likewise.
7354         * support/xbind.c: Likewise.
7355         * support/xconnect.c: Likewise.
7356         * support/xfclose.c: Likewise.
7357         * support/xfopen.c: Likewise.
7358         * support/xgetsockname.c: Likewise.
7359         * support/xlisten.c: Likewise.
7360         * support/xmemstream.c: Likewise.
7361         * support/xmemstream.h: Likewise.
7362         * support/xpoll.c: Likewise.
7363         * support/xpthread_once.c: Likewise.
7364         * support/xrecvfrom.c: Likewise.
7365         * support/xsendto.c: Likewise.
7366         * support/xsetsockopt.c: Likewise.
7367         * support/xstdio.h: Likewise.
7368         * support/xstrdup.c: Likewise.
7369         * support/support.h (xstrdup): Declare.
7370         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7371         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7372         * support/xthread.h (xpthread_once): Likwise.
7373         * support/xunistd.h (xwrite): Declare.
7375 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7377         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7378         (test_verbose): Declare.
7379         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7380         * support/support_test_main.c (default_options): Likewise.
7381         (usage, support_test_main): Handle 'v'.
7382         (test_verbose): Define.
7383         * support/tst-support_record_failure.c (do_test): Use
7384         test_verbose.
7385         * support/tst-support_record_failure-2.sh (different_status): Add
7386         --verbose test.
7388 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7390         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7391         test failures are recorded.
7392         * support/check.c (support_print_failure_impl): Call
7393         support_record_failure.
7394         (support_exit_failure_impl): Call support_record_failure if status
7395         indicates failure.
7396         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7397         * support/xasprintf.c (xasprintf): Likewise.
7398         * support/xfork.c (xfork): Likewise.
7399         * support/xpthread_check_return.c (xpthread_check_return):
7400         Likewise.
7401         * support/xsocket.c (xsocket): Likeweise.
7402         * support/xwaitpid.c (xwaitpid): Likewise.
7403         * support/support_record_failure.c (struct test_failures): Adjust
7404         to coding style.
7405         * support/support_test_verify_impl.c (support_test_verify_impl):
7406         Adjust error messages.
7407         * support/tst-support_record_failure-2.sh (different_status):
7408         Adjust error messages.
7410 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7412         * support/namespace.h: New file.
7413         * support/support_become_root.c: Likewise.
7414         * support/support_enter_network_namespace.c: Likewise.
7415         * support/tst-support-namespace.c: Likewise.
7416         * support/xsocket.c: Likewise.
7417         * support/xsocket.h: Likewise.
7418         * support/Makefile (libsupport-routines): Add support_become_root,
7419         support_enter_network_namespace, xsocket.
7420         (tests): Add tst-support-namespace.
7422 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7424         [BZ #17252]
7425         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7426         __USE_GNU.
7428 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7430         [BZ #13165]
7431         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7432         use new algorithm.
7433         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7434         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7435         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7436         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7437         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7438         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7439         __condvar_cleanup_waiting, __condvar_dec_grefs,
7440         __pthread_cond_wait_common): New.
7441         (__condvar_cleanup): Remove.
7442         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7443         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7444         Likewise.
7445         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7446         Likewise.
7447         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7448         * nptl/tst-cond1.c: Add comment.
7449         * nptl/tst-cond20.c (do_test): Adapt.
7450         * nptl/tst-cond22.c (do_test): Likewise.
7451         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7452         structure.
7453         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7454         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7455         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7456         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7457         Likewise.
7458         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7459         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7460         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7461         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7462         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7463         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7466         Likewise.
7467         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7468         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7469         (COND_CLOCK_BITS): Adapt.
7470         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7471         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7472         __PTHREAD_COND_SHARED_MASK): New.
7473         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7474         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7475         * nptl/nptl_lock_constants.pysym: Adapt.
7476         * nptl/test-cond-printers.py: Adapt.
7477         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7478         cond_compat_check_and_clear): Adapt.
7479         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7481         (__pthread_cond_timedwait): ... and move here.
7482         * nptl/DESIGN-condvar.txt: Remove file.
7483         * nptl/lowlevelcond.sym: Likewise.
7484         * nptl/pthread_cond_timedwait.c: Likewise.
7485         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7486         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7487         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7488         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7489         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7490         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7491         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7492         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7493         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7495         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7496         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7499         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7500         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7502 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
7504         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7505         (fromfp): New declaration.
7506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7509         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7514         * math/math.h: Include <bits/types.h>.
7515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7516         constant and macro.
7517         (FP_INT_DOWNWARD): Likewise.
7518         (FP_INT_TOWARDZERO): Likewise.
7519         (FP_INT_TONEARESTFROMZERO): Likewise.
7520         (FP_INT_TONEAREST): Likewise.
7521         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7522         (fromfpf): Likewise.
7523         (fromfpl): Likewise.
7524         (ufromfp): Likewise.
7525         (ufromfpf): Likewise.
7526         (ufromfpl): Likewise.
7527         (fromfpx): Likewise.
7528         (fromfpxf): Likewise.
7529         (fromfpxl): Likewise.
7530         (ufromfpx): Likewise.
7531         (ufromfpxf): Likewise.
7532         (ufromfpxl): Likewise.
7533         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7534         s_fromfpxF and s_ufromfpxF.
7535         * math/gen-fromfp-tests.py: New file.
7536         * math/gen-fromfp-tests-inputs: Likewise.
7537         * math/libm-test.inc: Include <stdint.h>
7538         (check_intmax_t): New function.
7539         (check_uintmax_t): Likewise.
7540         (struct test_fiu_M_data): New type.
7541         (struct test_fiu_U_data): Likewise.
7542         (RUN_TEST_fiu_M): New macro.
7543         (RUN_TEST_LOOP_fiu_M): Likewise.
7544         (RUN_TEST_fiu_U): Likewise.
7545         (RUN_TEST_LOOP_fiu_U): Likewise.
7546         (fromfp_test_data): New array.
7547         (fromfp_test): New function.
7548         (fromfpx_test_data): New array.
7549         (fromfpx_test): New function.
7550         (ufromfp_test_data): New array.
7551         (ufromfp_test): New function.
7552         (ufromfpx_test_data): New array.
7553         (ufromfpx_test): New function.
7554         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7555         ufromfpx_test.
7556         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7557         characters.
7558         * math/test-tgmath-ret.c: Include <stdint.h>.
7559         (rm): New variable.
7560         (width): Likewise.
7561         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7562         called function.
7563         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7564         CHECK_RET_CONST_TYPE.
7565         (CHECK_RET_CONST_DOUBLE): Likewise.
7566         (CHECK_RET_CONST_LDOUBLE): Likewise.
7567         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7568         macros.
7569         (fromfp): New CHECK_RET_CONST call.
7570         (ufromfp): Likewise.
7571         (fromfpx): Likewise.
7572         (ufromfpx): Likewise.
7573         (do_test): Call check_return_fromfp, check_return_ufromfp,
7574         check_return_fromfpx and check_return_ufromfpx.
7575         * math/test-tgmath.c: Include <stdint.h>
7576         (NCALLS): Increase to 138.
7577         (F(compile_test)): Initialize i.  Call fromfp functions.
7578         (F(fromfp)): New function.
7579         (F(fromfpx)): Likewise.
7580         (F(ufromfp)): Likewise.
7581         (F(ufromfpx)): Likewise.
7582         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7583         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7584         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7585         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7586         ufromfpxl.
7587         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7588         ufromfp and ufromfpx.
7589         * math/fromfp.h: New file.
7590         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7591         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7592         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7593         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7594         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7595         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7596         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7597         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7598         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7599         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7600         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7601         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7602         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7603         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7604         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7605         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7606         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7607         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7608         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7609         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7610         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7611         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7612         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7613         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7614         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7615         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7616         ufromfp, fromfpx and ufromfpx.
7617         (CFLAGS-nldbl-fromfp.c): New variable.
7618         (CFLAGS-nldbl-fromfpx.c): Likewise.
7619         (CFLAGS-nldbl-ufromfp.c): Likewise.
7620         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7621         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7622         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7623         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7624         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7625         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7626         * sysdeps/nacl/libm.abilist: Update.
7627         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7628         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7629         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7630         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7631         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7637         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7638         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7640         Likewise.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7644         Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7646         Likewise.
7647         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7648         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7649         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7650         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7651         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7653         Likewise.
7654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7655         Likewise.
7656         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7657         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7658         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7660 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7662         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7663         compat-gethnamaddr.
7664         (CPPFLAGS): Remove.
7665         * resolv/gethnamaddr.c: Rename ...
7666         * resolv/compat-gethnamaddr.c: ... to this file.
7667         (_endhtent): Make static.
7668         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7669         symbol.
7670         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7671         compat symbol.
7672         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7673         symbol.
7674         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7675         Turn into compat symbol.
7676         * include/resolv.h (_endhtent): Remove declaration.
7678 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7680         * bits/types.h (__intmax_t): New typedef.
7681         (__uintmax_t): Likewise.
7682         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7683         (intmax_t): Define using __intmax_t.
7684         (uintmax_t): Define using __uintmax_t.
7686         * support/Makefile (tests-special): Make definition conditional on
7687         [$(run-built-tests) = yes].
7688         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7689         on [$(run-built-tests) = yes].
7691 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7693         * Rules (tests): Add tests-printers-programs to tests to be
7694         built.
7696 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7698         * sysvipc/Makefile (tests): Add test-sysvshm.
7699         * sysvipc/test-sysvshm.c: New file.
7701         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7702         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7703         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7704         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7705         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7706         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7707         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7708         Likewise.
7709         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7710         Likewise.
7711         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7712         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7713         is defined.
7715         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7716         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7717         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7718         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7719         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7720         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7721         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7722         Likewise.
7723         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7724         Likewise.
7725         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7726         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7727         defined.
7729         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7730         oldshmctl.
7731         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7732         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7733         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7734         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7735         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7736         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7740         Likewise.
7741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7742         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7743         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7744         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7745         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7746         implementation.
7747         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7748         if it is defined.
7750         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7751         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7752         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7754         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7755         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7756         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7757         Likewise.
7758         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7759         Likewise.
7760         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7762         Define to __NR_osf_shmat.
7763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7764         defined.
7766         * sysvipc/Makefile (tests): Add test-sysvsem.
7767         * sysvipc/test-sysvsem.c: New file.
7769         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7770         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7771         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7772         Likewise.
7773         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7774         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7775         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7776         Likewise.
7777         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7778         Likewise.
7779         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7780         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7781         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7782         add a comment about s390 syscall difference from default one.
7783         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7784         syscall if it is defined.
7786         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7787         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7788         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7789         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7790         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7791         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7793         Likewise.
7794         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7795         Likewise.
7796         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7797         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7798         defined.
7800         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7801         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7802         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7803         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7804         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7805         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7806         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7807         Likewise.
7808         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7811         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7812         if it is defined.
7814         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7815         oldsemctl.
7816         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7817         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7818         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7819         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7820         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7821         implementation.
7822         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7823         syscall if it is defined.
7824         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7825         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7826         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7827         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7828         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7829         Likewise.
7830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7832         * sysvipc/Makefile (tests): Add test-sysvmsg.
7833         * sysvipc/test-sysvmsg.c: New file.
7834         * support/check.h (FAIL_UNSUPPORTED): New define.
7836         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7837         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7838         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7839         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7840         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7841         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7842         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7843         Likewise.
7844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7845         Likewise.
7846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7847         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7848         define.
7850         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7851         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7852         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7853         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7854         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7855         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7856         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7857         Likewise.
7858         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7859         Likewise.
7860         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7861         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7862         if defined.
7864         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7865         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7866         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7867         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7868         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7869         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7870         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7871         Likewise.
7872         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7873         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7874         Likewise.
7875         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7876         if defined.
7877         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7879         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7880         oldmsgctl.
7881         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7882         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7883         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7884         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7885         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7886         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7887         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7888         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7889         Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7891         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7892         implementation.
7893         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7894         if defined.
7896         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7897         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7898         definition and define its own.
7899         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7900         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7901         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7902         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7903         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7904         definitions to common header.
7905         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7906         operation from ipc_ops.h.
7908         * sysdeps/unix/sysv/linux/kernel-features.h
7909         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7910         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7911         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7912         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7913         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7914         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7915         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7916         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7917         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7918         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7919         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7920         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7921         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7922         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7923         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7925 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7927         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7928         overflow in pointer addition.
7930 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7932         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7933         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7935         (strchr): Add __strchr_power8 to list of strchr functions.
7936         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7937         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7938         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7939         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7940         (strchr): Add __strchr_power8 to ifunc list.
7941         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7942         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7943         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7944         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7946 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7948         * support/Makefile (libsupport-routines): Add
7949         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7950         (tests): Add tst-support_record_failure.
7951         (tests-special): tst-support_record_failure-2.
7952         (tst-support_record_failure-2.out): Depend on
7953         tst-support_record_failure-2.sh and tst-support_record_failure.
7954         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7955         (support_test_verify_impl, support_record_failure)
7956         (support_report_failure, support_report_failure_reset): Declare.
7957         * support/support_test_main.c (adjust_exit_status): New function.
7958         (support_test_main): Call it to incorporate record test failures.
7959         * support/support_test_verify_impl.c: New file.
7960         * support/support_record_failure.c: Likewise.
7961         * support/tst-support_record_failure.c: Likewise.
7962         * support/tst-support_record_failure-2.sh: Likewise.
7963         * support/xunistd.h: Likewise.
7964         * support/xfork.c: Likewise.
7965         * support/xwaitpid.c: Likewise.
7967 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7969         * scripts/check-c++-types.sh: Add comments.
7971 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7973         [BZ #19514]
7974         * resolv/res_send.c: Fix typo in comment.
7975         * sysdeps/i386/i386-mcount.S: Likewise.
7976         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7977         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7978         * sysdeps/sparc/sparc-mcount.S: Likewise.
7980 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7982         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7983         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7984         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7985         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7986         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7987         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7988         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7989         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7991 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7993         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7995 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7997         [BZ #17252]
7998         * posix/unistd.h (getentropy): Declare.
8000 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8002         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8003         Remove.
8004         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8005         (cmd): Remove spoof, nospoof, spoofalert.
8006         (parse_line): Ignore spoof-related lines.
8007         (do_init): Do not process RESOLV_SPOOF_CHECK.
8009 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8011         [BZ #20964]
8012         sunrpc: Always obtain AF_INET addresses from NSS.
8013         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8014         * sunrpc/rpc_gethostbyname.c: New file.
8015         * sunrpc/Makefile (routines): Add it.
8016         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8017         * sunrpc/clnt_simp.c (callrpc): Likewise.
8018         * sunrpc/getrpcport.c (getrpcport): Likewise.
8020 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8022         * sunrpc/rpcinfo.c: Remove.
8023         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8025 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8027         [BZ #19387]
8028         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8029         addition.
8030         * string/test-memchr.c (do_test): Remove alignment limitation.
8031         (test_main): Add test that trigger BZ #19387.
8033 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8035         [BZ #7065]
8036         Enable stack protectore if requested by ./configure.
8037         * Makeconfig (+stack-protector): New variable.
8038         (+cflags): Use it.
8040 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8042         [BZ #7065]
8043         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8044         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8045         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8047         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8049 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8051         [BZ #7065]
8052         * login/Makefile (pt_chown-cflags): Remove.
8053         * nscd/Makefile (CFLAGS-nscd): Likewise.
8054         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8056 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8058         [BZ #7065]
8059         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8060         non-libc-linking testcase.
8062 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8063             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8064             Florian Weimer  <fweimer@redhat.com>
8066         [BZ #7065]
8067         PLT avoidance for __stack_chk_fail*.
8068         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8069         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8070         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8071         __stack_chk_fail_local alias.
8072         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8073         (__stack_chk_fail): Turn into hidden reference to
8074         __stack_chk_fail_local.
8076 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8078         [BZ #7065]
8079         * configure.ac: Add check for unsupported stack-protection level.
8080         (libc_cv_predef_stack_protector): Remove.
8081         (no_ssp): New variable.
8082         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8083         (stack_protector): Set to -fno-stack-protector similarly.
8084         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8085         (libc_cv_asm_set_directive): Likewise.
8086         (libc_cv_protected_data): Likewise.
8087         (libc_cv_z_combreloc): Likewise.
8088         (libc_cv_hashstyle): Likewise.
8089         (libc_cv_has_glob_dat): Likewise.
8090         (libc_cv_output_format): Likewise.
8091         (libc_cv_output_format): Likewise.
8092         (libc_cv_ehdr_start): Likewise.
8093         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8094         (LIBC_LINKER_FEATURE): Likewise.
8095         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8097 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8099         [BZ #7065]
8100         * elf/Makefile (dummy-stack-chk-fail): New.
8101         (librtld.map): Use it.
8103 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8105         [BZ #7065]
8106         Compile the dynamic linker without stack protection.
8107         * elf/Makefile (elide-stack-protector): New.
8108         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8109         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8110         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8111         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8113 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8115         [BZ #7065]
8116         * config.make.in (have-ssp, no-stack-protector): New.
8117         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8118         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8119         (CFLAGS-sbrk.op): Likewise.
8120         (CFLAGS-brk.o): Likewise.
8121         (CFLAGS-brk.op): Likewise.
8122         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8123         (CFLAGS-wordcopy.c): Likewise.
8125 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8127         [BZ #7065]
8128         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8129         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8130         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8131         (__ifunc_resolver): Use it.
8132         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8133         inhibit_stack_protector.
8134         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8135         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8136         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8137         (foo_protected_ifunc): Likewise.
8138         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8139         (foo_protected_ifunc): Likewise.
8140         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8141         * sysdeps/nacl/nacl_interface_query.c
8142         (nacl_interface_query_ifunc): Likewise.
8143         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8144         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8145         Likewise.
8146         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8147         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8148         the generated vDSO syscall resolver.
8150 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8151             Florian Weimer  <fweimer@redhat.com>
8153         [BZ #7065]
8154         Initialize the stack guard earlier when linking statically.
8155         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8156         (__pthread_initialize_minimal): Declare.
8157         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8158         declaration.
8159         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8160         stack canary and apply_irel initialization up.  Call
8161         __pthread_initialize_minimal only if linked in.
8162         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8163         constant values.
8164         (__pthread_initialize_minimal): Remove.
8165         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8166         (__pthread_initialize_minimal_internal): Do not call
8167         __libc_setup_tls.
8169 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8171         [BZ #7065]
8172         * configure.ac (libc_cv_ssp): Move up.
8173         (libc_cv_ssp_strong): Likewise.
8174         (libc_cv_ssp_all): New.
8175         (stack_protector): Augment, adding -fstack-protector-all.
8176         (no_stack_protector): New.
8177         (STACK_PROTECTOR_LEVEL): New.
8178         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8179         * manual/install.texi (--enable-stack-protector): Document it.
8180         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8182 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8184         * README.pretty-printers: Must specify CPPFLAGS-* also.
8185         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8186         (CPPFLAGS-test-mutex-printers.c): Define.
8187         (CPPFLAGS-test-condattr-printers.c): Define.
8188         (CPPFLAGS-test-cond-printers.c): Define.
8189         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8190         (CPPFLAGS-test-rwlock-printers.c): Define.
8192         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8193         (tests): Add tst-cancel-getpwuid_r.
8194         * nss/tst-cancel-getpwuid_r.c: New file.
8196         [BZ #11941]
8197         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8198         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8199         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8200         tst-nodelete-dlclose.
8201         (modules-names): Add tst-nodelete-dlclose-dso and
8202         tst-nodelete-dlclose-plugin.
8203         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8204         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8205         ($(objpfx)tst-nodelete-dlclose): Define.
8206         ($(objpfx)tst-nodelete-dlclose.out): Define.
8208 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8210         * scripts/test_printers_common.py: Log GDB output in case of
8211         Python detection failure.
8213 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8215         * configure.ac: Check for python3 or python.
8216         * configure: Regenerated.
8217         * config.make.in (PYTHON): New variable.
8218         * benchtests/Makefile: Don't define PYTHON.
8219         (bench): Define target only if PYTHON was defined.
8220         * Rules: Don't define PYTHON.
8221         Define pretty printer targets only if PYTHON was defined.
8222         (tests-printers): Add to tests-unsupported if PYTHON is not
8223         found.
8224         (python-flags, python-invoke): Remove.
8225         (tests-printers-out): Use PYTHON instead of python-invoke.
8227 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8229         [BZ #20978]
8230         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8231         Compare name == NULL, not name != NULL.
8233         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8234         trailing whitespace removed.
8235         * scripts/config.guess: Update to version 2016-10-02.
8236         * scripts/config.sub: Update to version 2016-11-19.
8237         * scripts/install-sh: Update to version 2016-01-11.22.
8238         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8239         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8241 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8243         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8244         (do_one_test) Restore original string so iteration works.
8245         * string/string-inlines.c (do_test): Create better input strings.
8246         (test_main) Reduce number of testruns.
8247         * string/string-inlines.c (__old_strsep_1c): New function.
8248         (__old_strsep_2c): Likewise.
8249         (__old_strsep_3c): Likewise.
8250         * string/strsep.c (__strsep): Remove case of small delim string.
8251         Call strcspn directly rather than strpbrk.
8252         * string/bits/string2.h (__strsep): Remove define.
8253         (__strsep_1c): Remove.
8254         (__strsep_2c): Remove.
8255         (__strsep_3c): Remove.
8256         (strsep): Remove.
8257         * sysdeps/unix/sysv/linux/internal_statvfs.c
8258         (__statvfs_getflags): Rename to __strsep.
8260 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8262         * csu/libc-tls.c (_dl_tls_setup): Remove.
8263         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8264         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8265         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8267 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8269         [BZ #7065]
8270         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8271         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8273 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8274             Florian Weimer  <fweimer@redhat.com>
8276         [BZ #7065]
8277         * csu/Makefile (tests): Empty assignment and document it.
8278         (tests-static): Remove.
8279         * csu/tst-empty.c: Move to...
8280         * misc/tst-empty.c: ... here.  Switch to new test driver.
8281         * csu/tst-atomic.c: Move to...
8282         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8283         * csu/tst-atomic-long.c: Move to...
8284         * misc/tst-atomic-long.c: ... here.
8285         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8286         tst-atomic-long.
8287         (tests-static): Add tst-empty.
8289 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8291         * manual/nss.texi: Change incorrect @vtable to @table.
8292         * manual/arith.texi: Convert @tables of variables to @vtables
8293         and remove unnecessary indexing.
8294         * manual/filesys.texi: Likewise.
8295         * manual/llio.texi: Likewise.
8296         * manual/memory.texi: Likewise.
8297         * manual/process.texi: Likewise.
8298         * manual/resource.texi: Likewise.
8299         * manual/search.texi: Likewise.
8300         * manual/signal.texi: Likewise.
8301         * manual/socket.texi: Likewise.
8302         * manual/stdio.texi: Likewise.
8303         * manual/sysinfo.texi: Likewise.
8304         * manual/syslog.texi: Likewise.
8305         * manual/terminal.texi: Likewise.
8306         * manual/time.texi: Likewise.
8307         * manual/users.texi: Likewise.
8309 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8311         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8312         (roundeven): New declaration.
8313         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8314         macro.
8315         * math/Versions (roundeven): New libm symbol at version
8316         GLIBC_2.25.
8317         (roundevenf): Likewise.
8318         (roundevenl): Likewise.
8319         * math/Makefile (libm-calls): Add s_roundevenF.
8320         * math/libm-test.inc (roundeven_test_data): New array.
8321         (roundeven_test): New function.
8322         (main): Call roundeven_test.
8323         * math/test-tgmath.c (NCALLS): Increase to 134.
8324         (F(compile_test)): Call roundeven.
8325         (F(roundeven)): New function.
8326         * manual/arith.texi (Rounding Functions): Document roundeven,
8327         roundevenf and roundevenl.
8328         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8329         * include/math.h (roundeven): Use libm_hidden_proto.
8330         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8331         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8332         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8333         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8334         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8335         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8336         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8337         roundeven.
8338         (CFLAGS-nldbl-roundeven.c): New variable.
8339         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8340         * sysdeps/nacl/libm.abilist: Update.
8341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8343         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8344         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8347         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8349         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8354         Likewise.
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8356         Likewise.
8357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8358         Likewise.
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8360         Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8367         Likewise.
8368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8369         Likewise.
8370         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8374 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8376         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8377         preprocessor indentation inside #if.
8379 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8381         * math/libm-test.inc (fmt_ftostr): New function.
8382         (print_float, check_float_internal): Replace some uses of
8383         FTOSTR with uses of fmt_ftostr.
8384         (print_max_error, print_complex_max_error, print_function_ulps)
8385         (print_complex_function_ulps): Remove uses of the macros
8386         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8387         * math/test-double.h (FTOSTR): Define to strfromd.
8388         (PRINTF_EXPR): Delete.
8389         (PRINTF_XEXPR): Likewise.
8390         (PRINTF_NEXPR): Likewise.
8391         * math/test-float.h (FTOSTR): Define to strfromf.
8392         (PRINTF_EXPR): Delete.
8393         (PRINTF_XEXPR): Likewise.
8394         (PRINTF_NEXPR): Likewise.
8395         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8396         (PRINTF_EXPR): Delete.
8397         (PRINTF_XEXPR): Likewise.
8398         (PRINTF_NEXPR): Likewise.
8400 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8402         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8403         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8404         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8405         (__lll_lock_elision): Decrement adapt_count while unlocking
8406         instead of before locking.
8407         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8408         (__lll_trylock_elision): Likewise.
8409         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8410         (__lll_unlock_elision): Likewise.
8412 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8414         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8415         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8416         Use __libc_tbegin_retry macro.
8418 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8420         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8421         Add -msoft-float.
8422         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8423         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8424         Use __libc_t* transaction macros instead of __builtin_t*.
8425         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8426         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8428 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8430         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8431         (__lll_lock_elision): Use atomics to load / store adapt_count.
8432         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8433         (__lll_trylock_elision): Likewise.
8435 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8437         Do not require memset elimination in explicit_bzero test.
8438         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8439         (enum test_expectation): Add NO_EXPECTATIONS.
8440         (subtests): NO_EXPECTATIONS for ordinary clear.
8441         (check_test_buffer): Handle NO_EXPECTATIONS.
8442         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8444 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8446         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8447         (fmaxmag): New declaration.
8448         (fminmag): Likewise.
8449         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8450         macro.
8451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8452         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8453         (fmaxmagf): Likewise.
8454         (fmaxmagl): Likewise.
8455         (fminmag): Likewise.
8456         (fminmagf): Likewise.
8457         (fminmagl): Likewise.
8458         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8459         * math/s_fmaxmag_template.c: New file.
8460         * math/s_fminmag_template.c: Likewise.
8461         * math/libm-test.inc (fmaxmag_test_data): New array.
8462         (fmaxmag_test): New function.
8463         (fminmag_test_data): New array.
8464         (fminmag_test): New function.
8465         (main): Call fmaxmag_test and fminmag_test.
8466         * math/test-tgmath.c (NCALLS): Increase to 132.
8467         (F(compile_test)): Call fmaxmag and fminmag.
8468         (F(fminmag)): New function.
8469         (F(fmaxmag)): Likewise.
8470         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8471         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8472         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8473         fminmag.
8474         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8475         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8476         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8477         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8478         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8479         and fminmag.
8480         (CFLAGS-nldbl-fmaxmag.c): New variable.
8481         (CFLAGS-nldbl-fminmag.c): Likewise.
8482         * sysdeps/nacl/libm.abilist: Update.
8483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8488         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8489         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8490         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8491         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8492         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8496         Likewise.
8497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8498         Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8500         Likewise.
8501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8502         Likewise.
8503         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8504         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8509         Likewise.
8510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8513         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8516 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8518         [BZ #20973]
8519         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8520         wake-up in robust mutexes.
8521         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8523 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8525         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8526         (CFLAGS-bench-fmaxf.c): New rule.
8527         (CFLAGS-bench-fminf.c): Likewise.
8528         * benchtests/fmaxf-inputs: New file.
8529         * benchtests/fminf-inputs: Likewise.
8531         * benchtests/Makefile (bench-math): Add fmin and fmax.
8532         (CFLAGS-bench-fmax.c): New rule.
8533         (CFLAGS-bench-fmin.c): Likewise.
8534         * benchtests/fmax-inputs: New file.
8535         * benchtests/fmin-inputs: Likewise.
8537         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8538         parenthesis.
8539         (CMDLINE_PROCESS): Define using function instead of macro.
8540         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8541         of test-skeleton.
8542         * benchtests/bench-memchr.c: Likewise.
8543         * benchtests/bench-memcmp.c: Likewise.
8544         * benchtests/bench-memcpy-large.c: Likewise.
8545         * benchtests/bench-memcpy.c: Likewise.
8546         * benchtests/bench-memmem.c: Likewise.
8547         * benchtests/bench-memmove-large.c: Likewise.
8548         * benchtests/bench-memmove.c: Likewise.
8549         * benchtests/bench-memset-large.c: Likewise.
8550         * benchtests/bench-memset.c: Likewise.
8551         * benchtests/bench-rawmemchr.c: Likewise.
8552         * benchtests/bench-strcasecmp.c: Likewise.
8553         * benchtests/bench-strcasestr.c: Likewise.
8554         * benchtests/bench-strcat.c: Likewise.
8555         * benchtests/bench-strchr.c: Likewise.
8556         * benchtests/bench-strcmp.c: Likewise.
8557         * benchtests/bench-strcpy.c: Likewise.
8558         * benchtests/bench-strcpy_chk.c: Likewise.
8559         * benchtests/bench-strlen.c: Likewise.
8560         * benchtests/bench-strncasecmp.c: Likewise.
8561         * benchtests/bench-strncmp.c: Likewise.
8562         * benchtests/bench-strncpy.c: Likewise.
8563         * benchtests/bench-strnlen.c: Likewise.
8564         * benchtests/bench-strpbrk.c: Likewise.
8565         * benchtests/bench-strrchr.c: Likewise.
8566         * benchtests/bench-strsep.c: Likewise.
8567         * benchtests/bench-strspn.c: Likewise.
8568         * benchtests/bench-strstr.c: Likewise.
8569         * benchtests/bench-strtok.c: Likewise.
8571 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8573         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8574         stepping identification.
8575         (init_cpu_features): Add handle of Haswell.
8577 2016-11-25  Jim Meyering  <meyering@fb.com>
8579         [BZ #20386]
8580         Let gcc detect assert(a = 1) errors.
8581         * assert/assert.h (assert): Rewrite, retaining the old definintion
8582         when required, but otherwise putting the expression as-is in an "if"
8583         expression (hence, with no added parentheses) within a statement
8584         expression.
8586 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8588         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8589         DSO.
8591 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8593         * Rules (python-flags, python-invoke): New.
8594         ($(test-printers-out)): Use $(python-flags).
8596 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8598         * manual/arith.texi (Math Error Reporting): Document that sNaN
8599         arguments are not considered domain errors.
8601 2016-12-16  Zack Weinberg <zackw@panix.com>
8602             Florian Weimer <fweimer@redhat.com>
8603             Nick Mathewson <nickm@torproject.org>
8605         * string/explicit_bzero.c: New routine.
8606         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8607         * string/Makefile (routines, strop-tests, tests): Add them.
8608         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8609         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8611         * debug/explicit_bzero_chk.c: New routine.
8612         * debug/Makefile (routines): Add it.
8613         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8614         * string/bits/string3.h: Fortify explicit_bzero.
8616         * manual/string.texi: Document explicit_bzero.
8617         * NEWS: Mention addition of explicit_bzero.
8619         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8620         data before returning, using explicit_bzero.
8621         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8622         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8623         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8625         * include/string.h: Redirect internal uses of explicit_bzero
8626         to __explicit_bzero_chk[_internal].
8627         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8628         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8629         * sysdeps/arm/nacl/libc.abilist
8630         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8631         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8632         * sysdeps/unix/sysv/linux/arm/libc.abilist
8633         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8634         * sysdeps/unix/sysv/linux/i386/libc.abilist
8635         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8636         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8637         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8638         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8639         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8640         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8641         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8642         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8643         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8648         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8649         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8650         * sysdeps/unix/sysv/linux/sh/libc.abilist
8651         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8652         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8655         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8656         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8657         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8658         Add entries for explicit_bzero and __explicit_bzero_chk.
8660 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8662         * math/fenv.h
8663         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8664         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8665         * math/test-fe-snans-always-signal.c: New file.
8666         * math/Makefile (tests): Add test-fe-snans-always-signal.
8667         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8668         * manual/arith.texi (Infinity and NaN): Document
8669         FE_SNANS_ALWAYS_SIGNAL.
8671 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8673         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8674         bracket.
8676 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8678         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8679         before calling execv.
8681 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8683         [BZ #20971]
8684         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8685         overflow in pointer addition.
8686         * string/test-memchr.c (do_test): Add an argument to pass as
8687         the size on memchr.
8688         (test_main): Add check for SIZE_MAX.
8690 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8692         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8693         (libm-calls): Add w_scalblnF.
8694         * math/w_scalbln.c: Remove.
8695         * math/w_scalblnf.c: Likewise.
8696         * math/w_scalblnl.c: Likewise.
8697         * math/w_scalbln_template.c: New file with type-generic
8698         implementation based on math/w_scalbln.c.
8699         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8700         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8702 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8704         [BZ #20947]
8705         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8706         either is a signaling NaN.
8707         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8708         follow fmaxl more closely.
8709         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8710         when either is a signaling NaN.
8711         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8712         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8713         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8714         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8715         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8716         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8717         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8718         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8719         (fmin_test_data): Likewise.
8721 2016-12-15  Andreas Schwab  <schwab@suse.de>
8723         * support/support_test_main.c (support_test_main): Don't shadow
8724         file-local variable test_pid.
8726 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8728         [BZ #20947]
8729         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8730         either is a signaling NaN.
8731         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8733 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8735         [BZ #20947]
8736         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8737         when either is a signaling NaN.
8738         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8740         * bits/long-double.h: New file.
8741         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8742         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8743         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8744         * sysdeps/mips/bits/long-double.h: Likewise.
8745         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8746         * math/Makefile (headers): Add bits/long-double.h.
8747         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8748         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8749         <bits/wordsize.h>.
8750         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8751         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8752         * math/math.h: Do not include <bits/mathdef.h>.
8753         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8754         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8755         inclusion.
8756         * sysdeps/ia64/bits/mathdef.h: Remove file.
8757         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8758         * sysdeps/mips/bits/mathdef.h: Likewise.
8759         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8760         * sysdeps/s390/bits/mathdef.h: Likewise.
8761         * sysdeps/sparc/bits/mathdef.h: Likewise.
8762         * sysdeps/x86/bits/mathdef.h: Likewise.
8763         * sysdeps/s390/s390-32/bits/wordsize.h
8764         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8765         conditional code.
8766         * sysdeps/s390/s390-64/bits/wordsize.h
8767         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8768         Likewise.
8769         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8770         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8771         Likewise.
8772         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8773         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8774         Likewise.
8775         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8776         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8777         Likewise.
8779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8780         <linux/falloc.h>.
8781         (FALLOC_FL_KEEP_SIZE): Remove.
8782         (FALLOC_FL_PUNCH_HOLE): Likewise.
8783         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8784         (FALLOC_FL_ZERO_RANGE): Likewise.
8786 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8788         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8790 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8792         * sysdeps/unix/sysv/linux/renameat.c: New file.
8793         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8795         * sysdeps/unix/sysv/linux/rename.c: New file.
8796         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8798 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8800         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8801         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8802         * string/strtok_r.c (__strtok_r): Optimize for performance.
8803         * string/string-inlines.c (__old_strtok_r_1c): New function.
8804         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8806 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8808         * math/Makefile (gen-libm-calls): Add w_log1pF.
8809         (libm-calls): Remove w_log1pF.
8810         * math/w_log1p.c: Remove.
8811         * math/w_log1pf.c: Likewise.
8812         * math/w_log1pl.c: Likewise.
8813         * math/w_log1p_template.c: New file with type-generic
8814         implementation based on math/w_log1p.c.
8815         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8816         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8818 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8820         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8822 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8824         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8825         kernel version to 4.9.
8827 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8829         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8830         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8832 2016-12-13  Andreas Schwab  <schwab@suse.de>
8834         * sysdeps/powerpc/dl-procinfo.c: Don't define
8835         _dl_powerpc_platforms.
8836         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8837         constants instead of referencing _dl_powerpc_platforms.
8838         (_dl_platform_string): Remove.
8840 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8842         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8844 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8846         * Rules (binaries-shared-tests, binaries-pie-tests)
8847         (binaries-static-tests): Link with $(link-extra-libs-tests).
8848         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8849         Remove $(link-extra-libs-tests).
8851 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8853         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8854         (sysdep_routines): Add strncmp_power9.
8855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8856         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8857         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8858         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8859         (strncmp): Add __strncmp_power9 to ifunc list.
8860         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8862 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8864         [BZ #17252]
8865         Add getentropy, getrandom.
8866         * stdlib/sys/random.h: New file.
8867         (headers): Add it.
8868         * stdlib/Makefile (routines): Add getentropy, getrandom.
8869         (tests): Add tst-getrandom.
8870         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8871         * stdlib/getentropy.c: New file.
8872         * stdlib/getrandom.c: Likewise.
8873         * stdlib/tst-getrandom.c: Likewise.
8874         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8875         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8876         * manual/crypt.texi (Unpredictable Bytes): New section.
8877         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8878         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8879         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8881         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8882         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8883         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8884         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8887         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8888         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8889         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8890         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8891         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8892         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8894         Likewise.
8895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8896         Likewise.
8897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8900         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8901         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8902         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8903         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8906         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8907         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8910 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8912         [BZ #20956]
8913         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8914         as additional compiler barriers.
8915         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8916         (fn2, do_test): Declare with external linkage.
8917         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8918         (do_test): Declare with external linkage.
8919         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8920         (do_test): Declare with external linkage.
8921         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8922         (do_test): Declare with external linkage.
8924 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8926         * support/support_test_main.c (support_test_main): Use correct
8927         timeout.
8929 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8930             Florian Weimer  <fweimer@redhat.com>
8932         [BZ #16421]
8933         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8934         and __u6_addr32 members.
8935         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8936         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8937         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8938         Use __u6_addr32.
8939         * inet/tst-checks.c: Use <support/test-driver.c>
8940         * inet/tst-checks-posix.c: New file.
8941         * inet/Makefile (tests): Add it.
8942         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8944 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8946         New subdirectory support for build and test infrastructure.
8947         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8948         setting install-lib.
8949         * Makeconfig (link-extra-libs-tests): Define.
8950         (+link-pie-tests, +link-static-tests, +link-tests): Use
8951         link-extra-libs-tests.
8952         (rpath-dirs, all-subdirs): Add support.
8953         (built-modules): Add libsupport.
8954         (libsupport): Define.
8955         * support: New directory.
8956         * support/Makefile: New file.
8957         * support/check.c: Likewise.
8958         * support/check.h: Likewise.
8959         * support/delayed_exit.c: Likewise.
8960         * support/ignore_stderr.c: Likewise.
8961         * support/oom_error.c: Likewise.
8962         * support/set_fortify_handler.c: Likewise.
8963         * support/support.h: Likewise.
8964         * support/temp_file-internal.h: Likewise.
8965         * support/temp_file.c: Likewise.
8966         * support/test-driver.c: Likewise.
8967         * support/test-driver.h: Likewise.
8968         * support/test_main.c: Likewise.
8969         * support/write_message.c: Likewise.
8970         * support/xasprintf.c: Likewise.
8971         * support/xcalloc.c: Likewise.
8972         * support/xmalloc.c: Likewise.
8973         * support/xpthread_barrier_destroy.c: Likewise.
8974         * support/xpthread_barrier_init.c: Likewise.
8975         * support/xpthread_barrier_wait.c: Likewise.
8976         * support/xpthread_cancel.c: Likewise.
8977         * support/xpthread_check_return.c: Likewise.
8978         * support/xpthread_cond_wait.c: Likewise.
8979         * support/xpthread_create.c: Likewise.
8980         * support/xpthread_detach.c: Likewise.
8981         * support/xpthread_join.c: Likewise.
8982         * support/xpthread_mutex_lock.c: Likewise.
8983         * support/xpthread_mutex_unlock.c: Likewise.
8984         * support/xpthread_sigmask.c: Likewise.
8985         * support/xpthread_spin_lock.c: Likewise.
8986         * support/xpthread_spin_unlock.c: Likewise.
8987         * support/xrealloc.c: Likewise.
8988         * support/xsignal.h: Likewise.
8989         * support/xthread.h: Likewise.
8990         * support_tempfile.h: Likewise.
8991         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8992         (TEST_DATA_LIMIT): Remove unused macro.
8993         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8994         <support/check.h>.
8995         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8996         (ignore_stderr, set_fortify_handler): Remove.  Now in
8997         <support/support.h>.
8998         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8999         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9000         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9001         (xpthread_join): Remove.  Now in <support/xthread.h>.
9002         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9003         Introduce legacy wrappers.
9004         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9005         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9006         (write_message): Remove.
9007         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9008         test-skeleton.c.
9009         * io/test-open-tmpfile: Likewise.
9010         * io/tst-posix_fallocate-common.c: Likewise.
9011         * libio/tst-fseek.c: Likewise.
9012         * malloc/tst-malloc-backtrace.c: Likewise.
9013         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9014         * malloc/tst-malloc-thread-exit.c: Likewise.
9015         * nptl/tst-cancel7.c: Likewise.
9016         * nptl/tst-cleanup0.c: Likewise.
9017         * posix/tst-posix_fadvise-common.c: Likewise.
9018         * rt/tst-shm.c: Likewise.
9019         * time/bug-getdate1.c: Likewise.
9020         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9021         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9022         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9024 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9026         * Rules [$(run-built-tests) != no] (tests-expected): Add
9027         $(tests-printers).
9028         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9030 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9032         [BZ #20539]
9033         * math/Makefile (install-lib-ldscripts): Add libm.a.
9034         (install_subdir): Remove.
9035         (install-others): Add.
9036         ($(inst_libdir)/libm.a): Add rule for installation as
9037         linker script.
9038         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9040 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9042         * INSTALL: Regenerated.
9043         * Makeconfig: Add comments and whitespace to make the control flow
9044         clearer.
9045         (+link-printers-tests, +link-pie-printers-tests,
9046         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9047         built-rtld-LDFLAGS, link-libc-rpath,
9048         link-libc-tests-after-rpath-link,
9049         link-libc-printers-tests): New.
9050         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9051         link-libc-tests): Use the new variables as required.
9052         * Makerules ($(py-const)): New rule.
9053         generated: Add $(py-const).
9054         * README.pretty-printers: New file.
9055         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9056         (others): Depend on $(py-const).
9057         (tests): Depend on $(tests-printers-programs) or
9058         $(tests-printers-out),
9059         as required.  Pass $(tests-printers) to merge-test-results.sh.
9060         * manual/install.texi: Add requirements for testing the pretty
9061         printers.
9062         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9063         tests-printers, CFLAGS-test-mutexattr-printers.c
9064         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9065         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9066         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9067         * nptl/nptl-printers.py: New file.
9068         * nptl/nptl_lock_constants.pysym: Likewise.
9069         * nptl/test-cond-printers.c: Likewise.
9070         * nptl/test-cond-printers.py: Likewise.
9071         * nptl/test-condattr-printers.c: Likewise.
9072         * nptl/test-condattr-printers.py: Likewise.
9073         * nptl/test-mutex-printers.c: Likewise.
9074         * nptl/test-mutex-printers.py: Likewise.
9075         * nptl/test-mutexattr-printers.c: Likewise.
9076         * nptl/test-mutexattr-printers.py: Likewise.
9077         * nptl/test-rwlock-printers.c: Likewise.
9078         * nptl/test-rwlock-printers.py: Likewise.
9079         * nptl/test-rwlockattr-printers.c: Likewise.
9080         * nptl/test-rwlockattr-printers.py: Likewise.
9081         * scripts/gen-py-const.awk: Likewise.
9082         * scripts/test_printers_common.py: Likewise.
9083         * scripts/test_printers_exceptions.py: Likewise.
9085 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9087         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9088         argument.
9089         (Glibc.build_glibc): Strip installed shared libraries if
9090         requested.
9091         (get_parser): Add --strip option.
9092         (main): Update Context call.
9094 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9095             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9097         [BZ #20847]
9098         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9099         array bounds for else branch.
9100         (__execvpe): Style fixes.
9101         * posix/tst-vfork3.c (run_script): New function.
9102         (create_script): Likewise.
9103         (do_test): Use run_script internal function.
9104         (do_prepare): Use create_script internal function.
9106 2016-12-07  Andreas Schwab  <schwab@suse.de>
9108         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9109         (__elision_available): Don't declare.
9110         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9111         (__elision_available): Don't define.
9112         (elision_init): Don't set __elision_available.
9114 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9116         [BZ #20940]
9117         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9118         return Inf for arguments Inf and sNaN.
9119         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9120         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9121         Likewise.
9122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9123         Likewise.
9124         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9125         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9126         for arguments Inf and sNaN.  When returning a NaN, compute it by
9127         arithmetic on the arguments.
9128         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9129         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9130         arguments.
9132 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9134         [BZ #20916]
9135         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9136         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9137         to compute result.
9138         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9139         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9141 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9143         * include/atomic.h (__atomic_check_size_ls): New.
9144         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9145         atomic_store_release): Use it.
9146         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9147         (elision_adapt, ELIDE_LOCK): Use atomics.
9148         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9149         atomics and improve code comments.
9150         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9151         (__lll_trylock_elision): Likewise.
9153 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9155         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9156         programs.
9158 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9160         [BZ #20916]
9161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9162         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9163         arguments to compute result.
9164         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9165         1 for arguments (sNaN, 0) or (1, sNaN).
9166         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9169         [BZ #20919]
9170         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9171         NaN first argument when raised to power 0.
9172         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9173         raising to power zero.
9174         * math/w_powf.c (__powf): Likewise.
9175         * math/w_powl.c (__powl): Likewise.
9176         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9177         pow (0, 0) or pow (NaN, 0).
9179 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9181         [BZ #20918]
9182         * configure.ac: Test for static NSS cryptographic libraries and set
9183         libc_cv_static_nss_crypt.
9184         * configure: Regenerate.
9185         * config.make.in (static-nss-crypt): Define.
9186         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9187         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9188         (CFLAGS-tst-linkall-static.c): Define.
9189         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9190         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9191         ($(objpfx)tst-linkall-static): Define.
9192         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9193         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9195 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9197         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9198         (one-hundred, tst-tls-many-dynamic-modules): Define.
9199         (modules-names): Add $(tst-tls-many-dynamic-modules).
9200         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9201         macros.
9202         (tst-tls-manydynamic): Link against libdl, libpthread.
9203         (tst-tls-manydynamic.out): The test needs the test modules at run
9204         time.
9205         * elf/tst-tls-manydynamic.c: New file.
9206         * elf/tst-tls-manydynamic.h: Likewise.
9207         * elf/tst-tls-manydynamicmod.c: Likewise.
9209 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9211         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9212         (TLS_DTV_UNALLOCATED): Add.
9213         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9214         offsets.
9216 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9218         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9220 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9222         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9223         Add -fno-optimize-sibling-calls.
9225 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9227         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9228         New declaration.
9229         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9230         macro.
9231         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9232         New macro.
9233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9235         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9236         (llogbf): Likewise.
9237         (llogbl): Likewise.
9238         * math/Makefile (gen-libm-calls): Add w_llogbF.
9239         (tests): Add test-fp-llogb-constants.
9240         * math/w_llogb_template.c: New file.  Based on
9241         math/w_ilogb_template.c.
9242         * math/libm-test.inc (llogb_test_data): New array.
9243         (llogb_test): New function.
9244         (main): Call llogb_test.
9245         * math/test-fp-llogb-constants.c: New file.  Based on
9246         math/test-fp-ilogb-constants.c.
9247         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9248         (do_test): Call check_return_llogb.
9249         * math/test-tgmath.c (NCALLS): Increase to 126.
9250         (F(compile_test)): Call llogb.
9251         (F(llogb)): New function.
9252         * manual/math.texi (Exponents and Logarithms): Document llogb,
9253         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9254         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9255         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9256         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9257         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9258         (CFLAGS-nldbl-llogb.c): New variable.
9259         * sysdeps/nacl/libm.abilist: Update.
9260         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9261         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9262         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9264         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9269         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9270         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9277         Likewise.
9278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9279         Likewise.
9280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9281         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9282         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9286         Likewise.
9287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9288         Likewise.
9289         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9293 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9295         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9296         _Float128 instead of long double.
9297         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9299         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9300         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9301         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9302         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9303         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9304         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9305         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9306         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9307         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9308         Likewise.
9310 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9312         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9313         Remove redirection to __strrchr_ppc.
9315 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9317         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9318         (sysdep_routines): Add strcmp_power9.
9319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9320         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9321         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9322         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9323         (strcmp): Add __strcmp_power9 to ifunc list.
9324         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9326 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9328         * bits/fp-logb.h: New file.
9329         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9330         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9331         * sysdeps/x86/bits/fp-logb.h: Likewise.
9332         * math/Makefile (headers): Add bits/fp-logb.h.
9333         * math/math.h: Include <bits/fp-logb.h>.
9334         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9335         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9336         * bits/mathdef.h (FP_ILOGB0): Remove.
9337         (FP_ILOGBNAN): Likewise.
9338         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9339         (FP_ILOGBNAN): Likewise.
9340         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9341         (FP_ILOGBNAN): Likewise.
9342         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9343         (FP_ILOGBNAN): Likewise.
9344         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9345         (FP_ILOGBNAN): Likewise.
9346         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9347         (FP_ILOGBNAN): Likewise.
9348         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9349         (FP_ILOGBNAN): Likewise.
9350         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9351         (FP_ILOGBNAN): Likewise.
9352         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9353         (FP_ILOGBNAN): Likewise.
9354         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9355         (FP_ILOGBNAN): Likewise.
9357         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9358         time module.
9359         (Context.__init__): Initialize self.logsdir_old.
9360         (Context.run_builds): Handle bot action.
9361         (Context.bot_cycle): Copy logs directory before running builds.
9362         (Context.bot_run_self): Take argument for whether to check
9363         subprocess result.  Flush stdout before running subprocess.
9364         (Context.bot): New function.
9365         (get_parser): Allow bot action.
9367 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9369         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9370         Import email.mime.text, email.utils and smtplib modules.
9371         (Context.__init__): Initialize self.bot_config_json.
9372         (Context.run_builds): Handle bot-cycle action.
9373         (Context.load_bot_config_json): New function.
9374         (Context.part_build_old): Likewise.
9375         (Context.bot_cycle): Likewise.
9376         (Context.bot_build_mail): Likewise.
9377         (Context.bot_run_self): Likewise.
9378         (get_parser): Allow bot-cycle action.
9380 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9383         Remove redirection to __stpcpy_ppc.
9385 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9387         Remove __libc_memalign from ld.so because it is unused.
9388         * elf/dl-minimal.c: Update comment on the malloc implementation.
9389         (malloc): Renamed from __libc_memalign, replacing the original
9390         malloc implementation.  Replace the align parameter with
9391         MALLOC_ALIGNMENT.
9392         * elf/Versions (ld): Update comment and remove __libc_memalign.
9393         * sysdeps/nacl/ld.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9420         * sysdeps/generic/localplt.data (ld.so): Likewise.
9421         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9422         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9423         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9424         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9425         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9426         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9427         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9428         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9429         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9431         (ld.so): Likewise.
9432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9433         (ld.so): Likewise.
9434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9435         Likewise.
9436         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9437         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9438         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9439         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9440         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9442 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9444         [BZ #16628]
9445         Implement _dl_catch_error, _dl_signal_error in libc.so.
9446         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9447         (catch_hook): Define as thread-local or regular variable,
9448         depending on DL_ERROR_BOOTSTRAP.
9449         (CATCH_HOOK): Remove.
9450         (dl_signal_error, _dl_catch_error): Use
9451         catch_hook.  Add hidden definition for libc.
9452         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9453         for DL_ERROR_BOOTSTRAP only.
9454         * elf/dl-error.c: New file.
9455         * elf/dl-error-minimal.c: Likewise.
9456         * elf/tst-latepthread.c: Likewise.
9457         * elf/tst-latepthreadmod.c: Likewise.
9458         * elf/Makefile (routines): Add dl-error.
9459         (dl-routines): Remove dl-error.
9460         (rtld-routines): Add dl-error-minimal.
9461         [build-shared] (tests): Add tst-latepthread.
9462         (module-names): Add tst-latepthreadmod.
9463         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9464         symbol.
9465         (tst-latepthreadmod.so): Link against libpthread.
9466         (tst-latepthread): Link against libdbl.
9467         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9468         _dl_catch_error.
9469         [ld] (GLIBC_PRIVATE): Likewise.
9470         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9471         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9472         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9473         directly.
9474         * elf/dl-tsd.c: Remove file.
9475         * elf/rtld.c (_rtld_global_ro): Remove initializers for
9476         _dl_catch_error, _dl_signal_error.
9477         (_dl_initial_error_catch_tsd): Remove definition.
9478         (do_preload): Remove initialization of dl_error_catch_tsd.
9479         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9480         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9481         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9482         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9483         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9484         set dl_error_catch_tsd.
9485         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9486         _dl_error_catch_tsd member.
9487         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9488         members.
9489         (_dl_initial_error_catch_tsd): Remove declaration.
9490         (_dl_dprintf): Provide definition for use outside of ld.so.
9491         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9492         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
9493         prototype for libc.
9494         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9495         _dl_catch_error.
9496         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9497         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9498         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9499         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9500         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9501         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9502         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9503         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9504         Likewise.
9505         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9507         (ld.so): Likewise.
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9509         (ld.so): Likewise.
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9511         Likewise.
9512         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9513         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9515         Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9517         Likewise.
9518         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9520 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9522         [BZ #4099]
9523         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9524         _IO_BUFSIZ (8192).
9526 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9528         * PROJECTS: Remove file.
9530 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9532         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9534 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9535             Steve Ellcey  <sellcey@caviumnetworks.com>
9537         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9538         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9539         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9540         fxstatat.
9541         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9542         lxstat.
9543         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9544         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9545         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9546         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9547         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9548         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9549         __xstat.
9551 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9553         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9554         Define.
9555         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9556         definition.
9558 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9560         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9561         version and turn into strong alias.  Remove compat symbol.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9564         (__longjmp): Remove.
9566 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9568         * bits/fp-fast.h: New file.
9569         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9570         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9571         * math/Makefile (headers): Add bits/fp-fast.h.
9572         * math/math.h: Include <bits/fp-fast.h>.
9573         * bits/mathdef.h (FP_FAST_FMA): Remove.
9574         (FP_FAST_FMAF): Likewise.
9575         (FP_FAST_FMAL): Likewise.
9576         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9577         (FP_FAST_FMAF): Likewise.
9578         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9579         (FP_FAST_FMAF): Likewise.
9580         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9581         (FP_FAST_FMAF): Likewise.
9582         (FP_FAST_FMAL): Likewise.
9583         * sysdeps/arm/bits/mathdef.h: Remove file.
9584         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9585         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9586         * sysdeps/tile/bits/mathdef.h: Likewise.
9588 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9590         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9591         * math/w_ilogb.c: Remove.
9592         * math/w_ilogbf.c: Likewise.
9593         * math/w_ilogbl.c: Likewise.
9594         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9595         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9596         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9597         (libm-calls): Remove w_ilogbF.
9598         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9599         (LDOUBLE_ilogbl_libm_version): New macro.
9601         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9603         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9604         [!__STRICT_ANSI__ && !__cplusplus].
9606 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9608         [BZ #20750]
9609         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9610         of PIC.
9612 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9613             Yury Norov  <ynorov@caviumnetworks.com>
9614             Steve Ellcey  <sellcey@caviumnetworks.com>
9616         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9617         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9618         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9619         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9620         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9621         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9622         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9623         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9624         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9625         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9626         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9627         to get correct reg name for ILP32.
9628         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9629         (RELA_SIZE): New Macro.
9630         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9631         to support ILP32.
9632         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9633         cast for ILP32 mode.
9634         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9635         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9636         * sysdeps/aarch64/memset.S (__memset): Ditto.
9637         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9638         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9639         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9640         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9641         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9642         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9643         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9644         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9645         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9646         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9647         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9648         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9649         change PTR_MANGLE call to use register numbers instead of names.
9650         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9651         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9652         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9653         * sysdeps/aarch64/start.S (_start): Ditto.
9654         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9655         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9656         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9657         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9658         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9659         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9660         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9661         Make defined values dependent on __ILP32__.
9662         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9663         (sem_t): Change __align type.
9664         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9665         PTR_SIZE): New Macros.
9666         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9667         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9668         Set when in ILP32 mode.
9669         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9670         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9671         Set elf flags for ILP32.
9672         (add_system_dir): Set ILP32 library directories.
9673         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9674         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9675         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9676         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9677         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9678         New Macros.
9679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9681 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9683         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9684         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9685         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9687 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9689         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9690         <asm/cachectl.h>.
9692 2016-11-27  Zack Weinberg  <zackw@panix.com>
9694         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9695         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9697 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9699         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9700         error_t to fix usage in C++ programs.
9702 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9704         * scripts/build-many-glibcs.py: Import datetime module.
9705         (Context.__init__): Load JSON build state.  Initialize list of
9706         status logs.
9707         (Context.run_builds): Update saved build state.
9708         (Context.add_makefile_cmdlist): Update list of status logs.
9709         (Context.load_build_state_json): New function.
9710         (Context.store_build_state_json): Likewise.
9711         (Context.clear_last_build_state): Likewise.
9712         (Context.update_build_state): Likewise.
9713         (CommandList.status_logs): Likewise.
9715 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9717         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9718         script being executed.
9719         (Context.get_script_text): New function.
9720         (Context.exec_self): Likewise.
9721         (Context.checkout): Re-exec script if changed by checkout process.
9723 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9725         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9726         (setpayloadsig): New declaration.
9727         * math/Versions (setpayloadsig): New libm symbol at version
9728         GLIBC_2.25.
9729         (setpayloadsigf): Likewise.
9730         (setpayloadsigl): Likewise.
9731         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9732         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9733         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9734         (setpayloadsig_test_data): New array.
9735         (setpayloadsig_test): New function.
9736         (main): Call setpayloadsig_test.
9737         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9738         setpayloadsigf and setpayloadsigl.
9739         * manual/libm-err-tab.pl: Update comment on interfaces without
9740         ulps tabulated.
9741         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9742         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9743         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9744         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9746         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9747         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9748         setpayloadsig.
9749         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9750         * sysdeps/nacl/libm.abilist: Update.
9751         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9757         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9758         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9759         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9760         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9761         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9762         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9766         Likewise.
9767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9768         Likewise.
9769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9774         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9775         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9779         Likewise.
9780         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9784         * scripts/build-many-glibcs.py: Import json module.
9785         (Context.__init__): Take replace_sources argument.  Load
9786         versions.json.
9787         (Context.load_versions_json): New function.
9788         (Context.store_json): Likewise.
9789         (Context.store_versions_json): Likewise.
9790         (Context.set_component_version): Likewise.
9791         (Context.checkout): Update versions.json.  Check for and handle
9792         changes of version.  Prefer previously explicitly specified
9793         version to default version.
9794         (Context.checkout_vcs): Return a revision identifier.
9795         (Context.git_checkout): Likewise.
9796         (Context.gcc_checkout): Likewise.
9797         (get_parser): Add --replace-sources option.
9798         (main): Pass replace_sources argument to Context call.
9800 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9802         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9803         * nptl/allocatestack.c (allocate_stack): Likewise.
9804         (__reclaim_stacks): Likewise.
9805         (setxid_signal_thread): Obtain pid through syscall.
9806         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9807         (sighandle_setxid): Likewise.
9808         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9809         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9810         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9811         Likewise.
9812         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9813         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9814         comment.
9815         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9816         * nptl/descr.h (struct pthread): Change comment about pid value.
9817         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9818         pid assert.
9819         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9820         Do not set pid value.
9821         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9822         pid cache check.
9823         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9824         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9825         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9826         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9827         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9828         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9829         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9830         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9831         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9832         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9833         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9834         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9835         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9836         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9837         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9838         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9839         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9840         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9841         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9842         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9843         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9844         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9845         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9846         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9847         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9850         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9851         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9852         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9853         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9854         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9855         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9856         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9857         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9858         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9859         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9860         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9861         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9862         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9863         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9864         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9865         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9868         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9870         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9871         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9872         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9873         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9874         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9875         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9876         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9877         struct access.
9878         (clone_test): Remove function.
9879         (do_test): Rewrite to take in consideration pid is not cached anymore.
9881 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9883         * bits/flt-eval-method.h: New file.
9884         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9885         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9886         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9887         * math/Makefile (headers): Add bits/flt-eval-method.h.
9888         * math/math.h: Include <bits/flt-eval-method.h>.
9889         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9890         [__USE_ISOC99] (double_t): Likewise.
9891         * bits/mathdef.h (float_t): Remove.
9892         (double_t): Likewise.
9893         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9894         (double_t): Likewise.
9895         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9896         (double_t): Likewise.
9897         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9898         (double_t): Likewise.
9899         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9900         (double_t): Likewise.
9901         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9902         (double_t): Likewise.
9903         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9904         (double_t): Likewise.
9905         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9906         (double_t): Likewise.
9907         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9908         (double_t): Likewise.
9909         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9910         (double_t): Likewise.
9911         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9912         (double_t): Likewise.
9913         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9914         (double_t): Likewise.
9915         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9916         (double_t): Likewise.
9917         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9918         (double_t): Likewise.
9920 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9922         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9923         instead of PIC.
9925 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9927         [BZ #20859]
9928         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9929         (-0x7fffffff) instead of 0x80000001.
9930         * math/test-fp-ilogb-constants.c: New file.
9931         * math/Makefile (tests): Add test-fp-ilogb-constants.
9933 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9935         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9936         (_init): Use it in place of hardcoded R_MIPS_JALR.
9937         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9938         (_init): Use it in place of hardcoded R_MIPS_JALR.
9939         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9940         (_init): Use it in place of hardcoded R_MIPS_JALR.
9942 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9944         [BZ #20787]
9945         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9946         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9947         (double_t): Do not define to double if [__x86_64__] when
9948         __FLT_EVAL_METHOD__ is nonzero.
9949         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9950         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9951         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9952         test-flt-eval-method-387 and test-flt-eval-method-sse.
9953         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9954         variable.
9955         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9957 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9959         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9960         use of -fno-isolate-erroneous-paths options for tilepro.
9962 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9964         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9965         structure initialization is no longer needed.
9967 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9969         [BZ #20855]
9970         * bits/mathdef.h (float_t): Define to float.
9971         * math/test-flt-eval-method.c: New file.
9972         * math/Makefile (tests): Add test-flt-eval-method.
9973         (CFLAGS-test-flt-eval-method.c): New variable.
9975 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9977         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9978         and __fstatfs.  Make them aliases of __fstatfs64 if
9979         STATFS_IS_STATFS64 is set to non-zero.
9980         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9981         and __statfs64.
9982         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9983         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9984         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9985         for __statfs and statfs.
9986         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9987         to 0.
9988         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9989         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9990         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9991         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9992         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9993         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9996         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9997         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9998         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9999         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10001 2016-11-22  Andreas Schwab  <schwab@suse.de>
10003         * misc/mkstemp.c: Include <fcntl.h>.
10004         * misc/mkstemps.c: Likewise.
10005         * misc/mkostemp.c: Likewise.
10006         * misc/mkostemps.c: Likewise.
10008 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10010         [BZ #20847]
10011         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10012         array bounds.
10013         (__execvpe): Likewise.
10015 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10017         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10018         -fno-isolate-erroneous-paths options for tilepro.
10020 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10022         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10023         to 0 when in 32 bit mode.
10024         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10025         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10026         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10027         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10029         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10030         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10031         XSTAT_IS_XSTAT64 test.
10032         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10033         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10034         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10035         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10036         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10037         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10038         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10039         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10040         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10041         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10042         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10044 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10046         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10047         (setpayload): New declaration.
10048         * math/Versions (setpayload): New libm symbol at version
10049         GLIBC_2.25.
10050         (setpayloadf): Likewise.
10051         (setpayloadl): Likewise.
10052         * math/Makefile (libm-calls): Add s_setpayloadF.
10053         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10054         test_Ff_b1_data.
10055         (RUN_TEST_Ff_b1): New macro.
10056         (RUN_TEST_LOOP_Ff_b1): Likewise.
10057         (canonicalize_test_data): Update type.
10058         (setpayload_test_data): New array.
10059         (setpayload_test): New function.
10060         (main): Call setpayload_test.
10061         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10062         setpayloadf and setpayloadl.
10063         * manual/libm-err-tab.pl: Update comment on interfaces without
10064         ulps tabulated.
10065         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10066         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10067         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10068         Likewise.
10069         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10070         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10071         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10075         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10076         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10077         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10078         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10079         setpayload.
10080         (CFLAGS-nldbl-setpayload.c): New variable.
10081         * sysdeps/nacl/libm.abilist: Update.
10082         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10083         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10091         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10095         Likewise.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10097         Likewise.
10098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10099         Likewise.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10101         Likewise.
10102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10110         Likewise.
10111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10112         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10113         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10115 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10117         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10118         * include/unistd.h: Extend comment about __access_noerrno return
10119         semantics.
10120         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10121         (access_common): Correct typo for EACCES.
10123 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10125         * sysdeps/tile/math-tests.h: New file.
10127         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10128         (__old_set_dataplane): Rename from set_dataplane and make a
10129         compatibility symbol.
10130         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10131         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10132         sys/dataplane.h.
10134 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10136         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10137         script quote words in command output to log suitably for input to
10138         the shell.
10140 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10141             Maciej W. Rozycki  <macro@imgtec.com>
10143         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10144         `.Lno_weak_fn' label.
10145         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10146         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10148 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10149             Yury Norov  <ynorov@caviumnetworks.com>
10151         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10152         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10153         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10154         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10155         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10156         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10157         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10158         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10159         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10160         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10161         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10162         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10163         (sysdep_routines): Remove oldgetrlimit64.
10164         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10165         (sysdep_routines): Likewise.
10166         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10167         (sysdep_routines): Likewise.
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10169         [$(subdir) = resource] (sysdep_routines): Likewise.
10170         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10171         [$(subdir) = resource] (sysdep_routines): Likewise.
10172         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10173         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10174         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10175         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10176         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10177         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10178         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10179         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10180         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10181         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10183         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10184         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10185         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10186         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10187         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10188         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10189         setrlimit and getrlimit.
10190         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10192         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10195         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10196         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10197         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10199         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10200         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10201         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10202         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10203         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10204         (__old_getrlimit64): Add compatibility symbol.
10205         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10207 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10209         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10210         newly built gmp, mpfr and mpc.
10212         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10214 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10216         * conform/Makefile (linknamespace-libs): Rename to
10217         linknamespace-libs-thr.
10218         (linknamespace-libs-posix): New variable.
10219         (linknamespace-libs-xsi): Likewise.
10220         (linknamespace-libs-XPG3): Include libcrypt.a.
10221         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10222         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10223         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10224         (linknamespace-libs-XOPEN2K): Likewise.
10225         (linknamespace-libs-XOPEN2K8): Likewise.
10226         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10228         [BZ #20829]
10229         * stdio-common/Versions (__snprintf): Add to version
10230         GLIBC_PRIVATE.
10231         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10232         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10233         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10234         of snprintf.
10235         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10237 2016-11-16  Zack Weinberg  <zackw@panix.com>
10239         * string/string.h: Remove obsolete comment stating that
10240         strcoll_l and strxfrm_l have not yet been standardized.
10242 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10244         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10245         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10246         __access_noerrno.
10247         * io/access.c (__access_noerrno): New function.
10248         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10249         (hurd_fail_seterrno): Likewise.
10250         (access_common): Likewise.
10251         (__access_noerrno): Likewise.
10252         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10253         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10254         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10255         macro.
10257 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10259         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10260         Only declare fpregs if [__SH_FPU_ANY__].
10262 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10264         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10265         Make code unconditional.
10266         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10268 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10270         * manual/sysinfo.texi (S_APPEND): Delete.
10271         (S_IMMUTABLE): Likewise.
10273 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10274             Magnus Granberg  <zorry@gentoo.org>
10275             Mike Frysinger  <vapier@gentoo.org>
10277         [BZ #20662]
10278         * configure.ac (libc_cv_predef_stack_protector): Also check for
10279         __stack_chk_fail_local symbols.
10280         * configure: Regenerated.
10282 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10284         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10285         (libc_hidden_def): Remove redefinition.
10286         (__sigsetjmp): Add hidden definition.
10287         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10288         (libc_hidden_def): Remove redefinition.
10289         (__sigsetjmp): Add hidden definition.
10291 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10293         * scripts/build-many-glibcs.py (os.path): Do not import.
10294         (Context): Inherit explicitly from object.  Remove blank line
10295         between class and docstring.
10296         (Config): Likewise.
10297         (Glibc): Likewise.
10298         (Command): Likewise.
10299         (CommandList): Likewise.
10300         (Context.write_files): Store chmod mode in a variable.
10302         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10303         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10304         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10306 2016-11-14  Zack Weinberg  <zackw@panix.com>
10308         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10309         creating or re-creating it.
10311         * string/bits/string2.h: Fix typo in comment.
10313 2016-11-14  Zack Weinberg  <zackw@panix.com>
10315         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10316         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10317         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10318         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10319         of redirected function names.
10321         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10322         as well.  Document that MESSAGE must be a single string literal.
10324 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10326         * scripts/build-many-glibcs.py: New file.
10328         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10329         (do_test): Disable -Wmaybe-uninitialized around uses of
10330         except_mask.
10332         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10334 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10336         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10337         (atomic_store_release): Provide tilepro-specific implementations.
10339 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10341         * math/math.h (__MATH_TG): New macro.
10342         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10343         [__USE_ISOC99] (signbit): Likewise.
10344         [__USE_ISOC99] (isfinite): Likewise.
10345         [__USE_ISOC99] (isnan): Likewise.
10346         [__USE_ISOC99] (isinf): Likewise.
10347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10350         __MATH_TG and __MATH_EVAL_FMT2.
10351         * sysdeps/generic/math_private.h (fabs_tg): Define using
10352         __MATH_TG.
10353         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10354         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10355         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10356         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10357         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10358         macro.
10359         (__iscanonical): Likewise.
10360         (iscanonical): Define using __MATH_TG.
10362 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10364         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10365         guards.
10367         * sysdeps/unix/sysv/linux/access.c: New file.
10368         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10370 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10372         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10373         and __WORDSIZE32_PTRDIFF_LONG.
10375 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10377         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10379 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10381         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10382         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10383         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10384         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10385         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10387         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10388         * sysdeps/unix/sysv/linux/truncate.c: New file.
10389         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10390         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10391         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10392         Remove.
10393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10394         Likewise.
10396         * posix/tst-truncate-common.c: New file.
10397         * posix/tst-truncate.c: Use tst-truncate-common.c.
10398         * posix/tst-truncate64.c: Likewise and add LFS tests.
10399         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10400         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10401         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10402         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10403         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10405         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10406         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10407         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10408         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10409         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10410         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10411         Remove.
10412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10413         Likewise.
10415 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10417         [BZ #20790]
10418         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10419         to MAXLINESIZE.
10420         * sunrpc/bug20790.x: New file.
10421         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10422         variable.
10423         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10424         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10426         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10428         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10430         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10431         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10432         calloc, realloc, free, memalign and __libc_memalign rather than
10433         making them optional.
10435         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10436         for libc.so.
10438 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10440         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10441         ptw-lseek64.
10442         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10443         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10444         Likewise.
10445         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10446         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10447         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10448         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10449         * sysdeps/unix/sysv/linux/lseek.c: New file.
10450         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10451         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10452         __libc_lseek64 from auto-generation.
10453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10454         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10456 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10458         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10459         * nptl/tst-cleanup1.c (do_test): Likewise.
10460         * nptl/tst-cleanup3.c (do_test): Likewise.
10461         * nptl/tst-key1.c (do_test): Likewise.
10462         * nptl/tst-key2.c (tf, do_test): Likewise.
10463         * nptl/tst-key3.c (tf, do_test): Likewise.
10464         * nptl/tst-stdio1.c (do_test): Likewise.
10465         * nptl/tst-stdio2.c (do_test): Likewise.
10467         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10468         * nptl/tst-kill6.c (handler): Likewise.
10469         * nptl/tst-tls2.c (CB): Likewise.
10470         * nptl/tst-tls3.c (CB): Likewise.
10472 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
10474         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10476 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
10477             Steve Ellcey  <sellcey@caviumnetworks.com>
10479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10480           __ASSUME_ST_INO_64_BIT as 0
10481         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10482         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10483           over the code where __ASSUME_ST_INO_64_BIT is used.
10484         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10485         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10486         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10488 2016-11-07  Florian Weimer  <fweimer@redhat.com>
10490         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10491         Document ABI exposure of the __kind offset.
10492         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10493         Mention reason for the __kind offset exposure in the ABI.
10494         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10495         Likewise.
10496         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10497         Likewise.
10498         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10499         Likewise.
10500         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10501         (struct __pthread_mutex_s): Likewise.
10502         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10503         Likewise.
10504         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10505         Likewise.
10506         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10507         Likewise.
10508         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10509         Likewise.
10510         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10511         Likewise.
10512         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10515         (struct __pthread_mutex_s): Likewise.
10516         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10517         (struct __pthread_mutex_s): Likewise.
10518         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10519         Likewise.
10521 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10523         * test-skeleton.c: Document do_test usage.
10525 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10527         * iconv/gconv.h (__gconv_info): Define __data element using a
10528         zero-length array.
10530 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10532         * math/test-tgmath2.c: Split up test function.
10534 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10536         * Rules (tests-expected): New variable, depending on
10537         $(run-built-tests).
10538         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10539         $(tests).
10541         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10542         $(tests-unsupported).
10544 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10546         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10547         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10549 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10551         [BZ #20768]
10552         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10553         __fegetenv instead of fegetenv.
10555         [BZ #14139]
10556         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10557         (find_files): Obtain platform name from libm-test-ulps-name and
10558         store in %pplatforms.
10559         (canonicalize_platform): Remove.
10560         (print_platforms): Use $pplatforms directly.
10561         (by_platforms): Do not allow for platforms missing from
10562         %pplatforms.
10563         * sysdeps/aarch64/libm-test-ulps-name: New file.
10564         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10565         * sysdeps/arm/libm-test-ulps-name: Likewise.
10566         * sysdeps/generic/libm-test-ulps-name: Likewise.
10567         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10568         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10569         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10570         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10571         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10572         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10573         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10574         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10575         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10576         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10577         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10578         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10579         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10580         * sysdeps/sh/libm-test-ulps-name: Likewise.
10581         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10582         * sysdeps/tile/libm-test-ulps-name: Likewise.
10583         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10585         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10587         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10588         (test-xfail-check-execstack): New variable.
10590         * sysdeps/mips/localplt.data: New file.
10592 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10593             Steve Ellcey  <sellcey@caviumnetworks.com>
10595         * bits/wordsize.h: Add documentation.
10596         * sysdeps/aarch64/bits/wordsize.h : New file
10597         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10598         definitions.
10599         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10600         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10601         with #if instead of #ifdef.
10602         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10603         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10604         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10605         Add or change defines.
10606         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10607         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10608         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10609         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10610         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10611         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10612         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10613         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10614         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10615         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10616         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10617         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10618         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10619         * sysdeps/x86/bits/wordsize.h: Likewise.
10621 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10622             Kevin Petit  <kevin.petit@arm.com>
10624         * sysdeps/aarch64/memchr.S (__memchr): New file.
10626 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10628         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10630 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10632         [BZ #19398]
10633         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10634         $(linknamespace-symlists-tests).
10636 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10638         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10640 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10641             Carlos O'Donell  <carlos@redhat.com>
10643         [Bug #20729]
10644         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10645         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10646         for -Os related change.
10648 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10650         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10652 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10654         [BZ #19673]
10655         * manual/math.texi (Exponents and Logarithms): Correct description
10656         of clog10.
10658 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10660         [Bz #20729]
10661         * locale/weight.h: Include libc-internal.h.
10662         * locale/weightwc.h: Likewise.
10663         * nptl/nptl_dbP.h: Likewise.
10665 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10667         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10668         when it is MACH_PORT_NULL.
10670 2016-10-31  Andreas Schwab  <schwab@suse.de>
10672         [BZ #20707]
10673         * posix/glob.c (glob): Initialize pglob before checking for
10674         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10675         valid brace expression despite GLOB_BRACE.
10676         * posix/globtest.sh: Test it.
10678 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10680         [BZ #20729]
10681         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10682         Define.
10683         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10684         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10685         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10686         for seq2.back_us and seq1.back_us only for -Os compiles.
10687         * locale/weightwc.h (findix): Likewise.
10688         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10689         DB_GET_FIELD_ADDRESS only for -Os compiles.
10690         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10691         for slen only for -Os compiles.
10692         * string/strcoll_l.c (get_next_seq): Ignore
10693         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10694         for -Os compiles.
10696         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10697         * include/crypt.h: New file.
10699 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10701         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10702         from test-skeleton.c.
10703         (statclass): Replace calls to write with calls to write_message.
10705 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10707         * math/math.h
10708         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10709         New macro.
10710         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10711         Likewise.
10712         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10713         Likewise.
10714         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10715         SNANL.
10716         * math/test-double.h (snan_value_MACRO): New macro.
10717         * math/test-float.h (snan_value_MACRO): Likewise.
10718         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10719         * math/libm-test.inc (issignaling_test_data): Add tests of
10720         snan_value_MACRO.
10722 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10724         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10725         behavior when eliding a lock not held by the current thread.
10726         * sysdeps/powerpc/nptl/elide.h: Likewise.
10728 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10730         [BZ #20728]
10731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10732         branch to _exit() by a function call.
10734 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10736         * malloc/malloc.c: Update chunk layout comments.
10737         (chunk_main_arena): Update comment.
10739 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10741         * crypt/sha256.c, crypt/sha256-block.c,
10742         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10743         sha256_process_block to __sha256_process_block.
10744         * crypt/sha512.c, crypt/sha512-block.c,
10745         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10746         sha512_process_block to __sha512_process_block.
10748 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10750         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10752         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10754 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10756         [BZ #20019]
10757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10758         definition in unrelocated shared library.
10759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10761 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10763         [BZ #20729]
10764         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10765         * sysdeps/unix/sysv/linux/i386/Makefile
10766         (uses-6-syscall-arguments): Define.
10767         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10768         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10769         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10770         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10771         Likewise.
10772         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10773         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10774         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10775         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10776         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10777         (CFLAGS-fallocate64.os): Likewise.
10778         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10779         (CFLAGS-pthread_rwlock_timedrdlock.os)
10780         (CFLAGS-pthread_rwlock_timedwrlock.o)
10781         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10782         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10783         (CFLAGS-sem_timedwait.os): Likewise.
10785 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10787         * elf/tst-linkall-static.c: New file.
10788         * elf/Makefile (tests-static): Add tst-linkall-static.
10789         (tst-linkall-static): Link against static libraries.
10791 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10793         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10794         mmaped chunks.
10796 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10798         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10799         members to mchunk_prev_size, mchunk_size.
10800         (chunk_main_arena): Reverse sense and rename from
10801         chunk_non_main_arena.
10802         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10803         mchunk_size instead of size.
10804         (set_non_main_arena): Define.
10805         (chunksize): Use chunksize_nomask instead of direct member access.
10806         (chunksize_nomask): Define.
10807         (next_chunk): Use chunksize instead of direct member access.
10808         (prev_size, set_prev_size): Define.
10809         (prev_chunk): Use prev_size instead of direct member access.
10810         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10811         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10812         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10813         (mchunk_prev_size, mchunk_size): Poison tokens.
10814         (unlink): Use chunksize_nomask, prev_size accessors.
10815         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10816         (do_check_free_chunk): Use prev_size accessor.
10817         (sysmalloc): Use set_prev_size, set_head accessors.
10818         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10819         (__libc_free): Use chunksize_nomask accessor.
10820         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10821         chunk_main_arena accessors.
10822         (_int_free): Use chunksize_nomask, prev_size accessors.
10823         (malloc_consolidate): Use chunksize, prev_size accessors.
10824         (_int_realloc): Use chunksize_nomask accessor.
10825         (_int_memalign): Use set_prev_size accessor.
10826         (__malloc_info): Use chunksize_nomask accessor.
10827         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10828         accessors.
10829         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10830         (heap_trim): Use chunksize_nomask, prev_size accessors.
10832 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10834         [BZ #19380]
10835         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10836         for inexact results.
10837         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10838         of inexact result where mpfr_subnormalize is the only inexact
10839         step.
10840         * stdlib/tst-strtod-round-data.h: Regenerated.
10841         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10842         Define to 0.
10843         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10845 2016-10-27  David S. Miller  <davem@davemloft.net>
10847         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10849 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10851         * malloc/malloc.c (do_set_mallopt_check): New function.
10852         (do_set_mmap_threshold): Likewise.
10853         (do_set_mmaps_max): Likewise.
10854         (do_set_top_pad): Likewise.
10855         (do_set_perturb_byte): Likewise.
10856         (do_set_trim_threshold): Likewise.
10857         (do_set_arena_max): Likewise.
10858         (do_set_arena_test): Likewise.
10859         (__libc_mallopt): Use them.
10861 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10863         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10864         (canonicalize): New declaration.
10865         * math/Versions (canonicalize): New libm symbol at version
10866         GLIBC_2.25.
10867         (canonicalizef): Likewise.
10868         (canonicalizel): Likewise.
10869         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10870         * math/s_canonicalize_template.c: New file.
10871         * math/libm-test.inc: Update comment on functions tested and
10872         testing of NaN payloads.
10873         (TEST_NAN_PAYLOAD): New macro.
10874         (NO_TEST_INLINE): Update value.
10875         (XFAIL_TEST): Likewise.
10876         (ERRNO_UNCHANGED): Likewise.
10877         (ERRNO_EDOM): Likewise.
10878         (ERRNO_ERANGE): Likewise.
10879         (IGNORE_RESULT): Likewise.
10880         (NON_FINITE): Likewise.
10881         (TEST_SNAN): Likewise.
10882         (NO_TEST_MATHVEC): Likewise.
10883         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10884         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10885         (struct test_Ffp_b1_data): New type.
10886         (RUN_TEST_Ffp_b1): New macro.
10887         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10888         (canonicalize_test_data): New array.
10889         (canonicalize_test): New function.
10890         (main): Call canonicalize_test.
10891         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10892         canonicalizef and canonicalizel.
10893         * manual/libm-err-tab.pl: Update comment on interfaces without
10894         ulps tabulated.
10895         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10896         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10897         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10898         canonicalize.
10899         (CFLAGS-nldbl-canonicalize.c): New variable.
10900         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10901         to ...
10902         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10903         ... here.
10904         (do_test): Also test canonicalizel.
10905         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10906         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10907         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10908         file.
10909         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10910         Use libm_hidden_def.
10911         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10912         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10913         (do_test): Also test canonicalizel.
10914         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10915         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10916         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10917         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10918         libm_hidden_def.
10919         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10920         macro.
10921         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10922         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10923         * sysdeps/nacl/libm.abilist: Update.
10924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10925         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10926         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10927         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10928         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10929         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10930         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10931         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10932         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10933         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10934         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10935         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10937         Likewise.
10938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10939         Likewise.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10941         Likewise.
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10943         Likewise.
10944         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10945         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10946         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10947         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10948         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10950         Likewise.
10951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10952         Likewise.
10953         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10954         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10955         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10957         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10958         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10959         getpayload.
10960         (CFLAGS-nldbl-getpayload.c): New variable.
10962 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10964         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10965         integer from the format string.
10967 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10969         [BZ #19473]
10970         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10971         declarations.
10972         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10973         weak aliases.
10974         * malloc/hooks.c (__malloc_get_state): Remove definition.
10975         (malloc_get_state): New stub implementation as
10976         compatibility symbol.
10977         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10978         compat symbol.
10979         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10980         malloc_set_state.
10981         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10983 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10985         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10986         (names): Turn into concatenation of strings.
10987         (gconv_init): Adapt iteration over names.
10989 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10991         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10992         make const.
10993         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10994         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10995         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10996         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10997         character in sbconv.
10998         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10999         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11000         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11002 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11004         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11006         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11007         (M_TRIM_THRESHOLD): Likewise.
11009         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11010         (M_ARENA_MAX): Likewise.
11011         * malloc/malloc.c: Remove obsolete comment.
11013         * manual/memory.texi: Add environment variable alternatives to
11014         setting mallopt parameters.
11016 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11018         * include/atomic.h
11019         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11020         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11022 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11024         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11025         * stdlib/tst-strfrom.h: New file.
11026         * stdlib/tst-strfrom.c: New file.
11027         * stdlib/tst-strfrom-locale.c: New file.
11029         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11030         * stdlib/bug-strtod2.c: Likewise.
11031         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11032         * stdlib/tst-strtod6.c: Likewise.
11033         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11035 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11037         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11038         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11039         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11040         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11041         * stdlib/stdlib.h (strfromd): New declaration.
11042         (strfromf): Likewise.
11043         (strfroml): Likewise.
11044         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11045         strfrom.
11046         * stdlib/strfromd.c: New file.
11047         * stdlib/strfromf.c: Likewise.
11048         * stdlib/strfroml.c: Likewise.
11049         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11050         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11051         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11052         * sysdeps/arm/nacl/libc.abilist: Update.
11053         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11062         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11065         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11066         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11072         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11078         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11079         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11080         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11082 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11084         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11085         instead of cmpli.
11086         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11087         instead of cmpli.
11089 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11091         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11092         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11093         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11094         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11095         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11096         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11098 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11100         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11101         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11102         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11103         SYSCALL_LL64_PRW.
11104         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11105         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11106         __ASSUME_PRW_DUMMY_ARG.
11107         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11108         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11109         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11110         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11111         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11112         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11114 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11116         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11118 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11120         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11121         "C++", to override a potential extern "C" directive around the
11122         header file inclusion.
11124 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11126         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11128 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11130         * sysdeps/powerpc/fpu/fenv_private.h:
11131         (_FPU_MASK_ALL): Rename to...
11132         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11133         XE FPSCR bits.
11135         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11137         (_FPU_MASK_ROUNDING): Rename to...
11138         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11139         NI bits.
11141         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11142         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11143         bits and rounding bits.
11145         (__libc_feholdbits_ppc): New inline function to mask, set,
11146         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11147         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11148         (libc_feholdexcept_setround_ppc): Likewise.
11150         (__libc_femergeenv_ppc): New function to dynamically mask both
11151         old and new FP environments and merge.
11152         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11153         (libc_feresetround_ppc): Likewise.
11154         (libc_feupdateenv_test_ppc): Likewise.
11155         (libc_feupdateenv_ppc): Likewise.
11157         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11158         of ISA RN bits, and update macro names.
11159         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11160         effectively the same as the previously mentioned function.
11162         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11163         usage with fe_resetround_ppc.
11165         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11166         to be used.
11167         (libc_feholdexcept_setround_ctxf): Likewise.
11168         (libc_feholdexcept_setround_ctxl): Likewise.
11170 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11172         [BZ #20715]
11173         * math/math.h [__cplusplus] (iszero): Define as function template.
11174         * math/Makefile [CXX] (tests): Add test-math-iszero.
11175         (CFLAGS-test-math-iszero.cc): Set.
11176         * math/test-math-iszero.cc: New file.
11178 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11180         [BZ #20660]
11181         * sysdeps/arm/e_sqrt.c: New file.
11182         * sysdeps/arm/e_sqrtf.c: Likewise.
11184 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11186         [BZ #20718]
11187         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11188         not use floating-point comparisons to test sign.
11189         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11190         Likewise.
11192         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11193         (getpayload): New declaration.
11194         * math/Versions (getpayload): New libm symbol at version
11195         GLIBC_2.25.
11196         (getpayloadf): Likewise.
11197         (getpayloadl): Likewise.
11198         * math/Makefile (libm-calls): Add s_getpayloadF.
11199         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11200         (struct test_f_f_data): Add comment.
11201         (RUN_TEST_fp_f): New macro.
11202         (RUN_TEST_LOOP_fp_f): Likewise.
11203         (getpayload_test_data): New array.
11204         (getpayload_test): New function.
11205         (main): Call getpayload_test.
11206         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11207         descriptor.
11208         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11209         getpayloadf and getpayloadl.
11210         * manual/libm-err-tab.pl: Update comment on interfaces without
11211         ulps tabulated.
11212         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11213         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11214         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11215         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11216         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11217         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11218         * sysdeps/nacl/libm.abilist: Update.
11219         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11221         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11225         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11226         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11227         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11228         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11229         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11230         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11234         Likewise.
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11236         Likewise.
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11240         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11241         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11242         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11243         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11245         Likewise.
11246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11247         Likewise.
11248         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11249         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11250         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11252 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11254         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11255         tst-fallocate{64}.
11256         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11257         on syscall return.
11259 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11261         [BZ #20689]
11262         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11263         usable.
11265 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11267         * sysdeps/generic/nan-high-order-bit.h: New file.
11268         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11269         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11270         * sysdeps/hppa/math_private.h: Remove file.
11271         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11272         not define here.
11273         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11274         <nan-high-order-bit.h>.
11275         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11276         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11277         <nan-high-order-bit.h>.
11278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11279         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11280         <nan-high-order-bit.h>.
11281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11282         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11283         <nan-high-order-bit.h>.
11284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11285         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11286         <nan-high-order-bit.h>.
11287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11288         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11289         <nan-high-order-bit.h>.
11290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11291         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11292         <nan-high-order-bit.h>.
11293         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11294         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11295         <nan-high-order-bit.h>.
11296         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11297         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11298         <nan-high-order-bit.h>.
11299         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11300         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11301         <nan-high-order-bit.h>.
11302         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11303         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11304         <nan-high-order-bit.h>.
11305         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11306         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11307         <nan-high-order-bit.h>.
11308         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11309         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11310         <nan-high-order-bit.h>.
11311         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11312         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11313         <nan-high-order-bit.h>.
11314         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11315         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11316         <nan-high-order-bit.h>.
11317         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11318         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11319         <nan-high-order-bit.h>.
11320         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11321         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11322         <nan-high-order-bit.h>.
11323         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11324         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11325         <nan-high-order-bit.h>.
11326         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11328 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11330         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11332 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11334         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11335         abort-instr.h.
11336         (EFAULT): Remove conditional define.
11337         (ENOSYS): Likewise.
11338         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11339         instead of conditional branch instructions.
11341 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11343         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11344         (totalordermag): New declaration.
11345         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11346         New macro.
11347         * math/Versions (totalordermag): New libm symbol at version
11348         GLIBC_2.25.
11349         (totalordermagf): Likewise.
11350         (totalordermagl): Likewise.
11351         * math/Makefile (libm-calls): Add s_totalordermagF.
11352         * math/libm-test.inc (totalordermag_test_data): New array.
11353         (totalordermag_test): New function.
11354         (main): Call totalordermag_test.
11355         * math/test-tgmath.c (NCALLS): Increase to 125.
11356         (F(compile_test)): Call totalordermag.
11357         (F(totalordermag)): New function.
11358         * manual/arith.texi (FP Comparison Functions): Document
11359         totalordermag, totalordermagf and totalordermagl.
11360         * manual/libm-err-tab.pl: Update comment on interfaces without
11361         ulps tabulated.
11362         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11363         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11364         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11367         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11368         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11369         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11370         totalordermag.
11371         (CFLAGS-nldbl-totalordermag.c): New variable.
11372         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11373         (do_test): Also test totalordermagl.
11374         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11375         Likewise.
11376         * sysdeps/nacl/libm.abilist: Update.
11377         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11378         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11379         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11380         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11381         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11382         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11384         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11385         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11386         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11387         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11388         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11390         Likewise.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11392         Likewise.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11396         Likewise.
11397         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11398         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11399         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11400         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11401         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11403         Likewise.
11404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11405         Likewise.
11406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11407         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11408         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11410 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11412         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11413         boolean.
11415 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11417         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11418         raising FE_INVALID with feraisexcept in case where part of
11419         argument is infinite, subtract that part of argument from itself.
11420         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11421         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11422         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11424 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11426         * math/libm-test.inc (totalorder_test_data): Add more tests.
11428 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11430         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11431         Undefine weak_alias and add a comment why mips64 require
11432         versioning.
11434 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11436         [BZ #20647]
11437         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11438         maximum CPUID level is less than 2.
11440 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11442         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11443         (totalorder): New declaration.
11444         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11445         New macro.
11446         * math/Versions (totalorder): New libm symbol at version
11447         GLIBC_2.25.
11448         (totalorderf): Likewise.
11449         (totalorderl): Likewise.
11450         * math/Makefile (libm-calls): Add s_totalorderF.
11451         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11452         string.
11453         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11454         (qnan_value_pl): Likewise.
11455         (snan_value_pl): Likewise.
11456         (qnan_value): Define using qnan_value_pl.
11457         (snan_value): Define using snan_value_pl.
11458         (struct test_ff_i_data): Add comment about which tests use this
11459         structure.
11460         (RUN_TEST_ff_b): New macro.
11461         (RUN_TEST_LOOP_ff_b): Likewise.
11462         (totalorder_test_data): New array.
11463         (totalorder_test): New function.
11464         (main): Call totalorder_test.
11465         * math/test-tgmath.c (NCALLS): Increase to 122.
11466         (F(compile_test)): Call totalorder.
11467         (F(totalorder)): New function.
11468         * manual/arith.texi (FP Comparison Functions): Document
11469         totalorder, totalorderf and totalorderl.
11470         * manual/libm-err-tab.pl: Update comment on interfaces without
11471         ulps tabulated.
11472         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11473         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11474         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11477         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11478         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11479         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11480         totalorder.
11481         (CFLAGS-nldbl-totalorder.c): New variable.
11482         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11483         file.
11484         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11485         Add test-totalorderl-ldbl-128ibm.
11486         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11487         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11488         test-totalorderl-ldbl-96.
11489         * sysdeps/nacl/libm.abilist: Update.
11490         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11491         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11492         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11493         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11494         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11496         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11497         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11498         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11499         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11500         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11501         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11503         Likewise.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11505         Likewise.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11507         Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11512         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11513         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11514         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11516         Likewise.
11517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11518         Likewise.
11519         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11523 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11525         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11526         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11527         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11528         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11529         remove ENOSYS implementation.
11530         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11531         Consolidate all Linux implementations.
11533 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11535         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11536         * resolv/herror.c (herror): Cast away const-ness.
11537         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11538         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11540 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11542         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11543         instead of M_NAN + M_NAN.
11544         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11546 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11548         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11549         unused variable 'p'.
11551 2016-10-09  Alan Modra  <amodra@gmail.com>
11552             Andreas Schwab  <schwab@linux-m68k.org>
11554         [BZ #20554]
11555         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11556         [PIC && !SHARED]: Set up PIC register for PLT call.
11558 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11560         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11561         conditional on value of [__FLT_EVAL_METHOD__].
11562         * math/test-iseqsig-excess-precision.c: New file.
11563         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11565 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11567         * math/s_iseqsig_template.c: Include math-private.h.
11569         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11570         * posix/tst-posix_fadvise.c: New file.
11571         * posix/tst-posix_fadvise64.c: Likewise.
11572         * posix/tst-posix_fadvise-common.c: Likewise.
11573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11574         (__ASSUME_FADVISE64_64_6ARG): Define.
11575         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11576         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11577         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11578         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11579         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11580         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11581         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11582         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11583         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11584         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11585         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11586         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11589         Likewise.
11590         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11591         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11592         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11593         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11594         Alias to __posix_fadvise64_l32.
11595         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11596         Add compat definition to posix_fadvise64.
11597         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11598         Add versioned definition to posix_fadvise64.
11599         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11600         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11601         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11602         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11603         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11605         * io/Makefile (tests): Add tst-posix_fallocate and
11606         tst-posix_fallocate64.
11607         * io/tst-posix_fallocate-common.c: New file.
11608         * io/tst-posix_fallocate.c: Likewise.
11609         * io/tst-posix_fallocate64.c: Likewise.
11610         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11611         file.
11612         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11613         Likewise.
11614         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11615         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11616         Likewise.
11617         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11619         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11620         SYSCALL_LL to pass both offset and len arguments.
11621         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11622         Likewise.
11623         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11624         __libc_pwrite64 alias used by posix_fallocate64.
11626         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11627         tst-fallocate64.
11628         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11629         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11630         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11631         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11632         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11633         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11634         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11635         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11636         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11637         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11638         macro on offset argument.
11639         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11640         SYSCALL_LL64 on offset argument.
11642         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11643         tst-fallocate64.
11644         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11645         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11646         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11647         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11648         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11649         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11650         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11652         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11653         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11654         macro on offset argument.
11655         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11656         SYSCALL_LL64 on offset argument.
11657         * test-skeleton.c (FAIL_RET): Add macro.
11658         (FAIL_EXIT): Likewise.
11659         (FAIL_EXIT1): Likewise.
11660         (_FAIL): Likewise.
11662 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11664         [BZ #20629]
11665         resolv: Remove RES_USEBSTRING and its implementation.
11666         * resolv/resolv.h (RES_USEBSTRING): Remove.
11667         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11668         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11669         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11670         (labellen): Remove extended label types support.
11671         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11672         * resolv/res_init.c (res_setoptions): Likewise.
11673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11675 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11677         resolv: Remove RES_NOIP6DOTINT and its implementation.
11678         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11679         (RES_NOIP6DOTINT): Remove.
11680         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11681         handling.
11682         * resolv/res_debug.c (p_option): Likewise.
11683         * resolv/res_init.c (res_setoptions): Likewise.
11684         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11686 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11688         resolv: Deprecate unimplemented flags.
11689         * misc/sys/cdefs.h (__glibc_macro_warning1)
11690         (__glibc_macro_warning): Define.
11691         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11692         (RES_KEEPTSIG): Mark as deprecated.
11693         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11694         RES_NOCHECKNAME, RES_KEEPTSIG.
11695         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11697 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11699         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11700         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11701         Use strong_alias to create symbols for glibc verison 2.19.
11703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11705         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11707 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11709         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11711 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11713         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11715 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11717         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11718         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11719         in header for using it as type for ifunc function because __GI_* symbols
11720         for ppc32 do not target the ifunc symbols.
11721         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11723 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11725         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11726         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11727         libc_ifunc_hidden_def.
11728         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11729         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11730         Redirect ifunced function in header for using it as type of ifunc'ed
11731         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11732         function for __GI_* symbol.
11733         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11734         * include/libc-symbols.h
11735         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11737 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11739         [BZ #20478]
11740         * sysdeps/s390/multiarch/ifunc-resolve.h
11741         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11742         to create ifunc symbols.
11743         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11744         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11745         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11746         for using it as type for ifunc function.
11747         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11748         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11749         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11750         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11751         * sysdeps/s390/multiarch/strcat.c: Likewise.
11752         * sysdeps/s390/multiarch/strchr.c: Likewise.
11753         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11754         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11755         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11756         * sysdeps/s390/multiarch/strlen.c: Likewise.
11757         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11758         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11759         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11760         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11761         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11762         * sysdeps/s390/multiarch/strspn.c: Likewise.
11763         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11764         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11765         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11766         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11767         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11768         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11769         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11770         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11771         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11772         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11773         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11774         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11776 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11778         * include/libc-symbols.h (__ifunc_resolver):
11779         New macro is used by __ifunc* macros.
11780         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11781         depending on HAVE_GCC_IFUNC.
11782         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11783         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11785         Redirect ifunced function in header for using as type for ifunc function.
11786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11792         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11793         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11794         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11796         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11797         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11798         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11805         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11806         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11808         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11809         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11810         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11811         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11812         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11813         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11814         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11815         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11816         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11817         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11818         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11820         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11821         instead of libc_ifunc() macro.
11822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11825 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11827         * config.h.in (HAVE_GCC_IFUNC): New undef.
11828         * configure.ac: Add check if gcc supports attribute ifunc feature.
11829         * configure: Regenerated.
11830         * manual/install.texi: Add recommendation for gcc with
11831         indirect-function support.
11832         * INSTALL: Regenerated.
11834 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11836         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11837         macro.
11838         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11839         (__iseqsig): New declaration.
11840         * math/s_iseqsig_template.c: New file.
11841         * math/Versions (__iseqsigf): New libm symbol at version
11842         GLIBC_2.25.
11843         (__iseqsig): Likewise.
11844         (__iseqsigl): Likewise.
11845         * math/libm-test.inc (iseqsig_test_data): New array.
11846         (iseqsig_test): New function.
11847         (main): Call iseqsig_test.
11848         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11849         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11850         * manual/libm-err-tab.pl: Update comment on interfaces without
11851         ulps tabulated.
11852         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11853         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11854         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11855         * sysdeps/nacl/libm.abilist: Update.
11856         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11857         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11858         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11859         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11860         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11861         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11864         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11865         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11866         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11869         Likewise.
11870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11871         Likewise.
11872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11873         Likewise.
11874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11875         Likewise.
11876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11884         Likewise.
11885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11886         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11887         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11889 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11891         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11892         do_sincos_2, sloww, sloww1): Update comments.
11894         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11895         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11897         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11898         K boolean and rename it.
11899         (__sin): Adjust.
11900         (__cos): Adjust.
11902 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11903             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11905         * manual/nss.texi: Fix typos in the manual.
11907 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11909         * manual/contrib.texi: Fix typos in the manual.
11911         * manual/maint.texi: Fix typos in the manual.
11913         * manual/install.texi: Fix typos in the manual.
11914         * INSTALL: Regenerated.
11916         * manual/lang.texi: Fix typos in the manual.
11918         * manual/probes.texi: Fix typos in the manual.
11920         * manual/threads.texi: Fix typos in the manual.
11922         * manual/debug.texi: Fix typos in the manual.
11924         * manual/crypt.texi: Fix typos in the manual.
11926         * manual/conf.texi: Fix typos in the manual.
11928         * manual/sysinfo.texi: Fix typos in the manual.
11930         * manual/users.texi: Fix typos in the manual.
11932         * manual/job.texi: Fix typos in the manual.
11934         * manual/process.texi: Fix typos in the manual.
11936         * manual/argp.texi: Fix typos in the manual.
11937         * manual/getopt.texi: Likewise.
11938         * manual/startup.texi: Likewise.
11940         * manual/signal.texi: Fix typos in the manual.
11942         * manual/setjmp.texi: Fix typos in the manual.
11944         * manual/resource.texi: Fix typos in the manual.
11946         * manual/time.texi: Fix typos in the manual.
11948         * manual/arith.texi: Fix typos in the manual.
11950         * manual/math.texi: Fix typos in the manual.
11952         * manual/syslog.texi: Fix typos in the manual.
11954         * manual/terminal.texi: Fix typos in the manual.
11956         * manual/socket.texi: Fix typos in the manual.
11958         * manual/filesys.texi: Fix typos in the manual.
11960         * manual/llio.texi: Fix typos in the manual.
11962         * manual/stdio.text: Fix typos in the manual.
11964 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11966         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11967         instead of K1.
11969         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11970         SHIFT_QUADRANT and make it bool.
11971         (do_sincos_2): Likewise.
11972         (sloww): Likewise.
11973         (sloww1): Likewise.
11974         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11975         (__cos): Likewise.
11977 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11979         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11981 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11983         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11984         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11985         0x7fffffffL].
11986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11988 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11990         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11991         inline by __inline__.
11992         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11993         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11994         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11995         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11996         sigset_t from signal.h.
11997         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11998         which is already required.
12000 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12002         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12004 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12006         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12007         (struct tcp_repair_window): New type.
12009 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12011         * libio/tst-memstream3.c: Include string.h.
12013 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12015         [BZ #18241]
12016         [BZ #20181]
12017         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12018         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12019         write position is at the end the buffer.
12020         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12021         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12022         (_IO_str_seekoff): Set correct offset from negative displacement and
12023         set EINVAL for invalid ones.
12024         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12025         buffer length.
12026         (_IO_wstr_switch_to_get_mode): New function.
12027         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12028         set EINVAL for invalid ones.
12029         * libio/tst-memstream3.c: New file.
12030         * libio/tst-wmemstream3.c: Likewise.
12031         * manual/examples/memstrm.c: Remove warning when priting size_t.
12033 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12035         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12036         macro to use __builtin_fma.
12037         * sysdeps/x86_64/fpu/dla.h: Remove file.
12039         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12040         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12041         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12043 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12045         [BZ #20292]
12046         * elf/Makefile (routines): Add dl-addr-obj.
12047         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12048         tst-_dl_addr_inside_object.
12049         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12050         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12051         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12052         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12053         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12054         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12055         * elf/dl-open.c: Likewise.
12056         * elf/dl-addr-obj.c: New file.
12057         * elf/tst-_dl_addr_inside_object.c: New file.
12059 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12061         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12062         <bits/iscanonical.h>.
12063         * bits/iscanonical.h: New file.
12064         * math/s_iscanonicall.c: Likewise.
12065         * math/Versions (__iscanonicall): New libm symbol at version
12066         GLIBC_2.25.
12067         * math/libm-test.inc (iscanonical_test_data): New array.
12068         (iscanonical_test): New function.
12069         (main): Call iscanonical_test.
12070         * math/Makefile (headers): Add bits/iscanonical.h.
12071         (type-ldouble-routines): Add s_iscanonicall.
12072         * manual/arith.texi (Floating Point Classes): Document
12073         iscanonical.
12074         * manual/libm-err-tab.pl: Update comment on interfaces without
12075         ulps tabulated.
12076         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12077         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12078         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12079         Likewise.
12080         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12081         test-iscanonical-ldbl-128ibm.
12082         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12083         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12084         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12085         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12086         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12087         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12090         Likewise.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12092         Likewise.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12094         Likewise.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12096         Likewise.
12097         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12100 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12102         * string/bits/string3.h: Remove C++ style comments.
12104 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12106         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12107         instead of ternary condition.
12108         (do_sincos_2): Likewise.
12109         (__sin): Likewise.
12110         (__cos): Likewise.
12111         (slow): Likewise.
12112         (sloww): Likewise.
12113         (sloww1): Likewise.
12114         (bsloww): Likewise.
12115         (bsloww1): Likewise.
12117         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12118         instead of ternary condition.
12119         (do_sin_slow): Likewise.
12120         (do_sincos_1): Likewise.
12121         (do_sincos_2): Likewise.
12122         (__cos): Likewise.
12123         (sloww): Likewise.
12124         (sloww1): Likewise.
12125         (sloww2): Likewise.
12126         (bsloww): Likewise.
12127         (bsloww1): Likewise.
12128         (bsloww2): Likewise.
12130         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12131         check from here...
12132         (slow2): ... and here...
12133         (__sin): ... to here.
12135 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12137         * math/math.h
12138         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12139         Cast argument to its own type.
12140         * math/test-iszero-excess-precision.c: New file.
12141         * math/Makefile (tests): Add test-iszero-excess-precision.
12142         (CFLAGS-test-iszero-excess-precision.c): New variable.
12144 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12146         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12147         field, add err field.
12148         (__spawni_child): Report error through err member instead of pipe.
12149         (__spawnix): Likewise.
12151 2016-09-28  Zack Weinberg  <zackw@panix.com>
12153         * scripts/check-installed-headers.sh: Generalize treatment of
12154         sys/elf.h to all target architectures.
12156         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12157         deleted typedef ucontext_t.
12159 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12161         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12162         (__INTERNAL_SYSCALL1): Likewise.
12163         (__INTERNAL_SYSCALL2): Likewise.
12164         (__INTERNAL_SYSCALL3): Likewise.
12165         (__INTERNAL_SYSCALL4): Likewise.
12166         (__INTERNAL_SYSCALL5): Likewise.
12167         (__INTERNAL_SYSCALL6): Likewise.
12168         (__INTERNAL_SYSCALL7): Likewise.
12169         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12170         (__INTERNAL_SYSCALL_NARGS): Likewise.
12171         (__INTERNAL_SYSCALL_DISP): Likewise.
12172         (INTERNAL_SYSCALL_CALL): Likewise.
12173         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12174         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12175         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12176         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12177         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12178         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12179         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12180         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12181         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12182         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12183         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12184         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12185         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12187 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12189         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12190         macro.
12191         * math/libm-test.inc (iszero_test_data): New array.
12192         (iszero_test): New function.
12193         (main): Call iszero_test.
12194         * manual/arith.texi (Floating Point Classes): Document iszero.
12195         * manual/libm-err-tab.pl: Update comment on interfaces without
12196         ulps tabulated.
12198 2016-09-23  Zack Weinberg  <zackw@panix.com>
12200         * scripts/check-installed-headers.sh: New script.
12201         * Rules: In each directory that defines header files to be installed,
12202         run check-installed-headers.sh on them as a special test.
12203         * Makefile: Likewise for the headers installed at top level.
12205         * include/aliases.h, include/alloca.h, include/argz.h
12206         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12207         * include/elf.h, include/envz.h, include/err.h
12208         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12209         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12210         * include/link.h, include/malloc.h, include/mcheck.h
12211         * include/mntent.h, include/netinet/ether.h
12212         * include/nss.h, include/obstack.h, include/printf.h
12213         * include/pty.h, include/resolv.h, include/rpc/auth.h
12214         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12215         * include/rpc/clnt.h, include/rpc/des_crypt.h
12216         * include/rpc/key_prot.h, include/rpc/netdb.h
12217         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12218         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12219         * include/rpc/rpc_msg.h, include/rpc/svc.h
12220         * include/rpc/svc_auth.h, include/rpc/xdr.h
12221         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12222         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12223         * include/rpcsvc/ypupd.h, include/shadow.h
12224         * include/stdio_ext.h, include/sys/epoll.h
12225         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12226         * include/sys/prctl.h, include/sys/profil.h
12227         * include/sys/statfs.h, include/sys/sysctl.h
12228         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12229         * sysdeps/arm/nacl/include/bits/setjmp.h
12230         * sysdeps/mips/include/sys/asm.h
12231         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12232         * sysdeps/unix/sysv/linux/include/sys/timex.h
12233         * sysdeps/x86/fpu/include/bits/fenv.h:
12234         Add #ifndef _ISOMAC guard around internal declarations.
12235         Add multiple-inclusion guard if not already present.
12237 2016-09-23  Zack Weinberg  <zackw@panix.com>
12239         * sysdeps/generic/sys/ucontext.h
12240         * sysdeps/arm/sys/ucontext.h
12241         * sysdeps/i386/sys/ucontext.h
12242         * sysdeps/m68k/sys/ucontext.h
12243         * sysdeps/mips/sys/ucontext.h
12244         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12245         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12246         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12247         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12248         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12249         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12250         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12251         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12252         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12253         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12254         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12255         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12256         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12257         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12258         Include both bits/sigcontext.h and bits/sigstack.h.
12259         Fix grammar error in comment, if present.
12261         * bits/sigstack.h
12262         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12263         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12264         * sysdeps/unix/sysv/linux/bits/sigstack.h
12265         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12266         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12267         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12268         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12269         * bits/sigcontext.h
12270         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12271         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12272         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12273         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12274         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12275         as well as signal.h, if this was not already allowed.  Request
12276         definition of size_t if necessary.  Minimize semantically-null
12277         differences across files.
12279 2016-09-23  Zack Weinberg  <zackw@panix.com>
12281         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12282         Remove all logic conditional on __need macros.  Move all the
12283         conditionally defined types to their own headers...
12284         * time/bits/types/clock_t.h: Define clock_t here.
12285         * time/bits/types/clockid_t.h: Define clockid_t here.
12286         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12287         * time/bits/types/struct_timespec.h: Define struct timespec here.
12288         * time/bits/types/struct_timeval.h: Define struct timeval here.
12289         * time/bits/types/struct_tm.h: Define struct tm here.
12290         * time/bits/types/time_t.h: Define time_t here.
12291         * time/bits/types/timer_t.h: Define timer_t here.
12292         * time/Makefile: Install the new headers.
12294         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12295         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12296         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12297         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12298         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12299         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12300         * sysdeps/unix/sysv/linux/bits/resource.h
12301         * sysdeps/unix/sysv/linux/bits/timex.h
12302         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12303         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12304         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12305         * sysdeps/unix/sysv/linux/sys/acct.h
12306         * sysdeps/unix/sysv/linux/sys/timerfd.h
12307         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12308         * time/sys/time.h, time/sys/timeb.h
12309         Use the new bits/types headers.
12311         * include/time.h: Remove __need logic.
12312         * include/bits/time.h
12313         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12314         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12315         * include/bits/types/struct_itimerspec.h
12316         * include/bits/types/struct_timespec.h
12317         * include/bits/types/struct_timeval.h
12318         * include/bits/types/struct_tm.h:
12319         New wrapper headers.
12321 2016-09-23  Zack Weinberg  <zackw@panix.com>
12323         * sysdeps/mach/hurd/net/if_ppp.h
12324         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12325         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12326         if __USE_MISC is defined, to ensure struct ifreq is declared.
12328         * inet/netinet/ether.h: Condition all function prototypes
12329         on __USE_MISC, to ensure struct ether_addr is declared.
12331         * socket/bits/types/struct_osockaddr.h: New header.
12332         * include/bits/types/struct_osockaddr.h: New wrapper.
12333         * socket/Makefile: Install the new header.
12334         * socket/sys/socket.h, inet/protocols/talkd.h:
12335         Refer to bits/types/struct_osockaddr.h for the definition of
12336         struct osockaddr.
12338 2016-09-23  Zack Weinberg  <zackw@panix.com>
12340         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12341         * inet/protocols/routed.h, inet/protocols/talkd.h
12342         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12343         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12344         * sysdeps/generic/netinet/if_ether.h
12345         * sysdeps/generic/netinet/in_systm.h
12346         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12347         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12348         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12349         * sysdeps/mach/hurd/net/if_arp.h
12350         * sysdeps/mach/hurd/net/if_ppp.h
12351         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12352         * sysdeps/unix/sysv/linux/bits/in.h
12353         * sysdeps/unix/sysv/linux/net/ethernet.h
12354         * sysdeps/unix/sysv/linux/net/if_arp.h
12355         * sysdeps/unix/sysv/linux/net/if_ppp.h
12356         * sysdeps/unix/sysv/linux/net/if_shaper.h
12357         * sysdeps/unix/sysv/linux/net/route.h
12358         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12359         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12360         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12361         * sysdeps/unix/sysv/linux/netipx/ipx.h
12362         * sysdeps/unix/sysv/linux/sys/acct.h
12363         * include/arpa/nameser.h, include/resolv.h:
12364         Change all uses of u_char to unsigned char,
12365         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12366         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12367         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12368         and u_int64_t and u_quad_t to uint64_t.
12370         * mach/sys/reboot.h: Remove two casts of integer literals
12371         to the types they already have.
12373         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12374         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12375         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12376         from referring to 'unsigned char' to 'uint8_t' for consistency with
12377         the macro definition below.
12379         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12380         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12381         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12382         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12383         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12384         * sysdeps/unix/sysv/linux/sys/acct.h
12385         * include/arpa/nameser.h, include/resolv.h:
12386         Fix indentation disrupted by mechanical edits.
12388         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12389         * sysdeps/generic/netinet/in_systm.h
12390         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12391         * sysdeps/gnu/netinet/udp.h
12392         * sysdeps/unix/sysv/linux/net/ethernet.h
12393         * sysdeps/unix/sysv/linux/net/if_arp.h
12394         * sysdeps/unix/sysv/linux/net/if_ppp.h
12395         * sysdeps/unix/sysv/linux/net/if_shaper.h
12396         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12397         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12398         * sysdeps/unix/sysv/linux/netipx/ipx.h
12399         * sysdeps/unix/sysv/linux/sys/acct.h
12400         Include stdint.h for uintNN_t definitions.
12401         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12403 2016-09-23  Zack Weinberg  <zackw@panix.com>
12405         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12406         * sysdeps/unix/sysv/linux/netrose/rose.h:
12407         Include sys/socket.h and netax25/ax25.h.
12409         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12410         * resolv/arpa/nameser_compat.h:
12411         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12413         * sysdeps/unix/sysv/linux/sys/quota.h:
12414         Use __caddr_t instead of caddr_t.
12415         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12416         Use __clockid_t instead of clockid_t.
12418         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12420         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12421         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12422         expanding it.
12424         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12425         Define __glibc_c99_flexarr_available to 1 when the compiler
12426         supports C99-compatible flexible array members, 0 otherwise.
12427         * sysdeps/unix/sysv/linux/bits/socket.h
12428         * sysdeps/mach/hurd/bits/socket.h
12429         * bits/socket.h: Use __glibc_c99_flexarr_available in
12430         definitions of struct cmsghdr and CMSG_DATA.
12432 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12434         * manual/nss.texi (NSS Modules Interface): Adjust function return
12435         type to enum nss_status.  Document errnop argument.  Clarify
12436         h_errnop semantics.  Fix cross-reference formatting.
12437         (NSS Module Function Internals): Mention that *errnop needs to be
12438         set on failure, but not to zero.
12440 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12442         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12443         (get_random_name): New functions.
12444         (check_wrapper_flags_mode): Use linkat to give the new file a name
12445         determined by get_random_name.
12446         (do_test): Add calls to test open64 and openat64.
12448 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12450         * test-skeleton.c: Remove #include <stdarg.h>.
12452 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12454         [BZ #19826]
12455         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12456         initialization of static TLS entries.
12457         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12458         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12460 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12462         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12463         _hurd_malloc_fork_prepare.
12464         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12465         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12466         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12467         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12468         (_hurd_fork_child_hook): Drop malloc_fork_child.
12469         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12470         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12471         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12472         after locking locks (notably hurd_dtable_lock). Call
12473         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12474         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12475         __malloc_fork_unlock_child.
12476         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12478 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
12480         * soft-fp/extendhftf2.c: New.
12481         * soft-fp/fixhfti.c: Likewise.
12482         * soft-fp/fixunshfti.c: Likewise.
12483         * soft-fp/floattihf.c: Likewise.
12484         * soft-fp/floatuntihf.c: Likewise.
12485         * soft-fp/half.h: Likewise.
12486         * soft-fp/trunctfhf2.c: Likewise.
12488 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
12490         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12491         macro.
12492         * math/libm-test.inc (issubnormal_test_data): New array.
12493         (issubnormal_test): New function.
12494         * manual/arith.texi (Floating Point Classes): Document
12495         issubnormal.
12496         * manual/libm-err-tab.pl: Update comment on interfaces without
12497         ulps tabulated.
12499         * sysdeps/generic/stdint.h: Define
12500         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12501         <bits/libc-header-start.h> instead of including <features.h>.
12502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12535         * manual/arith.texi (Integers): Document these macros for types
12536         specified by width properties.
12537         * manual/lang.texi (Width of Type): Document these macros for
12538         other standard typedefs.
12539         * stdlib/tst-width-stdint.c: New file.
12540         * stdlib/Makefile (tests): Add tst-width-stdint.
12542 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12544         [BZ #20016]
12545         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12546         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12547         Move ...
12548         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12549         ... here, as compatibility symbols in a new file.
12550         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12551         * resolv/res_init.c (__res_vinit): Adjust member names.
12552         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12553         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12554         (res_send_rhook): Remove.
12555         (struct __res_state): Rename qhook, rhook members.
12557 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12559         malloc: Use __libc_lock wrappers.
12560         * malloc/arena.c (list_lock, free_list_lock): Define using
12561         __libc_lock_define_initialized.
12562         (arena_lock): Adjust formatting.
12563         * malloc/malloc.c (struct malloc_state): Define mutex using
12564         __libc_lock_define.
12565         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12566         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12567         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12568         (mutex_unlock, mutex_trylock): Remove.
12569         (__pthread_initialize): Remove unused macro.
12570         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12571         (mutex_unlock, mutex_trylock): Remove.
12573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12575         [BZ #20592]
12576         Remove RR type classification macros.
12577         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12578         (ns_t_udp_p, ns_t_xfr_p): Remove.
12580 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12582         Remove misleading version information.
12583         * resolv/arpa/nameser.h (__NAMESER): Remove.
12584         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12588         Remove the always-defined BIND_4_COMPAT macro.
12589         * resolv/arpa/nameser.h: Unconditionally include
12590         <arpa/nameser_compat.h>.
12591         (BIND_4_COMPAT): Remove.
12592         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12594 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12596         [BZ #20591]
12597         Remove obsolete DNSSEC support.
12598         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12599         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12600         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12601         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12602         (ns_cert_types): Add comment.
12603         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12604         separately.
12605         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12606         (dst_s_dns_key_id): Remove.
12607         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12608         variables.
12610 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12612         [BZ #20524]
12613         * manual/string.texi (String/Array Comparison): Clarify the
12614         strverscmp behavior.
12616 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12618         * test-skeleton.c (xasprintf): Add function.
12619         * io/tst-open-tmpfile.c: New test.
12620         * io/Makefile (tests): Add it.
12622 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12624         Avoid running $(CXX) during build to obtain header file paths.
12625         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12626         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12627         * Makerules (cstdlib, cmath): Remove variables.  Use
12628         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12629         * configure: Regenerate.
12631 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12633         * Makeconfig (all-object-suffixes): Include .op only if
12634         $(build-profile).
12636 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12638         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12639         conditionals.  Do not define PATH_MAX.
12641 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12643         * posix/Makefile (tests): Add tst-spawn3.
12644         * posix/tst-spawn3.c: New file.
12645         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12646         if it is already opened for open action.
12648         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12649         all signals when executing the clone vfork child.
12650         (SIGALL_SET): Remove macro.
12652         * nptl/Makefile (tests): Add tst-exec5.
12653         * nptl/tst-exec5.c: New file.
12654         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12655         asynchronous cancellation.
12657 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12659         * hurd/exc2signal.c: #include <hurd/signal.h>
12660         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12661         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12662         accordingly.
12663         * mach/mach_error.c (mach_error): Fix old-style function definition.
12664         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12666 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12668         * math/Makefile (libm-calls): Remove s_nanF.
12669         (gen-libm-calls): Add s_nanF.
12671         * math/s_nan.c: Refactor into ...
12672         * math/s_nan_template.c: New file.
12674         * math/s_nanf.c: Removed.
12675         * math/s_nanl.c: Removed.
12676         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12677         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12679         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12680         (LDOUBLE_nanl_libm_version): New macro.
12682         * sysdeps/generic/math-type-macros-double.h:
12683         (M_STRTO_NAN): New macro.
12684         * sysdeps/generic/math-type-macros-float.h: Likewise.
12685         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12687         * sysdeps/generic/math-type-macros.h: Document
12688         M_STRTO_NAN.
12690 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12692         * math/s_nanf.c: Remove __nanf undef.
12693         * math/s_nan.c: Remove __nan undef.
12694         * math/s_nanl.c: Remove __nanl undef.
12696         * sysdeps/generic/math_private.h (__nan): Remove macro
12697         override.
12698         (__nanf): Likewise.
12699         (__nanl): Likewise.
12701 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12703         * math/Makefile (gen-all-calls): New variable.
12704         (generated): Replace gen-libm-calls with gen-all-calls.
12705         (gen-libm-templates.stmp): Likewise.  Also, ensure
12706         the output directory exists or is created and add
12707         dependency on the Makefile.
12708         (calls): Move s_ldexpF into gen-calls.
12709         (gen-calls): New variable.
12711         * math/s_ldexpf.c: Removed.
12712         * math/s_ldexpl.c: Removed.
12713         * math/s_ldexp.c: Refactored into ...
12714         * math/s_ldexp_template.c: New file.
12716         * sysdeps/generic/math-type-macros-double.h: Remove
12717         redundant fall-through definition of declare_mgen_alias.
12718         (declare_mgen_alias_2): New macro.
12720         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12721         New macro for function aliased to two exported symbols.
12723         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12724         new template file.
12725         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12727 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12729         * Makeconfig (all-object-suffixes): Remove .og.
12730         * Makerules (elide-routines.og): Remove.
12731         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12732         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12733         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12735 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12737         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12738         .os objects.
12740 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12742         [BZ #20615]
12743         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12744         fpu directory by non-fpu.
12745         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12746         on non-fpu directory from a fpu directory.
12748 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12750         * include/limits.h: Define
12751         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12752         <bits/libc-header-start.h> instead of including <features.h>.
12753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12764         * manual/lang.texi (Width of Type): Document these macros.
12765         * stdlib/tst-width.c: New file.
12766         * stdlib/Makefile (tests): Add tst-width.
12768 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12770         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12771         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12773 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12775         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12776         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12777         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12779 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12781         [BZ #18243]
12782         * rt/Makefile (test): Add tst-shm-cancel.
12783         * rt/tst-shm-cancel.c: New file.
12784         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12786         [BZ #18243]
12787         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12788         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12789         definition.
12790         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12791         uncontended case.
12792         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12793         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12794         (tf): Fix check for uncontended case.
12795         (do_test): Likewise.
12796         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12797         (tf): Fix check for uncontended case.
12798         (do_test): Likewise.
12799         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12800         (tf): Fix check for uncontended case.
12801         (do_test): Likewise.
12802         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12803         (tf): Fix check for uncontended case.
12804         (do_test): Likewise.
12806         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12807         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12809         [BZ #15765]
12810         * nptl/Makefile (tests): Add tst-sem16.
12811         * nptl/tst-sem16.c: New file.
12812         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12814         * nptl/sem_open.c (sem_open): Init pad value to 0.
12815         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12816         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12818 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12820         [BZ #20611]
12821         * inet/Makefile (routines): Add inet6_scopeid_pton.
12822         (tests): Add tst-inet6_scopeid_pton.
12823         * inet/inet6_scopeid_pton.c: New file.
12824         * inet/net-internal.h: Likewise.
12825         * inet/tst-inet6_scopeid_pton.c: New test.
12826         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12827         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12830 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12832         Remove support for compiling wrappers with PTW.
12833         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12834         * nptl/Makefile (pthread-compat-wrappers): Define.
12835         (libpthread-routines): Use pthread-compat-wrappers.
12836         * sysdeps/unix/sysv/linux/alpha/Makefile
12837         (libpthread-routines, libpthread-shared-only-routines): Remove
12838         ptw- prefix.
12839         * sysdeps/s390/nptl/Makefile
12840         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12841         * sysdeps/ia64/nptl/Makefile
12842         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12843         * sysdeps/nacl/Makefile (libpthread-routines): Use
12844         pthread-compat-wrappers to filter the routines list instead of the
12845         ptw- prefix.
12847 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12849         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12850         with L() and remove explicit suffix, convert real literals
12851         which can be equivalentally substituted with integers, and
12852         transform -L(x) to L(-x).
12854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12860         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12861         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12862         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12863         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12864         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12865         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12866         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12867         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12869         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12870         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12871         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12872         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12874         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12875         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12876         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12878         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12879         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12880         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12881         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12882         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12884         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12885         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12887         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12888         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12889         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12890         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12891         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12892         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12893         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12894         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12897         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12901         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12902         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12903         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12905 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12907         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12909 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12911         * malloc/Makefile (tests): Remove individual static test names
12912         and just add all of tests-static.
12914         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12916 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12918         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12919         file.
12921         * sysdeps/sparc/fpu/fegetmode.c: New file.
12922         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12924         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12925         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12927         * sysdeps/s390/fpu/fegetmode.c: New file.
12928         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12930         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12931         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12932         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12933         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12935         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12937         * sysdeps/mips/fpu/fegetmode.c: New file.
12938         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12940         * sysdeps/m68k/fpu/fegetmode.c: New file.
12941         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12943         * sysdeps/ia64/fpu/fegetmode.c: New file.
12944         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12946         * sysdeps/hppa/fpu/fegetmode.c: New file.
12947         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12949         * sysdeps/arm/fegetmode.c: New file.
12950         * sysdeps/arm/fesetmode.c: Likewise.
12952         * sysdeps/alpha/fpu/fegetmode.c: New file.
12953         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12955         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12956         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12958         * math/fegetmode.c: New file.
12959         * math/fesetmode.c: Likewise.
12960         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12961         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12962         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12963         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12964         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12966         declaration.
12967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12968         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12969         typedef.
12970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12971         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12972         (femode_t): New typedef.
12973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12974         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12975         (femode_t): New typedef.
12976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12977         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12978         (femode_t): New typedef.
12979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12980         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12981         (femode_t): New typedef.
12982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12983         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12984         (femode_t): New typedef.
12985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12986         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12987         (femode_t): New typedef.
12988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12989         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12990         (femode_t): New typedef.
12991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12992         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12993         (femode_t): New typedef.
12994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12995         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12996         (femode_t): New typedef.
12997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12998         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12999         (femode_t): New typedef.
13000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13001         declaration.
13002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13003         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13004         (femode_t): New typedef.
13005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13006         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13007         (femode_t): New typedef.
13008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13009         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13010         (femode_t): New typedef.
13011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13012         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13013         (femode_t): New typedef.
13014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13015         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13016         (femode_t): New typedef.
13017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13018         * manual/arith.texi (FE_DFL_MODE): Document macro.
13019         (fegetmode): Document function.
13020         (fesetmode): Likewise.
13021         * math/Versions (fegetmode): New libm symbol at version
13022         GLIBC_2.25.
13023         (fesetmode): Likewise.
13024         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13025         (tests): Add test-femode and test-femode-traps.
13026         * math/test-femode-traps.c: New file.
13027         * math/test-femode.c: Likewise.
13028         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13029         alias for __fe_dfl_env.
13030         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13031         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13032         (__fe_dfl_mode): Likewise.
13033         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13034         version GLIBC_2.25.
13035         * sysdeps/nacl/libm.abilist: Update.
13036         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13037         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13038         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13039         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13040         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13041         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13042         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13043         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13044         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13045         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13046         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13047         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13049         Likewise.
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13051         Likewise.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13053         Likewise.
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13055         Likewise.
13056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13058         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13062         Likewise.
13063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13064         Likewise.
13065         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13066         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13067         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13069 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13071         [BZ #20495]
13072         [BZ #20508]
13073         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13074         processors, set Use_dl_runtime_resolve_slow and set
13075         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13076         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13077         New.
13078         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13079         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13080         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13081         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13082         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13083         if Use_dl_runtime_resolve_opt is set.  Use
13084         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13085         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13086         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13087         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13088         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13089         New.
13090         (_dl_runtime_resolve_opt): Likewise.
13091         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13092         defined.
13094 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13096         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13097         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13099 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13101         Convert malloc to __libc_lock.  Automated part, using this Perl
13102         s/// command:
13103           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13104             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13105         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13106         conversion.
13108 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13110         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13111         (linknamespace-symlists-tests): Likewise.
13112         (linknamespace-header-tests): Likewise.
13114 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13116         [BZ #19810]
13117         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13118         * elf/tst-noload.c: New test case.
13119         * elf/Makefile (tests): Add tst-noload.
13121 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13123         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13125         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13126         not any more.
13128         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13130 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13132         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13133         (do_cos_slow): Likewise.
13134         (do_sin): Likewise.
13135         (do_sin_slow): Likewise.
13136         (slow): Likewise.
13137         (slow1): Likewise.
13138         (slow2): Likewise.
13139         (sloww): Likewise.
13140         (sloww1): Likewise.
13141         (sloww2): Likewise.
13142         (bsloww): Likewise.
13143         (bsloww1): Likewise.
13144         (bsloww2): Likewise.
13145         (cslow2): Likewise.
13147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13149         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13150         arguments.  Consolidate input partitioning from callers here.
13151         (do_cos_slow): Likewise.
13152         (do_sin): Likewise.
13153         (do_sin_slow): Likewise.
13154         (do_sincos_1): Remove the no longer necessary input partitioning.
13155         (do_sincos_2): Likewise.
13156         (__sin): Likewise.
13157         (__cos): Likewise.
13158         (slow1): Likewise.
13159         (slow2): Likewise.
13160         (sloww1): Likewise.
13161         (sloww2): Likewise.
13162         (bsloww1): Likewise.
13163         (bsloww2): Likewise.
13164         (cslow2): Likewise.
13166 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13168         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13169         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13170         outside of allocated array.
13172 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13174         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13175         instead of MB_CUR_MAX to avoid variable-length array.
13177 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13179         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13180         (type-double-routines): Add k_rem_pio2.
13181         (type-float-routines): Add k_rem_pio2f.
13183         * sysdeps/generic/math_private.h:
13184         (__kernel_rem_pio2l): Removed.
13186         * math/k_rem_pio2l.c: Removed.
13187         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13188         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13189         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13190         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13192 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13194         * math/Makefile (gen-libm-calls): Add s_fmin
13195         (libm-calls): Remove above.
13197         * math/s_fmin.c: Refactor into ...
13198         * math/s_fmin_template.c: New file.
13200         * math/s_fminf.c: Removed.
13201         * math/s_fminl.c: Removed.
13202         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13203         (LDOUBLE_fmin_libm_version): New macro.
13205         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13206         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13208 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13210         * math/Makefile: (gen-libm-calls): Add s_fmax.
13211         (libm-calls): Remove above.
13213         * math/s_fmax.c: Refactor into ...
13214         * math/s_fmax_template.c: New file.
13215         * math/s_fmaxf.c: Removed.
13216         * math/s_fmaxl.c: Removed.
13218         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13219         (LDOUBLE_fmaxl_libm_version): New macro.
13221         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13222         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13224         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13225         s_fmin.c to pick the aarch64 version of the file.
13226         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13227         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13229 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13231         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13232         (libm-calls): Remove above.
13234         * math/s_nextdown.c: Refactor into ...
13235         * math/s_nextdown_template.c: New file.
13236         * math/s_nextdownf.c: Removed.
13237         * math/s_nextdownl.c: Removed.
13239         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13241 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13243         * math/Makefile (gen-libm-calls): Add s_fdim.
13244         (libm-calls): Move to above.
13246         * math/s_fdim.c: Renamed and refactored into to ...
13247         * math/s_fdim_template.c: New file.
13248         * math/s_fdiml.c: Removed.
13249         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13250         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13252         * sysdeps/generic/math-type-macros-double.h:
13253         (declare_mgen_alias): Don't declare if already declared.
13254         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13255         Likewise.
13257         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13258         (declare_mgen_alias): Don't declare if already declared.
13259         (M_LIBM_NEED_COMPAT): Likewise.
13260         (declare_mgen_libm_compat): Likewise.
13261         (LDOUBLE_fdiml_libm_version): New macro.
13263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13264         Include math/s_fdim.c now that ldbl-opt version is not needed.
13265         (declare_mgen_alias): New macro to disable aliasing.
13267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13268         (declare_mgen_alias): Likewise.
13269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13270         (declare_mgen_alias): Likewise.
13271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13272         (declare_mgen_alias): Likewise.
13273         (M_LIBM_NEED_COMPAT): Likewise.
13275 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13277         [BZ #20525]
13278         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13279         Include <linux/quota.h>.
13280         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13281         and btodb.
13282         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13283         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13284         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13285         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13286         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13287         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13288         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13289         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13290         types.
13291         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13292         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13294 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13296         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13297         (gammal_positive): Fix spacing.
13298         (__ieee754_gammal_r): Likewise.
13300 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13302         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13303         (_Float128): Define as long double, always.
13304         (L): Apply long double type suffix, always.
13306         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13307         _Float128, excepting comments.
13309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13310         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13311         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13312         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13313         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13314         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13315         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13316         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13317         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13318         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13319         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13320         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13321         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13324         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13325         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13326         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13327         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13328         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13329         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13333         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13335         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13336         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13337         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13338         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13339         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13340         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13341         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13342         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13343         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13344         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13345         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13346         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13347         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13348         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13349         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13350         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13351         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13352         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13353         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13354         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13355         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13356         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13357         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13358         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13359         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13360         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13361         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13362         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13363         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13364         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13365         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13366         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13367         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13368         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13369         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13370         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13371         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13372         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13373         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13374         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13375         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13378         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13379         _Float128, and include math_private.h.
13380         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13383         long double semantics.
13384         (_Float128): Likewise.
13385         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13386         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13387         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13388         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13390 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13392         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13393         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13394         * sysdeps/s390/configure: Regenerated.
13395         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13396         instruction for raising over-/underflow if z196 zarch is supported
13397         by default.
13398         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13400 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13402         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13403         it point to a dumb buffer for RPC to fill it.
13405 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13407         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13408         instead of if/else.
13409         (do_sin_slow): Likewise.
13410         (do_sincos_1): Use fabs instead of if/else.
13411         (do_sincos_2): Likewise.
13412         (__sin): Likewise.
13413         (__cos): Likewise.
13414         (slow2): Likewise.
13415         (sloww): Likewise.
13416         (sloww1): Likewise.  Drop argument M.
13417         (sloww2): Use fabs instead of if/else.
13418         (bsloww): Likewise.
13419         (bsloww1): Likewise.
13420         (bsloww2): Likewise.
13422         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13423         fall through comment.
13424         (do_sincos_1): Likewise.
13426         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13427         Consolidate switch cases 0 and 2.
13429 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13431         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13432         (libm-calls): Remove the above.
13434         * math/s_cexp_template.c: Update using type-generic macros.
13435         * math/s_clog10_template.c: Likewise.
13436         * math/s_cpow_template.c: Likewise.
13437         * math/s_clog_template.c: Likewise.
13438         * math/s_cproj_template.c: Likewise.
13439         * math/s_csqrt_template.c: Likewise.
13441         * math/s_cexp.c: Removed.
13442         * math/s_cexpf.c: Removed.
13443         * math/s_cexpl.c: Removed.
13444         * math/s_clog10.c: Removed.
13445         * math/s_clog10f.c: Removed.
13446         * math/s_clog10l.c: Removed.
13447         * math/s_cpow.c: Removed.
13448         * math/s_cpowf.c: Removed.
13449         * math/s_cpowl.c: Removed.
13450         * math/s_clog.c: Removed.
13451         * math/s_clogf.c: Removed.
13452         * math/s_clogl.c: Removed.
13453         * math/s_cproj.c: Removed.
13454         * math/s_cprojf.c: Removed.
13455         * math/s_cprojl.c: Removed.
13456         * math/s_csqrt.c: Removed.
13457         * math/s_csqrtf.c: Removed.
13458         * math/s_csqrtl.c: Removed.
13460         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13461         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13462         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13463         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13464         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13465         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13467         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13468         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13469         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13470         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13471         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13472         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13473         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13474         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13475         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13476         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13477         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13479         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13480         version.
13482         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13483         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13484         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13485         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13487 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13489         * s_cexp_template.c: Copy of s_cexp.c.
13490         * s_clog_template.c: Copy of s_clog.c.
13491         * s_clog10_template.c: Copy of s_clog10.c.
13492         * s_cpow_template.c: Copy of s_cpow.c.
13493         * s_cproj_template.c: Copy of s_cproj.c.
13494         * s_csqrt_template.c: Copy of s_csqrt.c.
13496 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13498         [BZ #20517]
13499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13500         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13501         exported.
13503 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
13505         * math/fetestexceptflag.c: New file.
13506         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
13507         Stefan Liebler.
13508         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13509         (fetestexceptflag): New function declaration.
13510         * manual/arith.texi (fetestexceptflag): Document function.
13511         * math/Versions (fetestexceptflag): New libm symbol at version
13512         GLIBC_2.25.
13513         * math/Makefile (libm-support): Add fetestexceptflag.
13514         (tests): Add test-fetestexceptflag.
13515         * math/test-fetestexceptflag.c: New file.
13516         * sysdeps/nacl/libm.abilist: Update.
13517         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13519         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13521         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13530         Likewise.
13531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13532         Likewise.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13534         Likewise.
13535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13536         Likewise.
13537         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13539         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13540         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13543         Likewise.
13544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13545         Likewise.
13546         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13547         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13550 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13552         [BZ #20432]
13553         Avoid strong references to malloc-internal symbols when linking
13554         statically, to support statically interposed mallocs.
13555         * include/libc-symbols.h (call_function_static_weak): New macro.
13556         * malloc/Makefile (tests): Add tst-interpose-nothread,
13557         tst-interpose-thread, tst-interpose-static-nothread,
13558         tst-interpose-static-thread.
13559         (tests-static): Add tst-interpose-static-nothread,
13560         tst-interpose-static-thread.
13561         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13562         tst-interpose-aux-thread.o.
13563         (test-extras): Add tst-interpose-aux-nothread,
13564         tst-interpose-aux-thread.
13565         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13566         tst-interpose-aux-nothread.o.
13567         (tst-interpose-thread, tst-interpose-static-thread): Link with
13568         tst-interpose-aux-thread.o and libthread.
13569         * malloc/tst-interpose-aux-nothread.c: New file.
13570         * malloc/tst-interpose-aux-thread.c: Likewise.
13571         * malloc/tst-interpose-aux.c: Likewise.
13572         * malloc/tst-interpose-aux.h: Likewise.
13573         * malloc/tst-interpose-nothread.c: Likewise.
13574         * malloc/tst-interpose-skeleton.c: Likewise.
13575         * malloc/tst-interpose-static-nothread.c: Likewise.
13576         * malloc/tst-interpose-static-thread.c: Likewise.
13577         * malloc/tst-interpose-thread.c: Likewise.
13578         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13579         * sysdeps/mach/hurd/fork.c (__fork): Only call
13580         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13581         __malloc_fork_unlock_child if defined.
13582         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13584 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13586         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13587         timespec C99 designated initialization.
13589 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13591         [BZ #19946]
13592         Avoid expected SIGALRM signals.
13593         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13594         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13595         (xpthread_create, xpthread_detach, xpthread_join)
13596         (delayed_exit_thread, delayed_exit): New functions.
13597         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13598         (tf): Use xpthread_cond_wait.
13599         (do_test): Likewise.  Replace alarm with delayed_exit.
13600         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13601         (do_test): Call delayed_exit.  Report failure.
13602         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13603         (do_test): Call delayed_exit.
13604         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13605         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13606         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13607         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13608         error.
13609         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13610         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13611         error.
13612         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13613         (do_test): Call delayed_exit.
13614         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13615         (do_test): Call delayed_exit.
13616         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13617         (do_test): Call delayed_exit instead of alarm.  Use
13618         xpthread_mutex_lock.
13619         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13620         (do_test): Call delayed_exit instead of alarm.  Use
13621         xpthread_mutex_lock.
13622         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13623         (do_test): Call delayed_exit instead of alarm.
13624         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13625         (do_test): Call delayed_exit instead of alarm.  Use
13626         xpthread_spin_lock.
13627         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13628         (do_test): Call delayed_exit instead of alarm.  Use
13629         xpthread_join.
13631 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13633         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13634         adjust CFA when allocating register save area on re-aligned
13635         stack.
13637 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13639         * string/tst-cmp.c: New test.
13640         * string/Makefile (tests): Add it.
13642 2016-08-25  Mark Wielaard  <mark@klomp.org>
13644         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13645         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13646         (check_tree_recurse): Use newly defined accessors.
13647         (check_tree): Likewise.
13648         (maybe_split_for_insert): Likewise.
13649         (__tfind): Likewise.
13650         (__tdelete): Likewise.
13651         (trecurse): Likewise.
13652         (tdestroy_recurse): Likewise.
13653         (__tsearch): Likewise. And add asserts for malloc alignment.
13654         (__twalk): Cast root to node in case CHECK_TREE is defined.
13656 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13658         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13660 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13662         * math/Makefile (libm-gen-calls): Add
13663         catan, catanh, ctan, ctanh.
13664         (libm-calls): Remove the above.
13666         * math/s_catan_template.c: Update using type-generic macros.
13667         * math/s_catanh_template.c: Likewise.
13668         * math/s_ctan_template.c: Likewise.
13669         * math/s_ctanh_template.c: Likewise.
13671         * math/s_catanf.c: Removed.
13672         * math/s_catan.c: Removed.
13673         * math/s_catanl.c: Removed.
13674         * math/s_catanhf.c: Removed.
13675         * math/s_catanh.c: Removed.
13676         * math/s_catanhl.c: Removed.
13677         * math/s_ctanf.c: Removed.
13678         * math/s_ctan.c: Removed.
13679         * math/s_ctanl.c: Removed.
13680         * math/s_ctanhf.c: Removed.
13681         * math/s_ctanh.c: Removed.
13682         * math/s_ctanhl.c: Removed.
13684         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13685         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13686         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13687         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13688         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13689         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13691         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13692         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13693         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13694         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13696 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13698         * s_catan_template.c: Copy of s_catan.c.
13699         * s_catanh_template.c: Copy of s_catanh.c.
13700         * s_ctan_template.c: Copy of s_ctan.c.
13701         * s_ctanh_template.c: Copy of s_ctanh.c.
13703 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13705         * math/Makefile (gen-libm-calls): Move
13706         casin, casinh, csin, csinh here.
13707         (libm-calls): Remove the above.
13709         * math/s_casin_template.c: Update using type-generic macros.
13710         * math/s_casinh_template.c: Likewise.
13711         * math/s_csin_template.c: Likewise.
13712         * math/s_csinh_template.c: Likewise.
13713         * math/k_casinh_template.c: Likewise.
13715         * math/s_casinf.c: Removed.
13716         * math/s_casin.c: Removed.
13717         * math/s_casinl.c: Removed.
13718         * math/s_casinh.c: Removed.
13719         * math/s_casinhf.c: Removed.
13720         * math/s_casinhl.c: Removed.
13721         * math/s_csin.c: Removed.
13722         * math/s_csinf.c: Removed.
13723         * math/s_csinl.c: Removed.
13724         * math/s_csinh.c: Removed.
13725         * math/s_csinhf.c: Removed.
13726         * math/s_csinhl.c: Removed.
13727         * math/k_casinh.c: Removed.
13728         * math/k_casinhf.c: Removed.
13729         * math/k_casinhl.c: Removed.
13731         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13732         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13733         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13734         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13736         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13737         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13738         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13739         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13740         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13741         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13742         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13743         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13745         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13746         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13747         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13748         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13750         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13751         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13752         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13753         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13755 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13757         * s_casin_template.c: Copy of s_casin.c.
13758         * s_casinh_template.c: Copy of s_casinh.c.
13759         * s_csin_template.c: Copy of s_csin.c.
13760         * s_csinh_template.c: Copy of s_csinh.c.
13761         * k_casinh_template.c: Copy of k_casinh.c.
13763 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13765         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13767 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13769         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13770         (mul_split) Remove, rename as mul_splitl, remove
13771         redundant float.h include, and include via mul_splitl.h
13773         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13775         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13776         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13777         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13779         * math/mul_splitl.h: New file.
13781         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13782         Move into mul_split.h, and remove redundant float.h include.
13784         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13785         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13789         * math/mul_split.h: New file.
13791 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13793         * math/Makefile (libm-gen-calls): Move
13794         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13795         (libm-calls): Remove above.
13797         * math/s_cacos_template.c: Update using type-generic macros.
13798         * math/s_cacosh_template.c: Likewise.
13799         * math/s_ccos_template.c: Likewise.
13800         * math/s_ccosh_template.c: Likewise.
13802         * math/s_cacosf.c: Removed.
13803         * math/s_cacos.c: Removed.
13804         * math/s_cacosl.c: Removed.
13805         * math/s_cacoshf.c: Removed.
13806         * math/s_cacosh.c: Removed.
13807         * math/s_cacoshl.c: Removed.
13808         * math/s_ccosf.c: Removed.
13809         * math/s_ccos.c: Removed.
13810         * math/s_ccosl.c: Removed.
13811         * math/s_ccoshf.c: Removed.
13812         * math/s_ccosh.c: Removed.
13813         * math/s_ccoshl.c: Removed.
13815         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13816         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13817         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13818         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13819         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13820         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13822         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13823         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13824         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13825         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13827         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13828         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13829         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13830         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13832 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13834         * s_cacos_template.c: Copy of s_cacos.c.
13835         * s_cacosh_template.c: Copy of s_cacosh.c.
13836         * s_ccos_template.c: Copy of s_ccos.c.
13837         * s_ccosh_template.c: Copy of s_ccosh.c.
13839 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13841         * stdlib/tst-strtod-round-skeleton.c:
13842         Refactored from tst-strtod-round.c.
13844         (L_): New macro to apply literal modifier.
13845         (FNPFX): New macro to select str or wcs prefix.
13846         (CHAR): New macro to choose wchar_t or char.
13847         (STRM): New macro to choose printf for tested character type.
13849         (STRTO): New macro to choose appropriate string -> real function.
13850         (FNPFXS): Stringitized version of FNPFX.
13851         (STR): Support for above macro.
13852         (STRX): Likewise.
13854         (TEST): Update with above macros.
13855         (test): Likewise.
13856         (GEN_ONE_TEST): Likewise.
13857         (test_in_one_mode): Likewise.
13859         * stdlib/tst-strtod-round.c: New file.
13860         * wcsmbs/tst-wcstod-round.c: New file.
13862         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13863         (tst-wcstod-round): Add libm depencency for fesetround.
13865 2016-08-19  Zack Weinberg  <zackw@panix.com>
13867         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13869 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13871         [BZ #20477]
13872         * resolv/res_hconf.c (do_init): Use atomic access.
13873         * resolv/res_hconf.h: Add comments.
13874         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13875         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13878 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13880         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13881         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13882         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13883         Likewise.
13885 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13887         [BZ #16907]
13888         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13889         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13890         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13891         (__attribute__): Remove definition.
13893 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13895         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13896         Remove unused sqrtl declaration.
13898 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13900         * math/Makefile: (gen-libm-templates.stmp): New rule.
13901         (libm-calls): Move carg conj cimag and cabs into ...
13902         (gen-libm-calls): New variable.
13903         (generated): Inform Make objects from gen-libm-calls
13904         may be generated.
13906         * sysdeps/generic/math-type-macros.h: New file.
13907         * sysdeps/generic/math-type-macros-float.h: Likewise.
13908         * sysdeps/generic/math-type-macros-double.h: Likewise.
13909         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13910         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13911         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13913         * math/cabs.c: Refactor into
13914         * math/cabs_template.c: new file.
13915         * math/cabsf.c: Removed.
13916         * math/cabsl.c: Removed.
13917         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13918         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13920         * math/carg.c: Refactor into
13921         * math/carg_template.c: new file.
13922         * math/cargf.c: Removed.
13923         * math/cargl.c: Removed.
13924         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13925         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13927         * math/conj.c: Refactor into
13928         * math/conj_template.c: new file.
13929         * math/conjf.c: Removed.
13930         * math/conjl.c: Removed.
13931         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13932         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13934         * math/cimag.c: Refactor into
13935         * math/cimag_template.c: new file.
13936         * math/cimagf.c: Removed.
13937         * math/cimagl.c: Removed.
13938         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13939         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13941         * math/cimag.c: Refactor into
13942         * math/cimag_template.c: new file.
13943         * math/cimagf.c: Removed.
13944         * math/cimagl.c: Removed.
13945         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13946         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13948 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13950         Reduce time to expected nptl/tst-once5 failure.
13951         * nptl/tst-once5.cc (TIMEOUT): Define.
13953 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13955         [BZ #20452]
13956         Avoid additional copies of objects in libc.a in static libraries.
13957         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13958         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13959         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13960         rt-sysdep.
13961         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13962         Add nptl-sysdep.
13963         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13964         Add ptw-sysdep.
13965         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13966         rt-sysdep.
13967         * sysdeps/unix/sysv/linux/alpha/Makefile
13968         (libpthread-shared-only-routines): Add ptw-sysdep,
13969         ptw-sigprocmask, ptw-rt_sigaction.
13970         * sysdeps/unix/sysv/linux/ia64/Makefile
13971         (librt-shared-only-routines): Add rt-sysdep.
13972         * sysdeps/unix/sysv/linux/i386/Makefile
13973         (libpthread-shared-only-routines): Add libc-do-syscall.
13974         * sysdeps/unix/sysv/linux/microblaze/Makefile
13975         (libpthread-shared-only-routines): Add sysdep.
13976         * sysdeps/unix/sysv/linux/powerpc/Makefile
13977         (librt-shared-only-routines): Add rt-sysdep.
13978         (libpthread-shared-only-routines): Add sysdep.
13979         * sysdeps/unix/sysv/linux/s390/Makefile
13980         (librt-shared-only-routines): Add rt-sysdep.
13981         * sysdeps/unix/sysv/linux/sparc/Makefile
13982         (librt-shared-only-routines): Add rt-sysdep.
13983         (libpthread-shared-only-routines): Add sysdep.
13984         * sysdeps/unix/sysv/linux/tile/Makefile
13985         (libpthread-shared-only-routines): Likewise.
13987 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13989         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13990         Mask implicit bit out of unpacked value.
13991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13995         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13997         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13999         * sysdeps/s390/fpu/fesetexcept.c: New file.
14001         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14002         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14003         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14005         * sysdeps/mips/fpu/fesetexcept.c: New file.
14007         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14009         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14011         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14013         * sysdeps/arm/fesetexcept.c: New file.
14015         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14017         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14019         * math/fesetexcept.c: New file.
14020         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14021         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14022         * math/fenv.h: Define
14023         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14024         <bits/libc-header-start.h> instead of including <features.h>.
14025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14026         declaration.
14027         * manual/arith.texi (fesetexcept): Document function.
14028         * math/Versions (fesetexcept): New libm symbol at version
14029         GLIBC_2.25.
14030         * math/Makefile (libm-support): Add fesetexcept.
14031         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14032         * math/test-fesetexcept.c: New file.
14033         * math/test-fesetexcept-traps.c: Likewise.
14034         * sysdeps/nacl/libm.abilist: Update.
14035         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14036         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14037         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14038         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14039         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14040         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14041         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14042         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14043         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14044         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14045         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14046         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14048         Likewise.
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14050         Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14052         Likewise.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14054         Likewise.
14055         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14057         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14058         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14059         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14061         Likewise.
14062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14065         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14066         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14068 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14070         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14071         New.
14072         (do_test): Apply default_stack_size_in_mb if not set.
14073         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14075 2016-08-15  Andreas Schwab  <schwab@suse.de>
14077         [BZ #20435]
14078         CVE-2016-6323
14079         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14080         as .cantunwind.
14082 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14084         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14085         comment from fraiseexcpt.c.
14087         * math/test-fexcept.c (feraiseexcept_exact): New function.
14088         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14089         (test_except): Likewise.
14091 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14093         [BZ #20455]
14094         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14095         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14096         to be restored.
14098         * math/test-fexcept-traps.c: New file.
14099         * math/test-fexcept.c: Likewise.
14100         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14101         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14102         macro.
14103         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14104         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14106 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14108         * include/atomic.h (atomic_fetch_and_relaxed,
14109         atomic_fetch_and_release, atomic_fetch_or_release,
14110         atomic_fetch_xor_release): New.
14112 2016-08-06  Christian Seiler  <christian@iwakd.de>
14114         [BZ #20444]
14115         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14116         MACH_PORT_NULL.
14118 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14120         * math/s_fdim.c: Avoid alias renamed.
14121         * math/s_fdimf.c: Likewise.
14122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14123         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14124         Add s_fdimf-vis3, s_fdim-vis3.
14125         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14126         (CFLAGS-s_fdim-vis3.c): Likewise.
14127         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14128         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14130 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14133         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14134         Remove s_fdimf-vis3, s_fdim-vis3.
14135         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14136         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14143         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14144         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14146 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14148         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14149         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14150         -Wa,-Av9a -mvis.
14152 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14154         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14155         LIT() to individual constants in simple expressions
14156         after splitting on spaces.
14157         (_apply_lit): Rename replaced version, and use it to
14158         apply to what appears to be a token.
14160         * math/libm-test.inc: Fix many, many issues with
14161         spacing.
14163 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14165         * math/math.h: Move comment about <bits/mathdef.h> definitions
14166         above inclusion of <bits/mathdef.h>.  Do not mention
14167         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14169 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14171         * include/atomic.h (atomic_exchange_relaxed): New.
14173 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14175         * math/e_scalb.c: Do not include <fenv.h>.
14176         (invalid_fn): Do calculation resulting in NaN instead of raising
14177         FE_INVALID and returning a NaN explicitly.
14178         * math/e_scalbf.c: Do not include <fenv.h>.
14179         (invalid_fn): Do calculation resulting in NaN instead of raising
14180         FE_INVALID and returning a NaN explicitly.
14181         * math/e_scalbl.c: Do not include <fenv.h>.
14182         (invalid_fn): Do calculation resulting in NaN instead of raising
14183         FE_INVALID and returning a NaN explicitly.
14185 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14187         * po/de.po: Updated from Translation Project.
14188         * po/fi.po: Likewise.
14189         * po/sv.po: Likewise.
14191 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14193         [BZ #20452]
14194         Use sysdep.o from libc.a in static libraries.
14195         * sysdeps/unix/sysv/linux/i386/Makefile
14196         (libpthread-shared-only-routines): Add sysdep.
14197         (librt-shared-only-routines): Likewise.
14199 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14201         * math/tgmath.h (nextdown): Define if
14202         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14203         (nextup): Likewise.
14205         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14206         macro.
14207         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14208         Document.
14209         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14210         Document macro.
14211         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14212         (exp10f): Likewise.
14213         (exp10l): Likewise.
14214         * math/bits/mathcalls.h (exp10): Declare if
14215         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14217         * manual/arith.texi (nextup): Fix typo in last change.
14219 2016-08-03  Zack Weinberg  <zackw@panix.com>
14221         [BZ #19239]
14222         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14223         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14224         define major, minor, and makedev to issue deprecation warnings on use.
14225         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14226         previously-activated deprecation warnings for these macros and prevent
14227         subsequent inclusions of this header from having any effect.
14228         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14229         including <sys/sysmacros.h>, and undefine it again afterward.
14231 2016-08-03  Zack Weinberg  <zackw@panix.com>
14233         * sysdeps/generic/sys/sysmacros.h: Delete file.
14234         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14235         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14236         * bits/sysmacros.h: ... here; this encoding is now the generic
14237         encoding.  Now defines only the following macros:
14238         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14239         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14240         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14242         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14243         bits/sysmacros.h and the above new macros to generate the
14244         public implementations of major, minor, and makedev.
14245         * misc/tst-makedev.c: New test.
14246         * include/sys/sysmacros.h: New wrapper.
14248         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14249         (routines): Add makedev.
14250         (tests): Add tst-makedev.
14251         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14252         gnu_dev_makedev.
14253         * posix/Makefile (headers): Remove sys/sysmacros.h.
14254         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14256         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14257         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14258         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14259         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14260         * sysdeps/unix/sysv/linux/arm/libc.abilist
14261         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14262         * sysdeps/unix/sysv/linux/i386/libc.abilist
14263         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14264         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14265         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14266         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14267         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14270         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14271         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14276         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14277         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14278         * sysdeps/unix/sysv/linux/sh/libc.abilist
14279         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14280         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14283         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14284         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14285         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14286         Add GLIBC_2.25.
14288         * include/features.h (__glibc_clang_prereq): New macro.
14289         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14290         (__attribute_deprecated_msg__): New macros.
14292 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14294         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14295         macro.
14296         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14297         * manual/arith.texi (issignaling): Document as ISO from TS
14298         18661-1:2014.
14299         (nextup): Likewise.
14300         (nextupf): Likewise.
14301         (nextupl): Likewise.
14302         (nextdown): Likewise.
14303         (nextdownf): Likewise.
14304         (nextdownl): Likewise.
14305         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14306         macro.
14307         * math/math.h: Define
14308         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14309         <bits/libc-header-start.h> instead of including <features.h>.
14310         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14311         [__USE_GNU].
14312         * math/bits/mathcalls.h (nextdown): Declare if
14313         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14314         (nextup): Likewise.
14315         (__issignaling): Likewise.
14317 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14319         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14320         check, and remove __glibc_likely hint
14321         from FP_INFINITE check.
14322         * s_csinhf.c (__csinhf): Likewise.
14324         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14325         hint from FP_INFINITE check.
14326         * s_csinhl.c (__csinhl): Likewise.
14328 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14330         * math/Makefile (libm-calls): Insert F placeholder into
14331         object names.  Move w_lgamma_compat* routines into
14332         (libm-compat-calls): New variable.
14333         (libm-compat-calls-ldouble-yes): New variable.
14334         (calls): Insert F placeholder.
14335         (generated): Redefine using new type-foreach macro call.
14336         (routines): Likewise.
14338         (types): New variable to hold a list of symbolic names
14339         for each type supported by the target machine.
14340         (libm-routines): Redefine using new types variable.
14341         (type-foreach): macro to replace fooF with the
14342         appropriately suffixed foo for each types.
14344         (type-ldouble-suffix): New variable.
14345         (type-ldouble-routines): Likewise.
14346         (type-ldouble-yes): Likewise.
14347         (type-double-suffix): Likewise.
14348         (type-double-routines): Likewise.
14349         (type-float-suffix): Likewise.
14350         (type-float-routines): Likewise.
14352         (dbl-only-routines): Remove.
14353         (long-c-yes): Likewise.
14354         (long-m-routines): Likewise.
14355         (long-m-support): Likewise.
14356         (long-m-yes): Likewise.
14357         (test-longdouble-yes): Likewise.
14359         (test-float.o): Simplify by increasing the scope of the
14360         recipe which adds libm-test.stmp to the vector types.
14361         (test-ifloat.o): Likewise.
14362         (test-float-finite.o): Likewise.
14363         (test-double.o): Likewise
14364         (test-idouble.o): Likewise.
14365         (test-double-finite.o): Likewise.
14366         (test-ldouble.o): Likewise
14367         (test-ildoubl.o): Likewise.
14368         (test-ldouble-finite.o): Likewise.
14370         (libm-tests): Redefine type tests using foreach and the
14371         list of types in types.
14373         (CPPFLAGS-test-ildoubl.c): Rename to
14374         (CPPFLAGS-test-ildouble.c): New variable
14376         * math/test-ildoubl.c: Rename to
14377         * math/test-ildouble.c: New file.
14379 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14381         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14382         Use fabsl instead of fabs.
14383         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14384         Likewise.
14385         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14386         Add long double suffix to constant to ensure proper
14387         promotion to long double.
14389 2016-08-03  Tom Tromey  <tom@tromey.com>
14391         [BZ #20311]
14392         * nptl_db/Makefile (headers): Add proc_service.h.
14393         * nptl_db/proc_service.h: Add include guard.  Use
14394         __BEGIN/__END_DECLS.
14395         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14396         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14397         arguments.
14400 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14402         [BZ #17730]
14403         Avoid using memalign for TCB allocations.
14404         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14405         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14406         Avoid alignment gap in the TLS_DTV_AT_TP case.
14407         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14408         determine the pointer to free.
14409         * nptl/tst-tls3-malloc.c: New test.
14410         * nptl/Makefile (tests): Add it.
14411         (tst-tls3-malloc): Link with libdl, libpthread.
14412         (LDFLAGS-tst-tls3-malloc): Set.
14413         (tst-tls3-malloc.out): Depend on DSO used in test.
14415 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14417         [BZ #17730]
14418         Avoid using memalign for TLS allocations.
14419         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14420         is_static member with to_free member.
14421         (union dtv): Use struct dtv_pointer.
14422         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14423         dtv_pointer instead of is_static.
14424         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14425         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14426         instead of val.
14427         (allocate_dtv_entry): New function.
14428         (allocate_and_init): Return struct dtv_pointer.  Call
14429         allocate_dtv_entry instead of __libc_memalign.
14430         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14431         instead of val.
14432         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14433         instead of is_static.  Adjust call to allocate_and_init.
14434         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14435         struct dtv_pointer instead of val.
14437 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14439         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14440         (MALLOC_ALIGN_MASK): Move ...
14441         * malloc/malloc-internal.h: ... to here.
14442         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14444 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14446         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14447         (UDP_ENCAP_GTP1U): Likewise.
14449         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14450         (PF_MAX): Update value.
14451         (AF_QIPCRTR): New macro.
14453 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14455         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14456         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14457         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14459         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14460         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14461         s_truncf-vis3, s_trunc-vis3.
14462         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14463         (CFLAGS-s_ceil-vis3.c): Likewise.
14464         (CFLAGS-s_floorf-vis3.c): Likewise.
14465         (CFLAGS-s_floor-vis3.c): Likewise.
14466         (CFLAGS-s_truncf-vis3.c): Likewise.
14467         (CFLAGS-s_trunc-vis3.c): Likewise.
14468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14476         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14477         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14478         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14479         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14481 2016-08-02  David S. Miller  <davem@davemloft.net>
14483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14484         (__nearbyint_vis3): Don't check for sNaN before float register is
14485         loaded with the incoming argument.
14486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14487         (__nearbyintf_vis3): Likewise.
14488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14489         Likewise.
14490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14491         Likewise.
14493         * string/test-strncmp.c (do_test_limit): Make sure the test data
14494         stream is aligned as required for the type "CHAR".
14495         (do_test): Likewise.
14497 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14499         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14500         by beq instructions jumping to the end of the function.
14501         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14502         clobber list. Use "i" constraint instead of "X".
14503         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14504         of "X".
14506 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
14508         * bits/libc-header-start.h: New file.
14509         * Makefile (headers): Add bits/libc-header-start.h.
14510         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14511         (__GLIBC_USE): New macro.
14512         * libio/stdio.h: Define
14513         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14514         <bits/libc-header-start.h> instead of including <features.h>.
14515         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14516         (open_memstream): Likewise.
14517         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14518         (__asprintf): Likewise.
14519         (asprintf): Likewise.
14520         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14521         (getdelim): Likewise.
14522         (getline): Likewise.
14523         * string/string.h: Define
14524         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14525         <bits/libc-header-start.h> instead of including <features.h>.
14526         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14527         (strndup): Likewise.
14528         * wcsmbs/wchar.h: Define
14529         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14530         <bits/libc-header-start.h> instead of including <features.h>.
14531         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14532         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14534 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14536         Support linking against compatibility symbols, for use in tests.
14537         * include/libc-symbols.h (symbol_version_reference): New macro.
14538         (symbol_version): Use it.
14539         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14540         (compat_symbol): Use compat_symbol_reference.
14541         (compat_symbol_1, compat_symbol_2): Remove.
14542         (compat_symbol_reference, compat_symbol_reference_1)
14543         (compat_symbol_reference_2): New macro.  Use
14544         symbol_version_reference.
14546 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14548         [BZ #19469]
14549         * malloc/Makefile (CPPFLAGS): Compile tests with
14550         -DTEST_NO_MALLOPT.
14551         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14553 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14555         [BZ #20033]
14556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14557         finite version.
14558         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14559         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14560         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14561         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14562         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14565         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14574         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14575         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14576         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14577         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14578         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14579         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14580         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14581         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14582         in zero power.
14584 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14586         [BZ #20370]
14587         * malloc/arena.c (get_free_list): Update comment.  Assert that
14588         arenas on the free list have no attached threads.
14589         (remove_from_free_list): New function.
14590         (reused_arena): Call it.
14592 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14594         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14595         when it is a NaN.
14596         [_IEEE_FP_INEXACT] Remove.
14597         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14598         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14599         when it is a NaN.
14600         [_IEEE_FP_INEXACT] Remove.
14601         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14602         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14603         when it is a NaN.
14604         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14605         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14606         when its absolute value is greater than 0x1.0p52.
14607         [_IEEE_FP_INEXACT] Remove.
14608         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14609         when its absolute value is greater than 0x1.0p23.
14610         [_IEEE_FP_INEXACT] Remove.
14612 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14614         * version.h (RELEASE): Set to "development"
14615         (VERSION): Set to 2.24.90.
14616         * NEWS: Add 2.25 section.
14618         * version.h (RELEASE): Set to "stable"
14619         (VERSION): Set to 2.24.
14620         * include/features.h (__GLIBC_MINOR__): Set to 24.
14622         * NEWS: Add 2.24 fixed bugs.
14623         * po/libc.pot: Regenerate.
14625 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14628         [$(subdir) = math] (libm-sysdep_routines): Remove.
14629         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14630         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14631         s_truncf-vis3, s_trunc-vis3.
14632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14634         file.
14635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14669         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14671         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14672         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14673         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14674         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14675         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14676         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14677         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14679 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14681         [BZ #20384]
14682         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14683         test-double-libmvec-sincos-avx-main.o,
14684         test-double-libmvec-sincos-avx2-main.o,
14685         test-double-libmvec-sincos-main.o,
14686         test-float-libmvec-sincosf-avx-main.o,
14687         test-float-libmvec-sincosf-avx2-main.o and
14688         test-float-libmvec-sincosf-main.o.
14689         test-float-libmvec-sincosf-avx512-main.o.
14690         ($(objpfx)test-double-libmvec-sincos): Also link with
14691         $(objpfx)test-double-libmvec-sincos-main.o.
14692         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14693         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14694         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14695         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14696         ($(objpfx)test-float-libmvec-sincosf): Also link with
14697         $(objpfx)test-float-libmvec-sincosf-main.o.
14698         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14699         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14700         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14701         test-double-libmvec-sincos-avx512-main.o and
14702         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14703         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14704         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14705         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14706         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14707         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14708         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14709         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14710         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14711         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14712         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14713         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14714         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14715         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14716         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14717         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14718         -DREQUIRE_AVX2.
14719         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14720         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14721         -DREQUIRE_AVX512F.
14722         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14724         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14725         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14726         file.
14727         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14728         Likewise.
14729         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14730         Likewise.
14731         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14732         Likewise.
14733         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14734         Likewise.
14735         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14736         Likewise.
14737         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14738         Likewise.
14739         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14740         Likewise.
14742 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14744         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14746 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14748         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14749         and typo in a comment about AT_HWCAP entry.
14751 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14753         * sysdeps/aarch64/libm-test-ulps: Updated.
14755 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14757         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14758         of r13 as it is not restored in mvcle case.
14760 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14762         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14763         Rename "ret" to "__ret".
14764         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14765         inline_syscall5, inline_syscall6): Likewise.
14767 2016-07-19   Will Newton  <will.newton@gmail.com>
14769         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14770         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14771         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14772         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14773         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14775 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14777         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14778         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14779         -mfpmath=387 with $(rtld-CFLAGS).
14780         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14781         $(rtld-CFLAGS).
14783 2016-07-18   Ross Burton  <ross.burton@intel.com>
14784              Khem Raj  <raj.khem@gmail.com>
14786         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14787         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14788         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14789         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14790         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14791         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14792         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14793         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14794         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14795         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14796         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14797         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14798         R_METAG_TLS_DTPOFF): New.
14800 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14801             Matt Clay  <mclay@lycos.com>
14803         [BZ #20357]
14804         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14805         to call __mpsin/__mpcos and to negate values.
14806         * math/auto-libm-test-in: Add test.
14807         * math/auto-libm-test-out: Regenerate.
14809 2016-07-18  Zack Weinberg  <zackw@panix.com>
14811         * grp/Makefile: Don't install the internal header grp-merge.h.
14813 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14815         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14817 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14819         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14821 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14823         [BZ #15368]
14824         * sysdeps/unix/sysv/linux/nptl-signals.h
14825         (__nptl_clear_internal_signals): New function.
14826         (__libc_signal_block_all): Likewise.
14827         (__libc_signal_block_app): Likewise.
14828         (__libc_signal_restore_set): Likewise.
14829         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14830         implementation.
14831         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14832         the cached pid/tid value in pthread structure.
14834 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14836         [BZ #20347]
14837         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14839 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14841         [BZ #20348]
14842         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14843         preadv64, pwrite64 and pwritev64.
14845 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14847         [BZ #20350]
14848         * posix/tst-preadwrite.c: Renamed to ...
14849         * posix/tst-preadwrite-common.c: This.
14850         (PREAD): Removed.
14851         (PWRITE): Likewise.
14852         (STRINGIFY): Likewise.
14853         (STRINGIFY2): Likewise.
14854         (do_prepare): Make it static and remove function arguments.
14855         (do_test): Likewise.
14856         (PREPARE): Updated.
14857         (TEST_FUNCTION): New.
14858         (name): Make it static.
14859         (fd): Likewise.
14860         (do_prepare): Use create_temp_file.
14861         (do_test): Renamed to ...
14862         (do_test_with_offset): This.  Make it static and accept offset.
14863         Properly check return value of PWRITE and PREAD.  Return bytes
14864         read.  Don't close fd nor unlink name.
14865         * posix/tst-preadwrite.c: Rewrite.
14866         * posix/tst-preadwrite64.c: Likewise.
14868 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14870         [BZ #20309]
14871         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14872         -mtls-dialect=gnu2 works.
14873         * configure: Regenerated.
14874         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14875         (tests): Add tst-gnu2-tls1.
14876         (modules-names): Add tst-gnu2-tls1mod.
14877         ($(objpfx)tst-gnu2-tls1): New.
14878         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14879         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14880         * elf/tst-gnu2-tls1.c: New file.
14881         * elf/tst-gnu2-tls1mod.c: Likewise.
14882         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14883         bytes for push in the PLT entry to align the stack.
14885 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14887         [BZ #20349]
14888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14890 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14892         [BZ #18707]
14893         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14894         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14896 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14898         * sysdeps/unix/sysv/linux/sysdep.h
14899         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14900         guards.
14901         * misc/tst-preadvwritev-common.c: New file.
14902         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14903         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14904         a check for files larger than 2GB.
14906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14907         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14908         * sysdeps/unix/sysv/linux/pread.c
14909         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14910         __OFF_T_MATCHES_OFF64_T.
14911         * sysdeps/unix/sysv/linux/pread64.c
14912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14913         * sysdeps/unix/sysv/linux/preadv.c
14914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14915         * sysdeps/unix/sysv/linux/preadv64.c
14916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14917         * sysdeps/unix/sysv/linux/pwrite.c
14918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14919         * sysdeps/unix/sysv/linux/pwrite64.c
14920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14921         * sysdeps/unix/sysv/linux/pwritev.c
14922         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14923         * sysdeps/unix/sysv/linux/pwritev64.c
14924         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14926 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14928         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14929         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14931 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14933         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14935 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14937         [BZ #20240]
14938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14939         (CFLAGS-s_modf-ppc32.c): New variable.
14940         (CFLAGS-s_modff-ppc32.c): Likewise.
14941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14942         (CFLAGS-s_modf-ppc64.c): Likewise.
14943         (CFLAGS-s_modff-ppc64.c): Likewise.
14945 2016-07-07  Andreas Schwab  <schwab@suse.de>
14947         [BZ #20263]
14948         * nptl/tst-robust10.c: New test.
14949         * nptl/Makefile (tests): Add tst-robust10.
14951 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14953         [BZ #20263]
14954         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14956 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14958         * sysdeps/s390/linkmap.h (struct link_map_machine):
14959         Remove member gotplt and add member jmprel.
14960         * sysdeps/s390/s390-32/dl-machine.h
14961         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14962         instead of gotplt with &got[3].
14963         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14964         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14966 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14968         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14970 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14972         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14973         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14974         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14975         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14976         * libio/vtables.c (_IO_vtable_check)
14977         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14978         * libio/libioP.h (IO_set_accept_foreign_vtables)
14979         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14981 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14983         [BZ #20314]
14984         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14985         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14986         $(common-objpfx)cmath.
14987         ($(common-objpfx)cstdlib): New target.
14988         ($(common-objpfx)cmath): Likewise.
14990 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14992         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14994 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14996         [BZ #20327]
14997         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14998         are not part of the string.
15000 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15002         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15003         * nptl/tst-cancel4-common.h (fifoname): New variable.
15004         (fifofd): Likewise.
15005         (cl_fifo): New function.
15006         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15007         SIGINT.
15008         (tf_open): Add early cancel test.
15010 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15012         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15014 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15016         * sysdeps/generic/ldsodefs.h
15017         (dl_symbol_visibility_binds_local_p): New inline function.
15018         * elf/dl-addr.c (determine_info): Treat hidden and internal
15019         symbols as local.
15020         * elf/dl-lookup.c (do_lookup_x): Likewise.
15021         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15023 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15025         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15026         invalid exception for a sNaN input.
15027         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15028         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15029         (__nearbyint_vis3): Likewise
15030         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15031         (__nearbyintf_vis3): Likewise
15032         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15033         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15034         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15035         Likewise.
15036         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15037         Likewise.
15039 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15041         [BZ #20139]
15042         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15043         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15044         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15045         2.24 or above.
15046         (HAVE_AVX512_ASM_SUPPORT): Removed.
15047         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15048         * sysdeps/x86_64/configure: Regenerated.
15049         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15050         check unconditional.
15051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15052         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15053         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15054         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15055         Likewise.
15056         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15057         Likewise.
15058         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15059         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15060         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15061         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15062         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15063         Likewise.
15064         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15065         Likewise.
15066         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15069         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15070         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15071         Likewise.
15072         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15073         Likewise.
15074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15075         Likewise.
15076         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15077         Likewise.
15078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15079         Likewise.
15080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15081         Likewise.
15082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15083         Likewise.
15084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15085         Likewise.
15086         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15087         Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15089         Likewise.
15090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15091         Likewise.
15093 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15095         [BZ #20024]
15096         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15097         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15098         of this implementation of vector function.
15099         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15102         Likewise.
15103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15104         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15105         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15106         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15107         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15108         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15109         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15110         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15111         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15112         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15114         for testing vector sincos with fixed ABI.
15115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15116         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15117         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15118         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15119         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15120         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15121         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15122         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15123         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15124         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15125         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15126         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15127         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15128         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15129         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15130         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15132 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15134         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15136 2016-06-30  Anton Blanchard  <anton@samba.org>
15138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15139         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15140         s_sinf-ppc64.
15141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15144         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15146 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15150         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15151         e_expf-ppc64.
15152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15155         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15157 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15159         [BZ #20277]
15160         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15161         when SHARED is defined.
15163 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15165         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15166         (index_arch_Prefer_ERMS): Likewise.
15167         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15168         __memcpy_erms for Prefer_ERMS.
15169         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15170         (__memmove_erms): Enabled for libc.a.
15171         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15172         __memmove_erms or Prefer_ERMS.
15173         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15174         __mempcpy_erms for Prefer_ERMS.
15175         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15176         __memset_erms for Prefer_ERMS.
15178 2016-06-30  Andreas Schwab  <schwab@suse.de>
15180         [BZ #20262]
15181         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15182         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15183         of memory.
15185 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15187         [BZ #18645]
15188         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15189         (test-extras): Add tst-cleanupx4aux.
15190         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15191         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15192         tst-cleanupx4aux.o.
15193         * nptl/tst-cleanupx4aux.c: New file.
15195 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15197         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15199 2016-06-29  Andreas Schwab  <schwab@suse.de>
15201         [BZ #20260]
15202         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15203         address before the beginning of the string as an integer to avoid
15204         array-bounds warning.
15206 2016-06-28  Richard Henderson  <rth@redhat.com>
15208         * elf/elf.h (EM_BPF): New.
15209         (EM_NUM): Update.
15210         (R_BPF_NONE, R_BPF_MAP_FD): New.
15212         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15213         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15214         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15215         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15216         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15217         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15218         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15219         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15220         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15221         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15222         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15223         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15224         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15225         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15226         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15227         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15228         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15229         (EM_NUM): Update.
15231 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15233         [BZ #18960]
15234         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15235         Set _nl_current_LC_CATEGORY_used to two instead of one.
15237 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15239         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15240         (do_test): ... this.
15241         (TEST_FUNCTION): New macro.
15242          Include test-skeleton.c.
15243         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15244         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15246 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15248         [BZ #15479]
15249         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15250         floating-point environment rather than just control word.
15251         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15252         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15253         floating-point environment, with "invalid" exceptions merged in,
15254         rather than just control word.
15255         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15256         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15257         "inexact" exceptions.
15259         [BZ #15479]
15260         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15261         floating-point environment rather than just control word.
15262         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15263         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15264         floating-point environment, with "invalid" exceptions merged in,
15265         rather than just control word.
15266         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15267         * math/libm-test.inc (floor_test_data): Do not allow spurious
15268         "inexact" exceptions.
15270         [BZ #15479]
15271         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15272         floating-point environment rather than just control word.
15273         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15274         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15275         floating-point environment, with "invalid" exceptions merged in,
15276         rather than just control word.
15277         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15278         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15279         "inexact" exceptions.
15281 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15283         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15284         __libc_vfork.
15285         (__vfork) [IS_IN (libc)]: Remove alias.
15286         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15287         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15288         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15290 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15292         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15293         of atomic_compare_and_exchange_bool_rel.
15294         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15295         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15296         catomic_compare_and_exchange_bool_rel): Remove.
15297         * sysdeps/aarch64/atomic-machine.h
15298         (atomic_compare_and_exchange_bool_rel): Likewise.
15299         * sysdeps/alpha/atomic-machine.h
15300         (atomic_compare_and_exchange_bool_rel): Likewise.
15301         * sysdeps/arm/atomic-machine.h
15302         (atomic_compare_and_exchange_bool_rel): Likewise.
15303         * sysdeps/mips/atomic-machine.h
15304         (atomic_compare_and_exchange_bool_rel): Likewise.
15305         * sysdeps/microblaze/atomic-machine.h
15306         ( __arch_compare_and_exchange_bool_8_rel,
15307         __arch_compare_and_exchange_bool_16_rel): Likewise.
15308         * sysdeps/powerpc/atomic-machine.h
15309         ( __arch_compare_and_exchange_bool_8_rel,
15310         __arch_compare_and_exchange_bool_16_rel): Likewise.
15311         * sysdeps/powerpc/powerpc32/atomic-machine.h
15312         ( __arch_compare_and_exchange_bool_32_rel,
15313         __arch_compare_and_exchange_bool_64_rel): Likewise.
15314         * sysdeps/powerpc/powerpc64/atomic-machine.h
15315         ( __arch_compare_and_exchange_bool_32_rel,
15316         __arch_compare_and_exchange_bool_64_rel): Likewise.
15317         * sysdeps/tile/atomic-machine.h
15318         (atomic_compare_and_exchange_bool_rel): Likewise.
15320 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15322         [BZ #20296]
15323         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15324         when either argument is a NaN.
15325         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15326         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15328         * math/libm-test.inc (snan_value_ld): New macro.
15329         (isgreater_test_data): Add sNaN tests.
15330         (isgreaterequal_test_data): Likewise.
15331         (isless_test_data): Likewise.
15332         (islessequal_test_data): Likewise.
15333         (islessgreater_test_data): Likewise.
15334         (isunordered_test_data): Likewise.
15335         (nextafter_test_data): Likewise.
15336         (nexttoward_test_data): Likewise.
15337         (remainder_test_data): Likewise.
15338         (remquo_test_data): Likewise.
15339         (significand_test_data): Likewise.
15340         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15342 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15344         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15345         environment macros are defined.
15346         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15348 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15350         [BZ #20191]
15351         Implement vtable verification in libio.
15352         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15353         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15354         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15355         _IO_new_file_init_internal instead of _IO_file_init.
15356         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15357         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15358         * libio/Makefile (routines): Add vtables.
15359         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15360         (_IO_init): Remove, not for internal use.
15361         (_IO_init_internal): Declare, internal replacement for _IO_init.
15362         (_IO_file_init): Remove, not for internal use.
15363         (_IO_new_file_init): Remove, not for internal use.
15364         (_IO_new_file_init_internal): Declare, internal replacement for
15365         _IO_new_file_init.
15366         (_IO_old_file_init): Remove, not for internal use.
15367         (_IO_old_file_init_internal): Declare, internal replacement for
15368         _IO_old_file_init.
15369         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15370         internal use.
15371         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15372         Declare.
15373         (libio_vtable): New macro.
15374         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15375         functions.
15376         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15377         _IO_new_file_init.
15378         (_IO_new_file_init): New externally visible wrapper which disables
15379         vtable verification.
15380         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15381         Define as vtables.
15382         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15383         (_IO_init): New externally visible wrapper which disables
15384         vtable verification.
15385         * libio/iofdopen.c (_IO_new_fdopen): Call
15386         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15387         comment.
15388         * libio/iofopen.c (__fopen_internal): Call
15389         _IO_new_file_init_internal instead of _IO_file_init.
15390         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15391         Define as vtables.
15392         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15393         _IO_new_file_init_internal instead of _IO_file_init.
15394         * libio/iopopen.c (_IO_new_popen): Likewise.
15395         (_IO_proc_jumps): Define as vtable.
15396         * libio/iovdprintf.c (_IO_vdprintf): Call
15397         _IO_new_file_init_internal instead of _IO_file_init.
15398         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15399         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15400         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15401         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15402         _IO_old_file_init.
15403         (_IO_old_file_init): New externally visible wrapper which disables
15404         vtable verification.
15405         (_IO_old_file_jumps): Define as vtable.
15406         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15407         _IO_old_file_init_internal instead of _IO_old_file_init.
15408         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15409         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15410         (_IO_old_proc_jumps): Define as vtable.
15411         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15412         Define as vtables.
15413         * libio/vtables.c: New file.
15414         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15415         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15416         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15417         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15418         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15419         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15420         instead of _IO_init.
15422 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15424         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15426 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15428         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15429         potentially unused.
15431 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15433         * test-skeleton.c (write_message): New function.
15434         * malloc/tst-mallocfork2.c (write_message): Remove.
15435         * debug/tst-longjmp_chk2.c (write_indented): New function.
15436         (write_message): Remove.
15437         (stackoverflow_handler): Call write_indented.
15439 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15441         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15442         "inexact" exceptions after fnstenv.
15443         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15444         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15445         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15447 2015-06-22  Zack Weinberg  <zackw@panix.com>
15449         * sysdeps/generic/bits/hwcap.h: Moved to ...
15450         * bits/hwcap.h: Here.
15452 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15454         * sysdeps/aarch64/memcpy.S (memcpy):
15455         Further tuning for performance.
15457 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15459         [BZ #20284]
15460         * malloc/arena.c (reused_arena): Do not return NULL if we start
15461         out with a non-corrupted arena.
15463 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15465         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15466         * misc/tst-preadvwritev.c: New file.
15467         * misc/tst-preadvwritev64.c: Likewise.
15468         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15469         usage.
15470         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15471         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15472         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15473         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15475 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
15477         [BZ #19654]
15478         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15484         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15488         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15489         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15490         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15496         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15500         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15501         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15502         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15503         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15505 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15507         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15508         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15510 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15512         * sysdeps/aarch64/memcpy.S (memcpy):
15513         Rewrite of optimized memcpy and memmove.
15514         * sysdeps/aarch64/memmove.S (memmove): Remove
15515         memmove code (merged into memcpy.S).
15517 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15519         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15520         * sysdeps/generic/dl-dtv.h: New file.
15521         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15522         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15523         (dtv_t): Remove.
15524         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15525         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15526         (dtv_t): Remove.
15527         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15528         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15529         (dtv_t): Remove.
15530         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15531         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15532         (dtv_t): Remove.
15533         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15534         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15535         (dtv_t): Remove.
15536         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15537         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15538         (dtv_t): Remove.
15539         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15540         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15541         (dtv_t): Remove.
15542         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15543         (dtv_t): Remove.
15544         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15545         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15546         (dtv_t): Remove.
15547         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15548         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15549         (dtv_t): Remove.
15550         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15551         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15552         (dtv_t): Remove.
15553         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15554         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15555         (dtv_t): Remove.
15556         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15557         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15558         (dtv_t): Remove.
15559         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15560         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15561         (dtv_t): Remove.
15562         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15563         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15564         (dtv_t): Remove.
15565         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15566         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15567         (dtv_t): Remove.
15569 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15571         Revert symbol poisoning of  __malloc_initialize_hook.
15572         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15573         poisoning.
15574         * malloc/Makefile: Remove un-poisoning.
15575         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15576         instead of old__malloc_initialize_hook.
15577         * malloc/malloc-hooks.h: Likewise.
15578         * malloc/malloc.c: Likewise.
15579         * malloc/mcheck-init.c: Likewise.
15581 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15583         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15585 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15587         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15588         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15589         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15590         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15592 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15594         * NEWS: Mention addition of nextup and nextdown.
15595         * manual/arith.texi: Document nextup and nextdown.
15596         * manual/libm-err-tab.pl: Add nextup and nextdown.
15597         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15598         * math/Versions (libm): Add GLIBC_2.24.
15599         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15600         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15601         Add new test.
15602         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15603         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15604         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15605         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15606         (nextup_test_data): Likewise.
15607         (nextdown_test_data): Likewise.
15608         * math/s_nextdown.c: New file.
15609         * math/s_nextdownf.c: Likewise.
15610         * math/s_nextdownl.c: Likewise.
15611         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15612         F(nextup): New function.
15613         F(nextdown): Likewise.
15614         * math/tgmath.h: Add nextup and nextdown.
15615         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15616         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15617         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15619         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15620         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15621         Add nextup and nextdown.
15622         (CFLAGS-nldbl-nextup.c): New variable.
15623         (CFLAGS-nldbl-nextdown.c): Likewise.
15624         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15625         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15626         * sysdeps/nacl/libm.abilist: Update.
15627         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15628         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15629         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15630         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15631         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15632         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15633         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15634         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15635         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15636         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15637         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15638         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15641         Likewise.
15642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15644         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15646         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15647         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15648         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15652         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15653         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15654         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15656 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15658         * manual/pattern.texi: Fix typos & grammar errors.
15660 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15662         * manual/search.texi: Fix typos & grammar errors.
15664 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15666         * manual/message.texi: Fix typos & grammar errors.
15668 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15670         * manual/contrib.texi: Fix spelling typos.
15671         * manual/crypt.texi: Likewise.
15672         * manual/filesys.texi: Likewise.
15673         * manual/locale.texi: Likewise.
15674         * manual/message.texi: Likewise.
15675         * manual/nss.texi: Likewise.
15676         * manual/string.texi: Likewise.
15678 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15680         * manual/locale.texi: Fix typos & grammar errors.
15682 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15684         * manual/charset.texi: Fix typos & grammar errors.
15686 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15688         * manual/string.texi: Fix typos.
15690 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15692         * manual/ctype.texi: Fix typos.
15694 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15696         * manual/memory.texi: Fix various typos & grammar errors.
15698 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15700         [BZ #20255]
15701         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15702         * math/libm-test.inc (fdim_test_data): Add another test.
15704         [BZ #6796]
15705         [BZ #20255]
15706         [BZ #20256]
15707         * math/s_fdim.c: Include <math_private.h>.
15708         (__fdim): Use math_narrow_eval on result.
15709         * math/s_fdimf.c: Include <math_private.h>.
15710         (__fdimf): Use math_narrow_eval on result.
15711         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15712         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15713         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15714         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15715         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15716         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15717         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15718         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15719         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15720         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15721         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15722         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15723         overflow.  Add sNaN tests.
15725         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15726         fpclassify.
15727         * math/s_fdimf.c (__fdimf): Likewise.
15728         * math/s_fdiml.c (__fdiml): Likewise.
15730 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15732         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15733         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15735         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15736         ifunc'ed strcasecmp/strncasecmp.
15737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15738         [EALIGN]: Removed.
15739         [END]: Likewise.
15740         [__strcasecmp]: Define instead of the above to control symbol name.
15741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15742         for __strcasecmp_power8.
15743         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15744         for __strncasecmp_power8.
15745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15747         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15748         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15749         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15750         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15752 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15754         [BZ #20252]
15755         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15756         arguments when second argument is a NaN.
15757         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15758         qNaN tests.
15760         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15761         (conj_test_data): Likewise.
15762         (copysign_test_data): Likewise.
15763         (creal_test_data): Likewise.
15764         (fma_test_data): Likewise.
15765         (fmod_test_data): Likewise.
15767         [BZ #20250]
15768         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15769         itself.
15770         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15771         zero input to itself.
15772         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15773         Likewise.
15774         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15775         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15777         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15778         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15780 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15782         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15783         * nptl/tst-cancel4-common.c: New file.
15784         * nptl/tst-cancel4-common.h: Likewise.
15785         * nptl/tst-cancel4.c: Move common definitions to
15786         tst-cancel4-common.{c,h} file.
15787         * nptl/tst-cancel4_1.c: New test.
15788         * nptl/tst-cancel4_2.c: New test.
15790 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15792         [BZ #20248]
15793         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15794         (write_message): New function.
15795         (stackoverflow_handler): Call it instead of printf, to avoid
15796         excessive stack usage by printf.
15797         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15799 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15801         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15802         (prio_inherit_missing): Remove define.
15803         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15806         Likewise.
15807         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15808         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15811         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15812         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15814 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15816         [BZ #19670]
15817         [BZ #19672]
15819         * io/test-lfs.c (do_prepare): Use xmalloc.
15820         * io/tst-fcntl.c (do_prepare): Likewise.
15821         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15822         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15823         * login/tst-utmp.c (do_prepare): Likewise.
15824         * posix/tst-exec.c (do_prepare): Likewise.
15825         * posix/tst-pathconf.c (prepare): Likewise.
15826         * posix/tst-spawn.c (do_prepare): Likewise.
15827         * posix/tst-truncate.c (do_prepare): Likewise.
15828         * rt/tst-aio.c (do_prepare): Likewise.
15829         * rt/tst-aio64.c (do_prepare): Likewise.
15831 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15833         [BZ #20237]
15834         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15835         (get*ent): Set entidx to NULL during initialization.  If entidx is
15836         NULL, start iteration from the beginning.
15838 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15840         * malloc/malloc.c (musable): Return correct size for dumped fake
15841         mmapped chunk.
15843 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15845         [BZ #20222]
15846         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15847         (_IO_cookie_write): Likewise.
15848         (_IO_cookie_seek): Likewise.
15849         (_IO_cookie_close): Likewise.
15850         (_IO_old_cookie_seek): Likewise.
15851         (set_callbacks): New function.
15852         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15854 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15856         * locale/programs/localedef.c (oldstyle_tables): Remove.
15857         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15859 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15861         [BZ #20240]
15862         * math/Makefile (CFLAGS-s_modf.c): New variable.
15863         (CFLAGS-s_modff.c): Likewise.
15864         (CFLAGS-s_modfl.c): Likewise.
15865         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15867 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15869         [BZ #20215]
15870         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15871         [!__GNUC_PREREQ (3,2)]: Likewise.
15873 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15875         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15876         (msghdr.msg_controllen): Likewise.
15877         (cmsghdr.cmsg_len): Likewise.
15878         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15879         ptw-oldsendmsg.
15880         (CFLAGS-oldrecvmsg.c): Remove rule.
15881         (CFLAGS-oldsendmsg.c): Likewise.
15882         (CFLAGS-recvmsg.c): Add rule.
15883         (CFLAGS-sendmsg.c): Likewise.
15884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15885         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15886         (CFLAGS-recvmsg.c): Remove rule.
15887         (CFLAGS-sendmsg.c): Likewise.
15888         (CFLAGS-oldrecvmsg.c): Likewise.
15889         (CFLAGS-oldsendmsg.c): Likewise.
15890         (CFLAGS-recvmmsg.c): Likewise.
15891         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15892         to kernel defined interfaces.
15893         (msghdr.msg_controllen): Likewise.
15894         (cmsghdr.cmsg_len): Likewise.
15895         (msghdr.__glibc_reserved1): Remove member.
15896         (msghdr.__glibc_reserved2): Likewise.
15897         (cmsghdr.__glibc_reserved1): Likewise.
15898         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15899         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15900         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15901         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15902         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15903         version.
15904         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15905         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15906         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15907         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15908         Remove recvmsg and sendmsg.
15909         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15910         Likewise.
15911         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15912         Likewise.
15913         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15914         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15915         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15918         Likewise.
15919         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15920         [libc] (GLIBC_2.24): Likewise.
15921         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15922         Likewise.
15923         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15924         Likewise.
15925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15926         [libc] (GLIBC_2.24): Likewise.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15928         Likewise.
15929         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15930         Likewise.
15931         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15932         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15933         Likewise.
15934         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15935         Likewise.
15936         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15937         Likewise.
15938         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15939         Likewise.
15940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15941         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15942         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15943         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15944         version for {recv,send,recm,sendm}msg.
15945         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15946         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15947         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15948         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15949         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15950         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15951         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15952         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15953         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15955         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15956         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15958         Likewise.
15959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15960         Likewise.
15961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15963         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15964         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15965         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15966         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15967         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15968         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15971         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15972         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15973         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15975 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15977         [BZ #19564]
15978         Remove __malloc_initialize_hook from the API.
15979         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15980         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15981         #pragma GCC poison.
15982         * malloc/malloc-hooks.h: New file.
15983         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15984         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15985         (old__malloc_initialize_hook): Rename from
15986         __malloc_initialize_hook to evade poisoning.  Turn into compat
15987         symbol.
15988         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15989         __malloc_initialize_hook.
15990         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15991         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15992         * manual/memory.texi (Hooks for Malloc): Remove
15993         __malloc_initialize_hook.  Adjust hook example.
15995 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15997         [BZ #20235]
15998         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15999         itself.
16000         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16001         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16003         [BZ #20234]
16004         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16005         infinity or NaN input to itself.
16007         [BZ #20233]
16008         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16009         to itself.
16011         [BZ #20232]
16012         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16013         itself.
16015 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16017         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16018         __libc_start_main via GOT.
16020 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16022         * sysdeps/x86_64/memcopy.h: New file.
16023         * sysdeps/x86_64/wordcopy.c: Likewise.
16025 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16027         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16028         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16029         <cstdlib>.
16030         (optimization_barrier): New.
16031         (do_test): Use it.  Call quick_exit in the global namespace.
16032         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16033         instead of <cstdlib>, <thread>.
16034         (optimization_barrier): New.
16035         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16036         Call quick_exit in the global namespace.
16037         (do_test): Call optimization_barrier.  Use pthread_create,
16038         pthread_join instead of std::thread.
16040 2016-06-09  Andreas Schwab  <schwab@suse.de>
16042         [BZ #19755]
16043         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16044         new entries in auto-propagate mode.
16045         * nscd/grpcache.c (cache_addgr): Likewise.
16047 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16049         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16050         New functions.
16051         (add_temp_file): Use them.
16053 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16055         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16057 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16059         [BZ #20229]
16060         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16061         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16062         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16064         [BZ #20228]
16065         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16066         itself.
16067         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16068         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16070         [BZ #20227]
16071         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16072         itself.
16073         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16074         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16075         * math/libm-test.inc (log_test_data): Add sNaN tests.
16077         [BZ #20226]
16078         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16079         itself.
16080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16081         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16082         (exp10_test_data): Likewise.
16083         (expm1_test_data): Likewise.
16085         [BZ #20225]
16086         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16087         itself.
16088         * math/s_ldexpf.c (__ldexpf): Likewise.
16089         * math/s_ldexpl.c (__ldexpl): Likewise.
16090         * math/w_scalbln.c (__w_scalbln): Likewise.
16091         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16092         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16093         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16094         (scalbln_test_data): Likewise.
16096         [BZ #20224]
16097         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16098         argument to itself.
16099         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16101 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16103         [BZ #19776]
16104         * sysdeps/x86_64/memcpy.S: Make it dummy.
16105         * sysdeps/x86_64/mempcpy.S: Likewise.
16106         * sysdeps/x86_64/memmove.S: New file.
16107         * sysdeps/x86_64/memmove_chk.S: Likewise.
16108         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16109         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16110         * sysdeps/x86_64/memmove.c: Removed.
16111         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16112         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16113         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16114         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16115         Likewise.
16116         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16119         memcpy-sse2-unaligned, memmove-avx-unaligned,
16120         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16122         (__libc_ifunc_impl_list): Replace
16123         __memmove_chk_avx512_unaligned_2 with
16124         __memmove_chk_avx512_unaligned.  Remove
16125         __memmove_chk_avx_unaligned_2.  Replace
16126         __memmove_chk_sse2_unaligned_2 with
16127         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16128         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16129         with __memmove_avx512_unaligned.  Replace
16130         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16131         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16132         with __memcpy_chk_avx512_unaligned.  Remove
16133         __memcpy_chk_avx_unaligned_2.  Replace
16134         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16135         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16136         Replace __memcpy_avx512_unaligned_2 with
16137         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16138         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16139         with __mempcpy_chk_avx512_unaligned.  Remove
16140         __mempcpy_chk_avx_unaligned_2.  Replace
16141         __mempcpy_chk_sse2_unaligned_2 with
16142         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16143         Replace __mempcpy_avx512_unaligned_2 with
16144         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16145         Replace __mempcpy_sse2_unaligned_2 with
16146         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16147         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16148         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16149         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16150         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16151         (ENTRY): Removed.
16152         (END): Likewise.
16153         (ENTRY_CHK): Likewise.
16154         (libc_hidden_builtin_def): Likewise.
16155         Don't include ../memcpy.S.
16156         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16157         __memcpy_chk_avx512_unaligned_erms and
16158         __memcpy_chk_avx512_unaligned.  Use
16159         __memcpy_chk_avx_unaligned_erms and
16160         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16161         Default to __memcpy_chk_sse2_unaligned.
16162         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16163         Change function suffix from unaligned_2 to unaligned.
16164         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16165         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16166         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16167         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16168         (ENTRY): Removed.
16169         (END): Likewise.
16170         (ENTRY_CHK): Likewise.
16171         (libc_hidden_builtin_def): Likewise.
16172         Don't include ../mempcpy.S.
16173         (mempcpy): New.  Add a weak alias.
16174         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16175         __mempcpy_chk_avx512_unaligned_erms and
16176         __mempcpy_chk_avx512_unaligned.  Use
16177         __mempcpy_chk_avx_unaligned_erms and
16178         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16179         Default to __mempcpy_chk_sse2_unaligned.
16181 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16183         [BZ #19881]
16184         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16185         into ...
16186         * sysdeps/x86_64/memset.S: This.
16187         (__bzero): Removed.
16188         (__memset_tail): Likewise.
16189         (__memset_chk): Likewise.
16190         (memset): Likewise.
16191         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16192         defined.
16193         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16194         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16195         (__memset_zero_constant_len_parameter): Check SHARED instead of
16196         PIC.
16197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16198         memset-avx2 and memset-sse2-unaligned-erms.
16199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16200         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16201         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16202         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16203         (__bzero): Enabled.
16204         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16205         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16206         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16207         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16208         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16209         (memset): Removed.
16210         (__memset_chk): Likewise.
16211         (MEMSET_SYMBOL): New.
16212         (libc_hidden_builtin_def): Replace __memset_sse2 with
16213         __memset_sse2_unaligned.
16214         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16215         __memset_chk_sse2 and __memset_chk_avx2 with
16216         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16217         Use __memset_chk_sse2_unaligned_erms or
16218         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16219         __memset_chk_avx512_unaligned_erms and
16220         __memset_chk_avx512_unaligned.
16222 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16224         * math/gen-auto-libm-test.c (fp_format_desc): remove
16225         suffix member.
16226         (output_generic_value): Remove usage of suffix member,
16227         and the resulting unuse of the fp_format argument.
16228         (output_for_one_input_case): Remove unused fp_format
16229         parameter.
16231         * math/auto-libm-test-out: Regenerate.
16233         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16234         usage with TEST_COND_ibm128.
16235         (TEST_COND_flt_32): Remove.
16236         (TEST_COND_dbl_64): Remove.
16237         (TEST_COND_ldbl_96_intel): Remove.
16238         (TEST_COND_ldbl_96_m68k): Remove.
16239         (TEST_COND_ldbl_128): Remove.
16241 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16243         * auto-libm-test-in:
16244         Replace flt-32 usage with binary32.
16245         Replace dbl-64 usage with binary64.
16246         Replace ldbl-intel-96 usage with intel96.
16247         Replace ldbl-m68k-96 usage with m68k96.
16248         Replace ldbl-128ibm usage with ibm128.
16249         Replace ldbl-128 usage with binary128.
16251         * auto-libm-test-out: Regenerate.
16253 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16255         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16256         (parse_ulps): Dynamically generate type name matching
16257         string from all_floats.
16258         (get_ulps): Generate the ulps as an array instead.
16259         (output_ulps): Dynamically compose the type based
16260         on the number of supported formats, and print
16261         the indices as type specific helper macros.
16263         * math/libm-test.inc: Remove comment about CHOOSE.
16264         (ulp_data): Generate the type in libm-test-ulps.h.
16265         (ULP_IDX): New macro.
16266         (find_ulps): Update usage of max_ulp.
16268         * math/test-double-vlen2.h (CHOOSE): Remove.
16269         * math/test-double-vlen4.h (CHOOSE): Likewise.
16270         * math/test-double-vlen8.h (CHOOSE): Likewise.
16271         * math/test-float.c (CHOOSE): Likewise.
16272         * math/test-float-finite.c (CHOOSE): Likewise.
16273         * math/test-double.c (CHOOSE): Likewise.
16274         * math/test-double-finite.c (CHOOSE): Likewise.
16275         * math/test-idouble.c (CHOOSE): Likewise.
16276         * math/test-ifloat.c (CHOOSE): Likewise.
16277         * math/test-ildoubl.c (CHOOSE): Likewise.
16278         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16279         * math/test-ldouble.c (CHOOSE): Likewise.
16281         * math/test-float.h (TEST_FLOAT): Remove.
16282         * math/test-double.h (TEST_DOUBLE): Likewise.
16283         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16285 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16287         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16288         (parse_args): Strip C suffix from floating point literals
16289         typed with 'f' and wrap them with LIT().
16291         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16292         (test_ff_f_data_nexttoward): Rename to
16293         (test_fj_f_data): New struct.
16294         (nexttoward_test_data): Relabel tests as
16295         TEST_fj_f instead of TEST_ff_f.
16297 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16299         Emacs bug 23726.
16300         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16301         (__libc_realloc): Correct size computation for dumped fake mmapped
16302         chunks.
16304 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16306         [BZ #20219]
16307         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16308         to itself.
16309         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16311         [BZ #20218]
16312         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16313         to itself.
16314         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16316 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16318         [BZ #20195]
16319         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16320         check to ...
16321         (init_cpu_features): Here.
16323 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16325         [BZ #20214]
16326         * sysdeps/unix/sysv/linux/bits/in.h
16327         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16328          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16329         Define to 1.
16330         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16331          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16332         Define to 0.
16333         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16334         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16336 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16338         [BZ #20198]
16339         * stdlib/Makefile (tests): Add tst-quick_exit, and
16340         tst-thread-quick_exit.
16341         [ifeq ($(have-cxx-thread_local),yes)]
16342         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16343         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16344         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16345         (LDLIBS-tst-thread-quick_exit): Likewise.
16346         [ifneq ($(have-cxx-thread_local),yes)]
16347         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16348         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16349         If run_dtors is true call __call_tls_dtors.
16350         (exit): Call __run_exit_handlers with run_dtors set to true.
16351         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16352         definition.
16353         * stdlib/quick_exit.c (quick_exit): Remove function.
16354         (__new_quick_exit): New function.
16355         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16356         function.
16357         * stdlib/tst-quick_exit.cc: New file.
16358         * stdlib/tst-thread-quick_exit.cc: New file.
16359         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16360         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16361         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16362         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16363         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16364         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16365         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16366         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16367         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16368         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16369         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16370         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16372         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16373         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16374         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16379         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16381         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16382         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16386         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16387         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16390 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16392         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16393         a typo in comments.
16395 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16397         [BZ #20213]
16398         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16399         argument to itself.
16400         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16402 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16404         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16405         required flags.
16406         (CFLAGS-pwritev64.c): Likewise.
16407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16409         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16410         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16411         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16412         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16413         syscall from auto-generation.
16414         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16415         [WORDSIZE == 64] (pwritev64): Remove macro.
16416         [!PWRITEV] (PWRITEV): Likewise.
16417         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16418         [!PWRITEV] (PWRITE): Likewise.
16419         [!PWRITEV] (OFF_T): Likewise.
16420         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16421         (LO_HI_LONG): Remove macro.
16422         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16423         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16424         (PWRITEV): Remove macro.
16425         (PWRITEV_REPLACEMENTE): Likewise.
16426         (PWRITE): Likewise.
16427         (OFF_T): Likewise.
16428         (pwritev64): New function.
16429         * nptl/tst-cancel4.c (tf_writev): Add test.
16431         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16432         required flags.
16433         (CFLAGS-preadv64.c): Likewise.
16434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16436         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16437         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16438         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16439         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16440         syscall from auto-generation.
16441         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16442         [WORDSIZE == 64] (preadv64): Remove macro.
16443         [!PREADV] (PREADV): Likewise.
16444         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16445         [!PREADV] (PREAD): Likewise.
16446         [!PREADV] (OFF_T): Likewise.
16447         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16448         (LO_HI_LONG): Remove macro.
16449         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16450         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16451         (PREADV): Remove macro.
16452         (PREADV_REPLACEMENTE): Likewise.
16453         (PREAD): Likewise.
16454         (OFF_T): Likewise.
16455         (preadv64): New function.
16456         * nptl/tst-cancel4.c (tf_preadv): Add test.
16458 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16460         [BZ #20212]
16461         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16462         argument to itself.
16463         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16465 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16467         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16468         New symbol defined as libc_hidden_def.
16469         (strcasestr): Became a weak alias to __strcasestr.
16470         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16471         according to multi-arch support.  Move __stpncpy hidden
16472         definition from here to...
16473         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
16474         symbol stpncpy.
16475         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16476         libc_hidden_builtin_def.
16477         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16478         memset symbol to use when multi-arch support is available.
16480 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16482         * dlfcn/tst-rec-dlopen.c: Include string.h.
16484 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16486         * manual/install.texi: Remove mention of --without-tls
16487         * INSTALL: Regenerate.
16489 2016-06-05  Florian Weimer  <fweimer@redhat.com>
16491         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16492         Remove.
16493         (call_function, interposed_malloc_called): New variables.
16494         (malloc): New function.
16495         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
16496         and clear call_function as needed.
16498 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
16500         * include/wchar.h (__wmemset): Use __typeof.
16502 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
16504         * include/wchar.h (__wmemset): Declare function without typeof.
16506 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #20205]
16509         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16510         exponent when incrementing negative subnormal with low mantissa
16511         word zero.
16512         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16513         Add another test.
16515 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16517         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16518         __wmemset instead of wmemset.
16520 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16522         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16523         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16524         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16525         __USE_KERNEL_IPV6_DEFS to 0.
16526         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16527         Update comment.
16529 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16531         [BZ #19861]
16532         Do not use IFUNC resolver with potentially unrelocated symbol.
16533         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16534         (DEFINE_FORK): Remove macro and inline definition.
16535         (fork_alias): Renamed from fork_ifunc.
16536         (__fork_alias): Renamed from __fork_ifunc.
16538 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16540         [BZ 19653]
16541         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16542         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16544 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16546         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16547         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16548         i386-linux-gnu).
16549         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16550         Set to no.
16551         * sysdeps/mach/hurd/configure: Refresh.
16553 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16555         [BZ #20178]
16556         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16557         on failure instead of exit.
16559 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16561         [BZ #3629]
16562         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16563         of POSIX.1-2008.
16565 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16567         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16568           Use PLT entry for calling _hurd_self_sigstate.
16570 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16572         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16573         available logical processors with SMT level type sharing L2
16574         cache for Intel processors.
16576 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16578         [BZ #20160]
16579         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16580         argument to itself before returning the result.
16581         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16582         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16583         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16585         Likewise.
16586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16587         Likewise.
16588         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16589         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16590         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16591         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16592         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16593         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16595         [BZ #20160]
16596         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16597         argument to itself before returning the result.
16598         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16599         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16600         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16602         Likewise.
16603         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16604         Likewise.
16605         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16606         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16607         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16608         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16609         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16610         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16612 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16614         * libm-test.inc: Replace usage of M_El with
16615         (lit_e): New macro.
16617 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16619         * libm-test.inc: Replace usage of M_PI_4l with
16620         (lit_pi_4_d): New macro.
16622 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16624         * libm-test.inc: Replace usage of M_PIl with
16625         (lit_pi): New macro.
16627 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16629         * libm-test.inc: Replace usage of M_PI2l with
16630         (lit_pi_2_d): New macro.
16632         * math/test-double.h (LITM): New macro.
16633         * math/test-float.h (LITM): Likewise.
16634         * math/test-ldouble.h (LITM): Likewise.
16636 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16638         * libm-test.inc (M_PI_34l): Rename to
16639         (lit_pi_3_m_4_d): New Macro.
16640         (M_PI_34_LOG10El): Rename to
16641         (lit_pi_3_m_4_ln10_m_d): New Macro.
16642         (M_PI2_LOG10El): Rename to
16643         (lit_pi_2_ln10_m_d):  New Macro.
16644         (M_PI4_LOG10El): Rename to
16645         (lit_pi_4_ln10_m_d):  New Macro.
16646         (M_PI_LOG10El): Rename to
16647         (lit_pi_ln10_d):  New Macro.
16649 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16651         [BZ #20157]
16652         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16653         determine whether to negate low half if [_ARCH_PPCGR], and integer
16654         comparison otherwise.
16655         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16656         determine whether to negate low half.
16658         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16659         (NO_TEST_INLINE_DOUBLE): Likewise.
16660         (TEST_COND_x86_64): Likewise.
16661         (TEST_COND_x86): Likewise.
16662         (M_PI_6l): Likewise.
16664 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16666         * math/libm-test.inc:
16667         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16668         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16669         (TEST_LDOUBLE): Update usage to evaluate as true if
16670         the guarded tests match the property being tested.
16671         (LDBL_MAX_EXP): Change to MAX_EXP.
16672         (LDBL_MIN_EXP): Change to MIN_EXP.
16673         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16674         nexttoward tests.
16676 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16678         * math/libm-test.inc:
16679         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16680         (TYPE_MIN): Likewise.
16681         (TYPE_TRUE_MIN): Likewise.
16682         (TYPE_MAX): Likewise.
16683         (MIN_EXP): Likewise.
16684         (MAX_EXP): Likewise.
16685         (MANT_DIG): Likewise.
16687         (FSTR_MAX): New macro.
16688         (__CONCATX): Likewise.
16689         (QTYPE_STR): Likewise.
16690         (TEST_COND_binary32): Likewise.
16691         (TEST_COND_binary64): Likewise.
16692         (TEST_COND_binary128): Likewise.
16693         (TEST_COND_ibm128): Likewise.
16694         (TEST_COND_intel96): Likewise.
16695         (TEST_COND_m68k96): Likewise.
16697         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16698         (TEST_COND_dbl_64): Likewise.
16699         (TEST_COND_ldbl_96_intel): Likewise.
16700         (TEST_COND_ldbl_96_m68k): Likewise.
16701         (TEST_COND_ldbl_128): Likewise.
16702         (TEST_COND_ldbl_128ibm): Likewise.
16704         (plus_zero): Redefine using LIT macro.
16705         (minus_zero): Likewise.
16706         (plus_infty): Redefine as (INF).
16707         (minux_infty): Redefine as (-INF).
16708         (max_value): Redefine as TYPE_MAX.
16709         (min_value): Redefine as TYPE_MIN.
16710         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16712         (print_float): Refactor to use snprintf to convert FLOAT values
16713         to string. This brings it closer to dropin replacement of strtof
16714         for the TS 18661 defined types.
16715         (update_stats): Likewise.
16716         (print_complex_function_ulps): Likewise.
16717         (print_max_error): Likewise.
16718         (print_complex_max_error): Likewise.
16719         (check_float_internal): Likewise.
16721         * math/test-float.h (PREFIX): New macro.
16722         (LIT): Likewise.
16723         (TYPE_STR): Likewise.
16724         (FTOSTR): Likewise.
16726         * math/test-double.h (PREFIX): New macro.
16727         (LIT): Likewise.
16728         (TYPE_STR): Likewise.
16729         (FTOSTR): Likewise.
16731         * math/test-ldouble.h (PREFIX): New macro.
16732         (LIT): Likewise.
16733         (TYPE_STR): Likewise.
16734         (FTOSTR): Likewise.
16736 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16738         [BZ #20156]
16739         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16740         to itself when zero or not finite.
16741         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16744         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16746 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16748         [BZ #20153]
16749         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16750         x * x + x for infinities and NaNs.
16752         [BZ #20151]
16753         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16754         argument to itself before returning result.
16755         (__ieee754_y0l): Likewise.
16756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16757         (__ieee754_y1l).
16759         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16760         (atan_test_data): Likewise.
16761         (ceil_test_data): Likewise.
16762         (cos_test_data): Likewise.
16763         (cosh_test_data): Likewise.
16764         (erf_test_data): Likewise.
16765         (exp2_test_data): Likewise.
16766         (fabs_test_data): Likewise.
16767         (floor_test_data): Likewise.
16768         (ilogb_test_data): Likewise.
16769         (j0_test_data): Likewise.
16770         (j1_test_data): Likewise.
16771         (jn_test_data): Likewise.
16772         (lgamma_test_data): Likewise.
16773         (lrint_test_data): Likewise.
16774         (llrint_test_data): Likewise.
16775         (logb_test_data): Likewise.
16776         (lround_test_data): Likewise.
16777         (llround_test_data): Likewise.
16778         (nearbyint_test_data): Likewise.
16779         (rint_test_data): Likewise.
16780         (round_test_data): Likewise.
16781         (sin_test_data): Likewise.
16782         (sincos_test_data): Likewise.
16783         (sinh_test_data): Likewise.
16784         (sqrt_test_data): Likewise.
16785         (tan_test_data): Likewise.
16786         (tanh_test_data): Likewise.
16787         (tgamma_test_data): Likewise.
16788         (trunc_test_data): Likewise.
16789         (y0_test_data): Likewise.
16790         (y1_test_data): Likewise.
16791         (yn_test_data): Likewise.
16793         * math/libm-test.inc: Update comment about NaN testing.
16794         (TEST_SNAN): New macro.
16795         (snan_value): Likewise.
16796         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16797         (fpclassify_test_data): Add sNaN tests.
16798         (isfinite_test_data): Likewise.
16799         (isinf_test_data): Likewise.
16800         (isnan_test_data): Likewise.
16801         (isnormal_test_data): Likewise.
16802         (issignaling_test_data): Likewise.
16803         (signbit_test_data): Likewise.
16804         * math/gen-libm-test.pl (%beautify): Add snan_value.
16805         (show_exceptions): Add argument $test_snan.
16806         (parse_args): Handle snan_value as non-finite.  Update call to
16807         show_exceptions.
16808         * math/Makefile (libm-test-no-inline-cflags): Add
16809         -fsignaling-nans.
16811 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16813         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16814         (CFLAGS-oldsendmsg.c): Add rule.
16815         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16816         Correct recvmsg symbol name.
16817         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16818         Likewise.
16820 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16822         * sysdeps/unix/sysv/linux/Makefile
16823         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16824         oldsendmmsg.
16825         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16826         sendmmsg.
16827         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16828         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16829         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16830         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16832         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16833         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16835         Likewise.
16836         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16837         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16838         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16839         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16840         iovlen and controllen fields to adjust to POSIX specification.
16841         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16843         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16844         and change to correct expected type.
16845         (msghdr.msg_controllen): Likewise.
16846         (cmsghdr.cmsg_len): Likewise.
16847         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16848         expected POSIX assumption about the size.
16849         (msghdr.msg_controllen): Likewise.
16850         (msghdr.__glibc_reserved1): Likewise.
16851         (msghdr.__glibc_reserved2): Likewise.
16852         (cmsghdr.cmsg_len): Likewise.
16853         (cmsghdr.__glibc_reserved1): Likewise.
16854         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16855         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16856         (CFLAGS-sendmsg.c): Remove rule.
16857         (CFLAGS-recvmsg.c): Likewise.
16858         (CFLAGS-oldsendmsg.c): Add rule.
16859         (CFLAGS-oldrecvmsg.c): Likewise.
16860         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16861         recvmsg and sendmsg.
16862         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16863         Likewise.
16864         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16865         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16866         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16867         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16868         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16869         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16872         Likewise.
16873         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16874         Likewise.
16875         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16876         Likewise.
16877         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16878         Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16880         Likewise.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16882         (GLIBC_2.24): Likewise.
16883         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16884         Likewise.
16885         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16886         Likewise.
16887         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16889         Likewise.
16890         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16891         Likewise.
16892         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16893         Likewise.
16894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16895         (GLIBC_2.24): Likewise.
16896         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16897         Likewise.
16898         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16899         Likewise.
16900         * sysdeps/unix/sysv/linux/Makefile
16901         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16902         (CFLAGS-sendmsg.c): Add rule.
16903         (CFLAGS-recvmsg.c): Likewise.
16904         (CFLAGS-oldsendmsg.c): Likewise.
16905         (CFLAGS-oldrecvmsg.c): Likewise.
16906         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16907         initialization.
16908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16909         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16910         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16911         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16912         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16913         iovlen and controllen fields to adjust to POSIX specification.
16914         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16915         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16916         added recvmsg and sendmsg.
16917         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16918         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16919         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16920         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16921         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16922         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16923         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16924         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16925         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16926         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16927         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16928         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16930         Likewise.
16931         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16933         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16934         Likewise.
16935         Likewise.
16936         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16938         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16941         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16943         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16945         Likewise.
16946         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16947         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16949         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16950         from auto-generation.
16951         (sendmsg): Likewise.
16952         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16953         (sendmsg): Likewise.
16954         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16955         (sendmsg): Likewise.
16956         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16957         (sendmsg): Likewise.
16958         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16959         (sendmsg): Likewise.
16960         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16961         (sendmsg): Likewise.
16962         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16963         Likewise.
16964         (sendmsg): Likewise.
16965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16966         (sendmsg): Likewise.
16967         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16969         Remove.
16970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16971         Likewise.
16972         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16973         Undefine.
16974         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/kernel-features.h
16977         (__ASSUME_SENDMSG_SYSCALL): Define.
16978         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16979         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16981         Remove.
16982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16983         Likewise.
16984         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16985         Undefine.
16986         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16987         Likewise.
16988         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16990         Remove.
16991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16992         Likewise.
16993         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16994         Undefine.
16995         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16996         Likewise.
16997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16998         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16999         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17000         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17001         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17002         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17003         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17004         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17005         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17007 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17009         * stdlib/gen-tst-strtod-round.c: Add backslash to
17010         compile command in comment.
17011         (printfp): Remove the literal suffix, and define an infinite
17012         value as INF to avoid expansion clash with INFINITY.
17013         (round_str): Remove the literal suffix.
17014         (round_for_all): Likewise, remove the now duplicate ldbl-64
17015         entry, and remove some magic constants.
17017         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17018         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17019         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17020         (_CONCAT): New macro.
17021         (CONCAT): Likewise.
17022         (CHOOSE_ld): Likewise.
17023         (CHOOSE_f): Likewise.
17024         (CHOOSE_d): Likewise.
17025         (FTYPE_MEMBER): Likewise.
17026         (BOOL_MEMBER): Likewise.
17027         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17028         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17029         (_XNTRY): Likewise.
17030         (XNTRY): Likewise.
17031         (_ENTRY): Likewise.
17032         (ENTRY): Likewise.
17033         (test_exactness): Generate members via macro.
17034         (test_results): Likewise.
17035         (test): Update members.
17036         (TEST): Redefine using new macros.
17037         (INF): New macro.
17038         (fetestmodes): New structure.
17039         (do_test): Refactor to be type generic.
17040         (test_in_one_mode): Refactor duplicate code into
17041         (GEN_ONE_TEST): New macro.
17043         * stdlib/tst-strtod-round-data.h: Regenerate.
17045         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17046         Extend to pass additional arbitrary parameters to
17047         generators.
17049 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17051         [BZ #15479]
17052         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17053         floating-point state after first floating-point operation on
17054         input.  Restore full floating-point state instead of just rounding
17055         mode.
17056         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17057         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17058         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17059         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17060         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17062         [BZ #15479]
17063         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17064         floating-point state after first floating-point operation on
17065         input.  Restore full floating-point state instead of just rounding
17066         mode.
17067         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17068         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17069         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17070         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17071         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17075         [BZ #19727]
17076         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17077         valid high surrogate.
17078         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17079         of an utf16 surrogate.
17080         * iconv/gconv_simple.c (BODY): Likewise.
17081         * iconvdata/bug-iconv12.c: New file.
17082         * iconvdata/Makefile (tests): Add bug-iconv12.
17084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17086         [BZ #19726]
17087         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17088         outptrp in case of an illegal input.
17089         * iconv/tst-iconv6.c: New file.
17090         * iconv/Makefile (tests): Add tst-iconv6.
17092 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17094         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17095         an error in case of a value in range of an utf16 low surrogate.
17097 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17099         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17100         an error in case of a value in range of an utf16 low surrogate.
17102 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17104         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17105         Move to ...
17106         * sysdeps/s390/Makefile: ... here.
17107         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17108         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17109         (BRANCH_ON_COUNT): New define.
17110         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17111         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17112         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17113         run on s390-32, too.
17114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17115         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17116         run on s390-32, too.
17117         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17118         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17119         run on s390-32, too.
17121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17123         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17124         etf3eh or new vector loop-variant.
17126 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17128         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17129         etf3eh or new vector loop-variant.
17131 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17133         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17134         or new vector loop-variant.
17136 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17138         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17139         Rename to TR_LOOP and usage of tr instead of troo instruction.
17141 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17143         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17148         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17149         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17150         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17151         New override define.
17152         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17154 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17156         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17157         * sysdeps/s390/configure.ac: Add test for S390 vector register
17158         support in gcc.
17159         * sysdeps/s390/configure: Regenerated.
17161 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17163         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17164         Install file from $(objpfx)gconv-modules.
17165         ($(objpfx)gconv-modules): Concatenate architecture specific file
17166         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17167         * sysdeps/s390/gconv-modules: New file.
17168         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17169         Deleted.
17170         ($(objpfx)gconv-modules-s390): Deleted.
17171         (sysdeps-gconv-modules): New variable.
17173 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17175         [BZ #15479]
17176         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17177         of immediate operand to rounding instruction.
17178         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17179         Likewise.
17180         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17181         Likewise.
17182         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17183         Likewise.
17185 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17187         * math/libm-test.inc (MIN_EXP): Directly define as
17188         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17190 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17192         * math/libm-test.inc (MANT_DIG): Directly define as
17193         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17195 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17197         * stdlib/gen-tst-strtod-round.c (main):
17198           Change usage to more closely match the generated
17199           output.  Add usage and compilation instructions.
17200           (string_to_fp): Add and use FILE* parameter as
17201           output target.
17202           (print_fp): Likewise.
17203           (round_str): Likewise.
17204           (round_for_all): Likewise.
17205         * stdlib/tst-strtod-round.c (tests): Move into
17206         * stdlib/tst-strtod-round-data.h: New file.
17208 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17210         [BZ #15479]
17211         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17212         (__round): Do not force "inexact" exception.
17213         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17214         variable.
17215         (__round): Do not force "inexact" exception.
17216         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17217         (__roundf): Do not force "inexact" exception.
17218         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17219         (__roundl): Do not force "inexact" exception.
17220         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17221         (__roundl): Do not force "inexact" exception.
17222         * math/libm-test.inc (round_test_data): Do not allow spurious
17223         "inexact" exceptions.
17225         [BZ #15479]
17226         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17227         exception in comment.
17228         (huge): Remove variable.
17229         (__floor): Do not force "inexact" exception.
17230         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17231         "inexact" exception in comment.
17232         (huge): Remove variable.
17233         (__floor): Do not force "inexact" exception.
17234         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17235         exception in comment.
17236         (huge): Remove variable.
17237         (__floorf): Do not force "inexact" exception.
17238         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17239         exception in comment.
17240         (huge): Remove variable.
17241         (__floorl): Do not force "inexact" exception.
17243         [BZ #15479]
17244         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17245         exception in comment.
17246         (huge): Remove variable.
17247         (__ceil): Do not force "inexact" exception.
17248         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17249         "inexact" exception in comment.
17250         (huge): Remove variable.
17251         (__ceil): Do not force "inexact" exception.
17252         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17253         (__ceilf): Do not force "inexact" exception.
17254         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17255         exception in comment.
17256         (huge): Remove variable.
17257         (__ceill): Do not force "inexact" exception.
17259 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17261         * config.h.in (BIND_NOW): New.
17262         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17263         * configure: Regenerated.
17264         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17265         indirect branch via the GOT slot.
17267 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17269         [BZ #19765]
17270         * sysdeps/s390/mempcpy.S: New File.
17271         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17272         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17273         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17274         Add mempcpy variants.
17275         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17276         (memcpy): Adjust to be usable from mempcpy entry point.
17277         (__memcpy_mvcle): Likewise.
17278         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17279         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17280         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17281         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17282         (__memcpy_z10): Likewise.
17283         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17285 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17287         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17288         Remove __GI_ symbol.
17289         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17290         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17291         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17292         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17293         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17294         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17296 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17298         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17299         Use cghi instead of chi to compare 64bit value.
17301 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17303         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17304         Jump to 1MB check before executing mvc-loop.
17306 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17308         [BZ #6527]
17309         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17310         unconditionally.
17311         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17313 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17315         * stdlib/tst-strtod6.c (do_test): Use new type generic
17316         invocation of the test function.
17317         (test): Refactor into ...
17318         (TEST_STRTOD): New macro base function.
17320 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17322         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17323         (TEST_STRTOD): New macro.
17324         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17326 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17328         * stdlib/tst-strtod6.c (do_test): Use new type generic
17329         invocation of the test function.
17330         (test): Refactor into ...
17331         (TEST_STRTOD): New macro base function.
17333 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17335         CVE-2016-4429
17336         [BZ #20112]
17337         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17338         payload.
17340 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17342         [BZ #20111]
17343         * bits/sockaddr.h (_SS_SIZE): Define.
17344         * bits/socket.h (_SS_SIZE): Remove.
17345         (_SS_PADSIZE): Adjust to account for all padding.
17346         (struct sockaddr_storage): Update comment.  Avoid implicit
17347         padding.
17348         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17349         (_SS_PADSIZE): Adjust to account for all padding.
17350         (struct sockaddr_storage): Update comment.  Avoid implicit
17351         padding.
17352         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17353         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17354         (_SS_PADSIZE): Adjust to account for all padding.
17355         (struct sockaddr_storage): Update comment.  Avoid implicit
17356         padding.
17357         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17358         __SS_SIZE is 126 in this version.
17359         * inet/tst-sockaddr.c: New file.
17360         * inet/Makefile (tests): Add tst-sockaddr.c
17361         (tst-sockaddr.c): Compile with non-strict aliasing.
17363 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17365         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17366         [XPG3 || XPG4].
17367         (NL_ARGMAX): Also expect for [XPG3].
17368         (NL_LANGMAX): Likewise.
17369         (NL_MSGMAX): Likewise.
17370         (NL_NMAX): Likewise.
17371         (NL_SETMAX): Likewise.
17372         (NL_TEXTMAX): Likewise.
17373         (NZERO): Likewise.
17374         (TMP_MAX): Likewise.
17375         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17376         variable.
17378         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17379         (PF_MAX): Update value.
17380         (AF_KCM): New macro.
17381         (SOL_NETBEUI): Likewise.
17382         (SOL_LLC): Likewise.
17383         (SOL_DCCP): Likewise.
17384         (SOL_NETLINK): Likewise.
17385         (SOL_TIPC): Likewise.
17386         (SOL_RXRPC): Likewise.
17387         (SOL_PPPOL2TP): Likewise.
17388         (SOL_BLUETOOTH): Likewise.
17389         (SOL_PNPIPE): Likewise.
17390         (SOL_RDS): Likewise.
17391         (SOL_IUCV): Likewise.
17392         (SOL_CAIF): Likewise.
17393         (SOL_ALG): Likewise.
17394         (SOL_NFC): Likewise.
17395         (SOL_KCM): Likewise.
17396         (MSG_BATCH): New enum value and macro.
17398 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17400         [BZ #18185]
17401         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17402         sharing L2 cache to 2 for Knights Landing.
17404 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17406         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17407         (FTW_DP): Do not expect for [XPG3 || XPG4].
17408         (FTW_SL): Do not expect for [XPG3].
17409         (FTW_SLN): Likewise.
17410         (FTW_PHYS): Likewise.
17411         (FTW_MOUNT): Likewise.
17412         (FTW_DEPTH): Likewise.
17413         (FTW_CHDIR): Likewise.
17414         (nftw): Likewise.
17415         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17416         variable.
17418 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17420         * manual/errno.texi: Fix various typos & grammar errors.
17422 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17424         * manual/intro.texi: Fix duplicated typo.
17426 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17428         [BZ #13304]
17429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17430         <float.h>, <math_private.h> and <stdlib.h>.
17431         (add_split): New function.
17432         (mul_split): Likewise.
17433         (ext_val): New typedef.
17434         (store_ext_val): New function.
17435         (mul_ext_val): New function.
17436         (compare): New function.
17437         (add_split_ext): New function.
17438         (__fmal): After checking for Inf, NaN and zero, compute result as
17439         an exact sum of scaled double values in round-to-nearest before
17440         adding those up and adjusting for other rounding modes.
17441         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17442         tests of fma.
17443         * math/auto-libm-test-out: Regenerated.
17445 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17447         [BZ #20119]
17448         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17449         processor level type mask for CPUID with EAX == 11.
17451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17453         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17454         logical threads if the HTT bit is 0.
17455         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17456         (index_cpu_HTT): Likewise.
17457         (reg_HTT): Likewise.
17459 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17461         [BZ #20115]
17462         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17463         Remove alignments on jump targets.
17465 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17467         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17468         (getpwent): Likewise.
17469         (setpwent): Likewise.
17470         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17471         variable.
17473         * conform/data/search.h-data (insque): Do not expect for [XPG3].
17474         (remque): Likewise.
17475         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17476         variable.
17478 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17480         * math/libm-test.inc: Update comment not to refer to signs of NaNs
17481         not being tested.
17483 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17485         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17486         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
17487         call.
17488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17489         (__condvar_cleanup1): Likewise.
17491 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17493         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17494         New
17495         (__pthread_unwind): Renamed to ...
17496         (PTHREAD_UNWIND): This.
17497         (__pthread_enable_asynccancel): Replace
17498         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17500 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17502         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17503         (CLONE_NEWCGROUP): New macro.
17505         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17506         (Q_GETNEXTQUOTA): New macro.
17508 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17510         [BZ #19907]
17511         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17512         buffer updated by the previous run.
17513         * string/test-memcpy.c (do_one_test): Likewise.
17514         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17515         * string/test-memmove.c (do_one_test): Likewise.
17517 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17519         [BZ #20094]
17520         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17521         not [__USE_XOPEN].
17522         (unlockpt): Likewise.
17523         (ptsname): Likewise.
17524         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17525         variable.
17527         [BZ #20076]
17528         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17529         instead of [__USE_UNIX98].
17530         (S_ISSOCK): Likewise.
17531         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17532         variable.
17534         [BZ #20074]
17535         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17536         [__USE_POSIX].
17537         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17538         variable.
17540         [BZ #20051]
17541         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17542         (ttyslot): Do not declare.
17543         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17544         (ttyslot): New prototype.
17545         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17546         variable.
17547         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17549 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17551         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17553 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17555         Fix race condition in tst-mallocfork2, use fewer resources.
17556         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17557         to current process group.
17558         (signal_sender): Yield in the non-sleeping case.
17560 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17562         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17563         (ecvt): Likewise.
17564         (fcvt): Likewise.
17565         (gcvt): Likewise.
17566         (getsubopt): Likewise.
17567         (grantpt): Likewise.
17568         (initstate): Likewise.
17569         (l64a): Likewise.
17570         (mktemp): Likewise.
17571         (mkstemp): Likewise.
17572         (ptsname): Likewise.
17573         (random): Likewise.
17574         (realpath): Likewise.
17575         (setstate): Likewise.
17576         (srandom): Likewise.
17577         (ttyslot): Likewise.
17578         (unlockpt): Likewise.
17579         (valloc): Likewise.
17581         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17582         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17583         variable.
17585 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17587         [BZ #20072]
17588         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17589         init_cpu_features only if SHARED is defined.
17590         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17592 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17594         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17595         non-inclusive caches on Intel processors.
17597 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17599         * malloc/malloc.c (dumped_main_arena_start)
17600         (dumped_main_arena_end): New variables.
17601         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17602         (do_check_chunk): Skip dumped fake mmapped chunks.
17603         (munmap_chunk): Likewise.
17604         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17605         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17606         mmapped chunks.
17607         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17608         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17609         and dumped_main_arena_end to cover the dumped heap.
17611 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17613         * conform/data/time.h-data (getdate_err): Do not expect for
17614         [XPG3].
17615         (getdate): Likewise.
17616         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17617         variable.
17619         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17620         (F_ULOCK): Likewise.
17621         (F_TEST): Likewise.
17622         (F_TLOCK): Likewise.
17623         (useconds_t): Likewise.
17624         (intptr_t): Do not expect for [XPG3] or [XPG4].
17625         (brk): Do not expect for [XPG3]
17626         (fchown): Likewise.
17627         (fchdir): Likewise.
17628         (ftruncate): Likewise.
17629         (getdtablesize): Likewise.
17630         (gethostid): Likewise.
17631         (getpagesize): Likewise.
17632         (getpgid): Likewise.
17633         (getsid): Likewise.
17634         (getwd): Likewise.
17635         (lchown): Likewise.
17636         (lockf): Likewise.
17637         (readlink): Likewise.
17638         (sbrk): Likewise.
17639         (setpgrp): Likewise.
17640         (setregid): Likewise.
17641         (setreuid): Likewise.
17642         (symlink): Likewise.
17643         (sync): Likewise.
17644         (truncate): Likewise.
17645         (ualarm): Likewise.
17646         (usleep): Likewise.
17647         (vfork): Likewise.
17648         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17649         variable.
17651         [BZ #20054]
17652         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17653         not [__USE_UNIX98].
17654         * conform/data/unistd.h-data (gethostname): Do not expect for
17655         [XPG3].
17657         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17658         [!POSIX] (S_IFBLK): Likewise.
17659         [!POSIX] (S_IFCHR): Likewise.
17660         [!POSIX] (S_IFIFO): Likewise.
17661         [!POSIX] (S_IFREG): Likewise.
17662         [!POSIX] (S_IFDIR): Likewise.
17663         [!POSIX] (S_IFLNK): Likewise.
17664         [!POSIX] (S_IFSOCK): Likewise.
17665         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17666         variable.
17667         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17669 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17671         * sysdeps/aarch64/memset.S (__memset):
17672         Rewrite of optimized memset.
17674 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17676         [BZ #19703]
17677         Partially async-signal-safe fork for single-threaded processes.
17678         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17679         variable.  Do not acquire and reset/release malloc and libio locks
17680         in single-threaded processes.
17681         * malloc/tst-mallocfork2.c: New file.
17682         * malloc/Makefile (tests): Add it.
17684 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17686         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17687         argument.  Use scratch buffer instead of extend_alloca.
17688         (gethosts): Use scratch buffer instead of extend_alloca.
17689         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17690         extend_alloca.
17691         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17693 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17695         [BZ #20055]
17696         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17697         instead of [__USE_UNIX98].
17698         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17699         [__USE_UNIX98].
17700         * conform/data/termios.h-data (tcgetsid): Do not expect for
17701         [XPG3].
17702         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17703         variable.
17704         (test-xfail-XPG4/termios.h/conform): Likewise.
17706 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17708         Do not use mcheck in localedef.
17709         * locale/programs/localedef.c (turn_on_mcheck)
17710         (__malloc_initialize_hook): Remove.
17712 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17714         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17715         * sysdeps/s390/s390-64/Makefile: Likewise.
17717 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17719         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17720         Remove ifunc-defines.sym.
17721         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17722         Likewise.
17723         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17724         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17725         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17726         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17727         rtld-global-offsets.sym.
17728         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17729         * sysdeps/x86/cpu-features-offsets.sym: This.
17730         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17731         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17733 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17735         [BZ #20073]
17736         * io/sys/stat.h (fchmod): Declare for
17737         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17738         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17739         variable.
17741         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17742         [XPG3] (S_IFSOCK): Likewise.
17743         [XPG3] (S_ISVTX): Likewise.
17744         [XPG3] (S_ISLNK): Likewise.
17745         [XPG3] (S_ISSOCK): Likewise.
17746         [XPG3] (fchmod): Likewise.
17747         [XPG3] (lstat): Likewise.
17748         [XPG3] (mknod): Likewise.
17750         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17751         [XPG3].  Expect type long and XFAIL for [XPG4].
17752         (st_blocks): Likewise.
17754         [BZ #20044]
17755         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17756         (pthread_atfork): New prototype.
17757         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17758         variable.
17760         [BZ #20043]
17761         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17762         prototype.
17764 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17766         [BZ #20017]
17767         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17768         gmtime.
17770 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17772         [BZ #19994]
17773         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17774         flag in _res.options.
17776 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17778         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17779         [XPG3 || XPG4].
17780         (blksize_t): Likewise.
17781         (clockid_t): Likewise.
17782         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17783         variable.
17784         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17786 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17788         * sysdeps/unix/sysv/linux/s390/init-first.c:
17789         Add VDSO_SYMBOL(getcpu).
17790         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17791         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17792         Add VDSO_SYMBOL(getcpu).
17793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17794         New define HAVE_GETCPU_VSYSCALL.
17795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17797 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17799         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17800         instead of <sysdeps/x86_64/cacheinfo.c>.
17801         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17802         * sysdeps/x86/cacheinfo.c: Here.
17804 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17806         * malloc/malloc-internal.h: Adjust header file guard.
17808 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17810         [BZ #19787]
17811         * inet/getnameinfo.c (check_sprintf_result): New function.
17812         (CHECKED_SNPRINTF): New macro.
17813         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17814         to the host buffer.
17815         (gni_host_local): Use checked_copy to copy the host name.
17816         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17817         (gni_serv_local): Use checked_copy to copy the service name.
17818         (getnameinfo): Remove unnecessary truncation of result buffers.
17820 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17822         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17823         in case of inet_ntop failure.
17825 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17827         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17828         avoid long lines.
17829         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17830         variables.
17831         (gni_host_inet, gni_host_local): Add comment.
17832         (gni_host): Add comment.  Use temporary to avoid long lines.
17834 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17836         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17837         registers specifiers where general purpose registers specifiers should
17838         have been used.
17840 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17842         [BZ #19779]
17843         CVE-2016-1234
17844         Avoid copying names of directory entries.
17845         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17846         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17847         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17848         (struct readdir_result): New type.
17849         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17850         (GL_READDIR): New macros.
17851         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17852         (convert_dirent, convert_dirent64): New functions.
17853         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17854         convert_dirent64.  Adjust references to the readdir result.
17855         * sysdeps/unix/sysv/linux/i386/glob64.c:
17856         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17857         * posix/bug-glob2.c (LONG_NAME): Define.
17858         (filesystem): Add LONG_NAME.
17859         (my_DIR): Increase the size of room_for_dirent.
17861 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17863         [BZ #20041]
17864         * misc/sys/select.h (__need_timespec): Only define if
17865         [__USE_XOPEN2K].
17866         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17867         variable.
17868         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17869         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17870         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17872 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17873             Segher Boessenkool  <segher@gcc.gnu.org>
17875         [BZ #20004]
17876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17877         (__novec_swapcontext): Add missing load.
17879 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17881         [BZ #20023]
17882         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17883         <time.h>.
17884         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17885         variable.
17886         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17888 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17891         flags CLONE_VM compare.
17893 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17895         [BZ #20031]
17896         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17897         completely empty.
17899 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17901         [BZ #19573]
17902         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17903         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17904         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17905         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17906         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17907         (hesiod_free_list): Mark as hidden.
17908         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17909         res_set, res_get.
17910         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17911         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17912         (hesiod_init): Remove obsolete res_ninit call.
17913         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17914         (hesiod_bind): Do not call init.
17915         (get_txt_records): Use res_mkquery, res_send instead of
17916         res_nmkquery, res_nsend.
17917         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17918         instead of _nss_hesiod_init.
17919         (_nss_hesiod_initgroups_dyn): Likewise.
17920         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17921         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17922         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17924 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17926         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17927         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17929 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17931         * hesiod/hesiod.h: Remove RCS keyword.
17932         * hesiod/hesiod_p.h: Likewise.
17934         * hesiod/hesiod.c: Likewise.
17936 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17938         [BZ #12450]
17939         * locale/iso-639.def: Add Samogitian/sgs.
17941 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17943         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17945         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17947 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17948             Carlos O'Donell  <carlos@redhat.com>
17950         [BZ #19072]
17951         * grp/Makefile (headers): Add grp-merge.h
17952         (routines): Add grp-merge.
17953         * grp/getgrgid_r.c: Include grp-merge.h.
17954         (DEEPCOPY_FN): Define.
17955         (MERGE_FN): Define.
17956         * grp/getgrname_r.c: Include grp-merge.h.
17957         (DEEPCOPY_FN): Define.
17958         (MERGE_FN): Define.
17959         * grp/grp-merge.c: New file.
17960         * grp/grp-merge.h: New file.
17961         * include/grp-merge.h: New file.
17962         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17963         __copy_grp@GLIBC_PRIVATE.
17964         * manual/nss.texi (Actions in the NSS configuration): Describe
17965         return, continue, and merge.
17966         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17967         (DEEPCOPY_FN): Define.
17968         (MERGE_FN): Define.
17969         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17970         (DEEPCOPY_FN): Define.
17971         (MERGE_FN): Define.
17972         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17973         [!MERGE_FN]: Define __merge_einval.
17974         (CHECK_MERGE): Define.
17975         (REENTRANT_NAME): Process merge if do_merge is true.
17976         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17977         (__nss_getent_r): Likewise.
17978         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17979         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17981 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17983         [BZ #20012]
17984         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17985         length to calculate the buffer to read.
17986         (fmemopen_write): Set the buffer position based on bytes written.
17987         (fmemopen_seek): Return EINVAL for invalid whence modes.
17989         [BZ #19957]
17990         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17991         tst-getpid2.
17992         (test): Add tst-clone2.
17993         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17994         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17995         pid/tid fields for CLONE_VM.
17996         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17997         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17998         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17999         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18000         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18001         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18002         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18003         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18005         Likewise.
18006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18007         Likewise.
18008         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18009         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18010         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18011         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18012         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18013         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18014         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18015         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18017 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18019         [BZ #19642]
18020         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18021         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18022         (gni_serv_local, gni_serv): New functions extracted from
18023         getnameinfo.
18024         (getnameinfo): Call gni_host and gni_serv to perform the
18025         processing.  Always free scratch buffer.
18027 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18029         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18030         remaining bytes in the dest string, with zeros.
18032 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18034         [BZ #20010]
18035         CVE-2016-3706
18036         * sysdeps/posix/getaddrinfo.c
18037         (convert_hostent_to_gaih_addrtuple): New function.
18038         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18039         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18040         AF_INET data.
18042 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18044         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18045         callback function gl_readdir.
18046         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18047         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18048         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18049         memcpy to copy the name.
18050         * manual/pattern.texi (Calling Glob): Document requirements for
18051         implementations of the gl_readdir callback function.
18052         * manual/examples/mkdirent.c: New example.
18053         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18054         per the manual guidance.
18055         * posix/tst-gnuglob.c (my_readdir): Likewise.
18057 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18059         [BZ #20014]
18060         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18061         not [__USE_POSIX].
18062         (getchar_unlocked): Likewise.
18063         (putc_unlocked): Likewise.
18064         (putchar_unlocked): Likewise.
18065         (flockfile): Likewise.
18066         (ftrylockfile): Likewise.
18067         (funlockfile): Likewise.
18068         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18069         variable.
18070         (test-xfail-XPG4/stdio.h/conform): Likewise.
18072         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18073         Expect constant.
18074         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18075         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18076         variable.
18077         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18078         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18080         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18081         [__USE_LARGEFILE64] (off64_t): Likewise.
18082         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18083         variable.
18085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18087         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18091         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18092         * resolv/res_init.c: Likewise.
18093         * resolv/res_mkquery.c: Likewise.
18095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18097         * resolv/res_init.c (isascii): Do not define.  Use definition in
18098         <ctype.h>.
18099         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18100         (LOG_AUTH): Remove.
18101         (SPRINTF): Remove, adjust caller.
18102         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18104 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18106         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18107         SUNSECURITY conditional.
18108         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18112         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18113         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18114         Remove BSD-related preprocessor conditionals.
18115         * conf/portability.h: Remove.
18117 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18119         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18120         * resolv/res_data.c: Likewise.
18122 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18124         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18125         * resolv/res_data.c: Remove code conditional on ultrix.
18127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18129         * resolv/res_init.c (RFC1535): Do not define.  Remove
18130         RFC1535 preprocessor conditionals.
18131         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18132         because there configuration options which make the resolver
18133         behavior different.
18135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18137         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18138         RESOLVSORT preprocessor conditionals.
18139         * resolv/nss_dns/dns-host.c: Likewise.
18140         * resolv/res_init.c: Likewise.
18142 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18144         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18145         is never defined.
18147 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18149         * inet/inet_lnaof.c: Remove SCSS keyword.
18150         * inet/inet_mkadr.c: Likewise.
18151         * inet/inet_net.c: Likewise.
18152         * inet/inet_netof.c: Likewise.
18153         * inet/rcmd.c: Likewise.
18154         * inet/rexec.c: Likewise.
18155         * inet/ruserpass.c: Likewise.
18157 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18159         * resolv/inet_addr.c: Remove _LIBC conditionals.
18160         * resolv/res_data.c: Likewise.
18161         * resolv/res_init.c: Likewise.
18162         * resolv/res_mkquery.c: Likewise.
18163         * resolv/res_libc.c: Update comment.
18164         * resolv/README: Update.
18166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18168         * resolv/gethnamaddr.c: Remove SCSS keyword.
18169         * resolv/herror.c: Likewise.
18170         * resolv/inet_addr.c: Likewise.
18171         * resolv/inet_net_ntop.c: Likewise.
18172         * resolv/inet_net_pton.c: Likewise.
18173         * resolv/inet_neta.c: Likewise.
18174         * resolv/inet_ntop.c: Likewise.
18175         * resolv/inet_pton.c: Likewise.
18176         * resolv/ns_date.c: Remove RCS keyword.
18177         * resolv/ns_name.c: Likewise.
18178         * resolv/ns_netint.c: Likewise.
18179         * resolv/ns_parse.c: Likewise.
18180         * resolv/ns_print.c: Likewise.
18181         * resolv/ns_samedomain.c: Likewise.
18182         * resolv/ns_ttl.c: Likewise.
18183         * resolv/nsap_addr.c: Likewise.
18184         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18185         * resolv/res_data.c: Remove RCS keyword.
18186         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18187         * resolv/res_init.c: Likewise.
18188         * resolv/res_mkquery.c: Likewise.
18189         * resolv/res_query.c: Likewise.
18190         * resolv/res_send.c: Likewise.
18192 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18194         * conform/data/stdio.h-data (fdopen): Expect also for
18195         [XPG3 || XPG4].
18197         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18198         (fseeko): Likewise.
18199         (ftello): Likewise.
18200         (ftrylockfile): Likewise.
18201         (funlockfile): Likewise.
18202         (getc_unlocked): Likewise.
18203         (getchar_unlocked): Likewise.
18204         (putc_unlocked): Likewise.
18205         (putchar_unlocked): Likewise.
18207 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18209         [BZ #19868]
18210         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18211         DNS packet syntax checks (which were not needed before).  Skip
18212         over non-PTR records.
18214 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18216         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18217         definition.  Include <stddef.h> instead.
18219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18221         [BZ #19831]
18222         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18223         function.
18224         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18225         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18229         [BZ #19862]
18230         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18231         (getanswer_r): Do not call syslog.
18232         (gaih_getanswer_slice): Likewise.
18233         * resolv/gethnamaddr.c (AskedForGot): Remove.
18234         (getanswer): Do not call syslog.
18235         (gethostbyaddr): Likewise.
18237 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18239         * conform/data/signal.h-data (union sigval): Expect also if
18240         [XOPEN2K].
18241         (struct sigevent): Likewise.
18242         (SIGEV_NONE): Likewise.
18243         (SIGEV_SIGNAL): Likewise.
18244         (SIGEV_THREAD): Likewise.
18245         (SIGRTMIN): Likewise.
18246         (SIGRTMAX): Likewise.
18247         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18248         variable.
18249         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18253         [BZ #19830]
18254         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18255         (gaih_getanswer_slice): Likewise.
18256         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18257         Also check for availability of RR metadata.
18259 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18261         [BZ #19825]
18262         * resolv/res_send.c (send_vc): Remove early *resplen2
18263         initialization.  Set *resplen2 on socket error.  Call
18264         close_and_return_error for other errors.
18266 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18268         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18269         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18270         (SCM_IUCV_TRGCLS): New define.
18272 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18274         [BZ #20005]
18275         * libio/fmemopen.c (fmemopen_write): Update internal position after
18276         write.
18277         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18278         * stdio-common/tst-fmemopen4.c: New file..
18280 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18282         [BZ #19996]
18283         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18284         not [__USE_XOPEN2K].
18285         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18286         variable.
18288         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18289         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18290         variable.
18292         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18293         [__USE_XOPEN2K8].
18294         [__USE_LARGEFILE64] (off64_t): Likewise.
18295         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18296         variable.
18298 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18300         [BZ #19989]
18301         * libio/stdio.h (cuserid): Do not declare if
18302         [__USE_XOPEN2K && !__USE_GNU].
18303         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18304         variable.
18306 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18308         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18309         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18311         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18312         ifunc'ed strcspn.
18313         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18314         [EALIGN]: Removed.
18315         [END]: Likewise
18316         [STRSPN]: Define instead of the above to control symbol name.
18317         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18318         New file.
18319         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18320         Likewise.
18321         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18322         Likewise.
18323         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18324         Likewise.
18325         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18326         [INITIAL_MASK]: New macro.
18327         [STRCSPN]: Likewise.
18328         [UPDATE_MASK]: Likewise.
18329         [USE_AS_STRCSPN]: Likewise.
18331 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18333         [BZ #19931]
18334         * stdio-common/tst-vfprintf-width-prec.c: New file.
18335         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18336         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18337         (generated): Add mtrace-related files.
18338         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18339         (tst-%-mem.out): New pattern rule, replaces
18340         tst-printf-bz18872-mem.out.
18341         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18342         specifier, deallocate any previously allocated work buffer.
18344 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18346         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18347         Add nop before __startcontext, add explaining comments.
18349 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18351         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18352         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18353         completely different API.
18355         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18356         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18357         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18358         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18359         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18360         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18361         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18362         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18363         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18364         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18366 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18368         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18370 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18372         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18373         when it is the default of 0.
18375 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18377         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18378         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18379         (sysdep_routines): Add new strcasestr targets.
18380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18381         (__libc_ifunc_impl_list): Likewise.
18382         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18383         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18384         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18385         * sysdeps/powerpc/powerpc64/power8/Makefile:
18386         New file to add strcasestr-ppc64 to sysdep_routines.
18387         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18388         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18390 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18392         * benchtests/Makefile (wcsmbs-benchset): Include only for
18393         native builds and runs.
18394         (LOCALES): Likewise.
18395         (bench-build): Build timing-type here instead of the bench
18396         target.  Generate locale only for native builds.
18397         * benchtests/README: Add note for cross-building.
18399         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18401         * benchtests/README: Update README to include instructions on
18402         using bench-build.
18404         * Makefile.in (bench-build): New target.
18405         * Rules (PHONY): Add bench-build target.
18406         * benchtests/Makefile (bench): Depend on bench-build.
18407         (bench-build): New target.
18409 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18411         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18412         profil_reply_port.
18413         (profile_waiter): Do not initialize profil_reply_port.
18414         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18415         frequency instead of tick length in us.
18417 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18419         [BZ #18712]
18420         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18421         (__old_mempcpy_small): Likewise.
18422         (__old_strcpy_small): Likewise.
18423         (__old_stpcpy_small): Likewise.
18424         (__old_strpbrk_c2): Fix compat symbol name.
18425         (__old_strpbrk_c3): Likewise.
18426         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18427         (__mempcpy_small): Remove.
18428         (__strcpy_small): Remove.
18429         (__stpcpy_small): Remove.
18431 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18433         [BZ #19400]
18434         * locale/iso-639.def: Add the Talossan/tzl language.
18436 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18438         [BZ #16983]
18439         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18440         comment.  Add "ln" to strchr check on postal_fmt.
18442 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18444         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18445         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18446         tel_dom_fmt.
18448 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18450         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18451         (sysdep_routines): Added __strlen_power8.
18452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18453         __strlen_power8 entry.
18454         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18455         Implementation for POWER8.
18456         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18457         for __strlen_power8.
18458         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18459         Implementation for POWER8.
18461 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18463         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18465 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18467         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18468         Goldmont and Airmont processors.
18470 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
18472         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18473         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18474         (__STRING2_SMALL_GET32): Remove.
18475         (memset): Remove.
18476         (__memset_1): Remove.
18477         (__memset_gc): Remove.
18478         (__mempcpy): Remove.
18479         (mempcpy): Remove.
18480         (__mempcpy_args): Remove.
18481         (strchr): Remove.
18482         (strcpy): Remove.
18483         (strcpy_args): Remove.
18484         (__stpcpy_args): Remove.
18485         (__strcmp_cc): Remove.
18486         (__strcmp_gc): Remove.
18487         (strstr): Remove.
18489 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
18491         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18492         * nis/nis_call.c (nis_server_cache_add): Likewise.
18494 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18496         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18498 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18500         * malloc/arena.c (__malloc_fork_lock_parent)
18501         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18502         internal_function attribute.
18504 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
18506         * stdio-common/printf_fp.c (__printf_fp_l):
18507         Rename ___printf_fp_l to __printf_fp_l and
18508         remove strong alias. Use libc_hidden_def instead
18509         of ldbl_hidden_def macro.
18511 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18513         Remove malloc hooks from fork handler.  They are no longer needed
18514         because malloc runs right before fork, and no malloc calls from
18515         other fork handlers are not possible anymore.
18516         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18517         declarations.
18518         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18519         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18520         (atfork_recursive_cntr): Remove.
18521         (__malloc_fork_lock_parent): Do not override malloc hooks and
18522         thread_arena.
18523         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18524         thread_arena.
18525         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18526         thread_arena instead of save_arena.
18528 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18530         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18531         (thread_atfork, thread_atfork_static): Remove.
18532         * sysdeps/mach/hurd/malloc-machine.h:
18533         (thread_atfork, thread_atfork_static): Remove.
18535 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18537         [BZ #19431]
18538         Run the malloc fork handler as late as possible to avoid deadlocks.
18539         * malloc/malloc-internal.h: New file.
18540         * malloc/malloc.c: Include it.
18541         * malloc/arena.c (ATFORK_MEM): Remove.
18542         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18543         Update comment.
18544         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18545         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18546         Remove outdated comment.
18547         (ptmalloc_init): Do not call thread_atfork.  Remove
18548         thread_atfork_static.
18549         * malloc/tst-malloc-fork-deadlock.c: New file.
18550         * Makefile (tests): Add tst-malloc-fork-deadlock.
18551         (tst-malloc-fork-deadlock): Link against libpthread.
18552         * manual/memory.texi (Aligned Memory Blocks): Update safety
18553         annotation comments.
18554         * sysdeps/nptl/fork.c (__libc_fork): Call
18555         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18556         __malloc_fork_unlock_child.
18557         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18559 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18561         [BZ #19613]
18562         Remove union wait.
18563         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18564         (w_stopsig, w_stopval): Remove.
18565         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18566         stat_loc argument.
18567         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18568         (__WAIT_STATUS_DEFN): Remove.
18569         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18570         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18571         (wait, wait3, wait4): Use int * for the stat_loc argument.
18572         * posix/wait.c (__wait): Likewise.
18573         * posix/wait3.c (__wait3): Likewise.
18574         * posix/wait4.c (__wait4): Likewise.
18575         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18576         (__WAIT_STATUS_DEFN): Remove.
18577         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18578         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18579         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18580         argument.
18581         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18582         * sysdeps/posix/wait3.c (__wait3): Likewise.
18583         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18584         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18585         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18586         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18587         stat_loc argument.
18588         * manual/process.texi (BSD Wait Functions): Remove union wait.
18590 2016-04-13  Andreas Schwab  <schwab@suse.de>
18592         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18593         (test-extras): Add tst-tlsalign-vars.
18594         * math/Makefile: Wrap long lines.
18595         (libm-vec-test-wrappers): Define.
18596         (test-extras): Add $(libm-vec-test-wrappers).
18597         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18598         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18599         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18600         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18601         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18602         (extra-test-objs): Add corresponding objects.
18604 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18606         [BZ #19928]
18607         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18608         New.
18609         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18610         times of shared cache size.
18611         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18612         (VMOVNT): New.
18613         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18614         (VMOVNT): Likewise.
18615         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18616         (VMOVNT): Likewise.
18617         (VMOVU): Changed to movups for smaller code sizes.
18618         (VMOVA): Changed to movaps for smaller code sizes.
18619         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18620         comments.
18621         (PREFETCH): New.
18622         (PREFETCH_SIZE): Likewise.
18623         (PREFETCHED_LOAD_SIZE): Likewise.
18624         (PREFETCH_ONE_SET): Likewise.
18625         Rewrite to use forward and backward loops, which move 4 vector
18626         registers at a time, to support overlapping addresses and use
18627         non temporal store if size is above the threshold and there is
18628         no overlap between destination and source.
18630 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18632         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18633         Include dl-vdso.
18634         * sysdeps/unix/sysv/linux/mips/Versions: Add
18635         __vdso_clock_gettime.
18636         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18637         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18638         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18639         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18640         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18641         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18642         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18643         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18644         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18646 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18648         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18649         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18652         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18653         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18656         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18658         syscalls generation.
18659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18660         [__NR_pwrite64] (__NR_write): Remove define.
18661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18662         [__NR_pwrite64] (__NR_write): Remove define.
18663         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18664         Remove define.
18665         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18666         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18667         Remove define.
18668         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18669         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18670         Linux implementation as base.
18671         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18673         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18674         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18679         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18681         syscall generation.
18682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18683         [__NR_pread64] (__NR_pread): Remove define.
18684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18685         [__NR_pread64] (__NR_pread): Likewise.
18686         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18687         define.
18688         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18689         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18690         Remove define.
18691         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18692         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18693         Linux implementation as base.
18694         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18695         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18696         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18698         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18699         definition.
18700         (__ALIGNMENT_COUNT): Likewise.
18701         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18702         (__ALIGNMENT_COUNT): Likewise.
18703         (SYSCALL_LL): New define.
18704         (SYSCALL_LL64): Likewise.
18705         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18706         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18707         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18708         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18710         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18711         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18713         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18715         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18717 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18719         [BZ #19865]
18720         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18721         original buffer before retry.
18723 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18725         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18726         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18727         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18728         GLRO(dl_auxv) list.
18729         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18730         including <ldsodefs.h>.
18731         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18733 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18735         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18736         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18737         $(CPPFLAGS).
18739 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18741         [BZ #17950]
18742         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18743         Add -mfpmath=387.
18745 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18747         * sysdeps/i386/configure.ac: Change == to = when calling test.
18748         * sysdeps/x86_64/configure.ac: Likewise.
18749         * sysdeps/i386/configure: Regenerated.
18750         * sysdeps/x86_64/configure: Likewise.
18752 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18754         [BZ #16137]
18755         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18756         * benchtests/bench-strcoll.c (input_files): Likewise.
18757         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18758         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18759         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18761 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18763         [BZ #19929]
18764         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18765         [__USE_XOPEN2K8 && !__USE_GNU].
18766         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18767         variable.
18769         [BZ #19925]
18770         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18771         define if [!__USE_MISC && __USE_XOPEN2K].
18772         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18773         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18774         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18775         Likewise.
18776         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18777         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18778         variable.
18779         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18781 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18783         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18784         (sysdep_routines): Add new strspn targets.
18785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18786         (__libc_ifunc_impl_list): Add strspn.
18787         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18788         New file.
18789         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18790         Likewise.
18791         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18792         Likewise.
18793         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18794         Likewise.
18796 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18798         * misc/hsearch_r.c: Include <limits.h>.
18800 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18802         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18804 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18806         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18807         (MEMCPY_SYMBOL): New.
18808         (MEMPCPY_SYMBOL): Likewise.
18809         (MEMMOVE_CHK_SYMBOL): Likewise.
18810         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18811         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18812         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18813         Provide alias for memcpy in libc.a and ld.so.
18815 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18817         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18818         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18819         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18820         Disabled fro now.
18821         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18822         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18824 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18826         * benchtests/Makefile (string-benchset): Add memcpy-large,
18827         memmove-large and memset-large.
18828         * benchtests/bench-memcpy-large.c: New file.
18829         * benchtests/bench-memmove-large.c: Likewise.
18830         * benchtests/bench-memmove-large.c: Likewise.
18831         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18833 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18835         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18836         32-bit displacement to avoid long nop between instructions.
18838 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18840         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18841         a comment on VMOVU and VMOVA.
18843 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18845         [BZ #19633]
18846         Use specified locale for number formatting in strfmon_l.
18847         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18848         (__nl_lookup_word): New inline functions.
18849         * include/printf.h (__print_fp_l): Declare.
18850         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18851         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18852         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18853         (___printf_fp): New function.
18854         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18855         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18856         * stdlib/tst-strfmon_l.c (do_test): New test.
18857         * stdlib/Makefile (tests): Add kt.
18858         (LOCALES): Build additional locales.
18859         (tst-strfmon_l.out): Require locales.
18861 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18863         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18864         if not in libc.
18865         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18866         Likewise.
18867         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18868         Likewise.
18869         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18870         Likewise.
18872 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18874         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18875         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18876         with unaligned_erms.
18877         (__memmove_erms): Skip if source == destination.
18878         (__memmove_unaligned_erms): Don't check source == destination
18879         first.
18881 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18883         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18884         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18886 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18888         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18889         * string/strspn.c (strspn): Likewise.
18891 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18893         * benchtests/bench-memset.c (do_test): Support 64-byte
18894         alignment.
18895         (test_main): Test 64-byte alignment.
18897 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18899         * benchtests/bench-memmove.c (test_main): Test 64-byte
18900         alignment.
18902 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18904         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18906 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18908         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18909         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18910         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18912         * string/strpbrk.c (strpbrk): Rewrite function.
18913         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18914         (__strpbrk_c2): Likewise.
18915         (__strpbrk_c3): Likewise.
18916         * string/string-inlines.c
18917         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18918         Likewise.
18919         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18920         Likewise.
18922         * string/strspn.c (strcspn): Rewrite function.
18923         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18924         (__strspn_c1): Remove inline function.
18925         (__strspn_c2): Likewise.
18926         (__strspn_c3): Likewise.
18927         * string/string-inlines.c
18928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18929         compatibility symbol.
18930         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18931         Likewise.
18932         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18933         Likewise.
18934         * string/string-inlines.c: Include generic version.
18936 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18937             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18939         * string/Version (libc): Add GLIBC_2.24.
18940         * string/strcspn.c (strcspn): Rewrite function.
18941         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18942         (__strcspn_c1): Remove inline function.
18943         (__strcspn_c2): Likewise.
18944         (__strcspn_c3): Likewise.
18945         * string/string-inline.c
18946         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18947         compatibility symbol.
18948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18949         Likewise.
18950         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18951         Likewise.
18952         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18954 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18956         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18957         Use ahi instead of aghi to adjust stack pointer.
18959 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18961         [BZ #19853]
18962         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18963         TEST to take significant digits as second parameter.
18964         [TEST]: Redefine in terms of TEST_N taking 30
18965         significant digits.
18966         (do_test): Add test case to demonstrate precision
18967         failure in the ldbl-128ibm printf.
18968         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18969         (__mpn_extract_long_double): Carry 7 extra intermediate
18970         bits of precision to aide computing difference when
18971         signs differ.
18973 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18975         [BZ #19881]
18976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18977         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18978         memset-avx512-unaligned-erms.
18979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18980         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18981         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18982         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18983         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18984         __memset_sse2_unaligned_erms, __memset_erms,
18985         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18986         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18987         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18988         file.
18989         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18990         Likewise.
18991         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18992         Likewise.
18993         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18994         Likewise.
18996 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18998         [BZ #19776]
18999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19000         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19001         memmove-avx512-unaligned-erms.
19002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19003         (__libc_ifunc_impl_list): Test
19004         __memmove_chk_avx512_unaligned_2,
19005         __memmove_chk_avx512_unaligned_erms,
19006         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19007         __memmove_chk_sse2_unaligned_2,
19008         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19009         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19010         __memmove_avx512_unaligned_erms, __memmove_erms,
19011         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19012         __memcpy_chk_avx512_unaligned_2,
19013         __memcpy_chk_avx512_unaligned_erms,
19014         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19015         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19016         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19017         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19018         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19019         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19020         __mempcpy_chk_avx512_unaligned_erms,
19021         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19022         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19023         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19024         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19025         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19026         __mempcpy_erms.
19027         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19028         file.
19029         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19030         Likewise.
19031         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19032         Likewise.
19033         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19034         Likewise.
19036 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19038         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19039         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19040         (La_s390_64_regs): Likewise.
19041         (La_s390_32_retval): Append vector register lrv_v24.
19042         (La_s390_64_retval): Likeweise.
19043         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19044         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19045         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19046         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19048 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19050         [BZ #19916]
19051         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19052         to create a non-vector/vector version for _dl_runtime_resolve and
19053         _dl_runtime_profile. Move implementation to ...
19054         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19055         (_dl_runtime_resolve) Save and restore fpr/vrs.
19056         (_dl_runtime_profile) Save and restore vrs and fix some issues
19057         if _dl_call_pltexit is called.
19058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19059         Choose the correct resolver function if running on a machine with vx.
19060         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19061         to create a non-vector/vector version for _dl_runtime_resolve and
19062         _dl_runtime_profile. Move implementation to ...
19063         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19064         (_dl_runtime_resolve) Save and restore fpr/vrs.
19065         (_dl_runtime_profile) Save and restore vrs and fix some issues
19066         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19067         Choose the correct resolver function if running on a machine with vx.
19069 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19071         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19073 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19075         [BZ #19509]
19076         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19077         skip_map != NULL.
19078         * elf/tst-dlsym-error.c: New file.
19079         * elf/Makefile (tests): Add tst-dlsym-error.
19080         (tst-dlsym-error): Link against libdl.
19082 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19085         (__ASSUME_FUTIMESAT): Remove macro.
19086         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19088 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19090         [BZ #19879]
19091         CVE-2016-3075
19092         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19093         copy name.
19095 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19097         [BZ #19837]
19098         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19099         error if parse_line fails.
19101 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19103         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19104         (index_cpu_ERMS): Likewise.
19105         (reg_ERMS): Likewise.
19107 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19109         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19110         PER_LINUX_FDPIC): Add.
19112 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19115         memcpy-avx512-no-vzeroupper.
19116         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19117         to ...
19118         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19119         (MEMCPY): Don't define.
19120         (MEMCPY_CHK): Likewise.
19121         (MEMPCPY): Likewise.
19122         (MEMPCPY_CHK): Likewise.
19123         (MEMPCPY_CHK): Renamed to ...
19124         (__mempcpy_chk_avx512_no_vzeroupper): This.
19125         (MEMPCPY_CHK): Renamed to ...
19126         (__mempcpy_chk_avx512_no_vzeroupper): This.
19127         (MEMCPY_CHK): Renamed to ...
19128         (__memmove_chk_avx512_no_vzeroupper): This.
19129         (MEMCPY): Renamed to ...
19130         (__memmove_avx512_no_vzeroupper): This.
19131         (__memcpy_avx512_no_vzeroupper): New alias.
19132         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19134 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19136         [BZ #18858]
19137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19138         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19139         and mempcpy-avx512-no-vzeroupper.
19140         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19141         New.
19142         (MEMPCPY): Likewise.
19143         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19144         (MEMPCPY_CHK): New.
19145         (MEMPCPY): Likewise.
19146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19147         (MEMPCPY): Likewise.
19148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19149         (MEMPCPY): Likewise.
19150         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19151         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19152         Likewise.
19153         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19154         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19156 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19157              Amit Pawar  <Amit.Pawar@amd.com>
19159         [BZ #19583]
19160         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19161         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19162         processors.  Set Fast_Copy_Backward for AMD Excavator
19163         processors.
19164         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19165         New.
19166         (index_arch_Fast_Unaligned_Copy): Likewise.
19167         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19168         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19170 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19172         [BZ #19791]
19173         * resolv/res_send.c (close_and_return_error): New function.
19174         (send_dg): Initialize *resplen2 after reopen failure.  Call
19175         close_and_return_error for error returns.  On error paths without
19176         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19177         successful return.
19179 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19181         [BZ #19860]
19182         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19183         zero if the compiler does not provide the AVX512F bit.
19185 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19187         [BZ #19848]
19188         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19189         from 8 to 4.
19190         (__ieee754_powl): Compare integer exponent against 4 not 8.
19191         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19192         from 8 to 4.
19193         (__ieee754_powl): Compare integer exponent against 4 not 8.
19194         * math/auto-libm-test-in: Add more tests of pow.
19195         * math/auto-libm-test-out: Regenerated.
19196         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19199 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19201         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19202         Make code unconditional.
19203         [!__NR_utimensat]: Remove conditional code.
19204         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19205         Make code unconditional.
19206         [!__NR_utimensat]: Remove conditional code.
19207         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19208         Make code unconditional.
19209         [!__NR_utimensat]: Remove conditional code.
19211 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19213         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19214         Make code unconditional.
19216 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19218         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19219         call-clobbered %eax on retry path.
19220         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19222 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19224         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19225         Don't set %rcx twice before "rep movsb".
19227 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19229         [BZ #19583]
19230         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19231         inline.  Check family before setting family, model and
19232         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19233         bits here.
19234         (init_cpu_features): Replace HAS_CPU_FEATURE and
19235         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19236         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19237         for Intel processors with usable AVX2.  Call get_common_indeces
19238         for other processors with family == NULL.
19239         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19240         (CPU_FEATURES_ARCH_P): Likewise.
19241         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19242         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19244 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19246         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19247         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19248         $(shared-thread-library) instead of hardcoding the path to libpthread.
19250 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19252         * sysdeps/unix/sysv/linux/kernel-features.h
19253         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19254         * sysdeps/unix/sysv/linux/getdents.c
19255         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19256         [!have_no_getdents64_defined]: Likewise.
19257         (__GETDENTS): Remove __have_no_getdents64 conditional.
19259 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19262         Remove macro.
19263         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19264         <kernel-features.h>.
19265         (signalfd) [__NR_signalfd4]: Make code unconditional.
19266         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19268 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19270         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19271         style.
19273 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19275         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19276         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19277         __pthread_unwind.
19278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19279         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19281         (__condvar_cleanup1): Likewise.
19283 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19285         [BZ #19822]
19286         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19287         move it to the final $@ location.
19289 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19291         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19292         access where posix_spawn success and pid argument is null.
19293         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19294         success case.
19296 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19298         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19300         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19302         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19303         and __fcntl.
19304         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19305         __fcntl only.
19306         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19307         adding attribute_hidden to __open and __fcntl.
19309         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19310         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19311         depend on libc-modules.h,
19312         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19314 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19317         Remove macro.
19318         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19319         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19320         entry.
19322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19323         Remove macro.
19324         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19325         include <kernel-features.h>.
19326         [!__ASSUME_FALLOCATE]: Remove conditional code.
19327         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19329 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19332         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19334         (_ZGVdN4v_cos_avx2): Likewise.
19335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19336         (_ZGVdN4v_cos): Likewise.
19337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19338         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19340         (_ZGVdN4v_exp_avx2): Likewise.
19341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19342         (_ZGVdN4v_exp): Likewise.
19343         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19344         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19345         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19346         (_ZGVdN4v_log_avx2): Likewise.
19347         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19348         (_ZGVdN4v_log): Likewise.
19349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19350         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19351         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19352         (_ZGVdN4vv_pow_avx2): Likewise.
19353         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19354         (_ZGVdN4vv_pow): Likewise.
19355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19356         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19357         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19358         (_ZGVdN4v_sin_avx2): Likewise.
19359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19360         (_ZGVdN4v_sin): Likewise.
19361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19362         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19364         (_ZGVdN4vvv_sincos_avx2): Likewise.
19365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19366         (_ZGVdN4vvv_sincos): Likewise.
19367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19368         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19370         (_ZGVbN4v_cosf_sse4): Likewise.
19371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19372         (_ZGVdN8v_cosf_avx2): Likewise.
19373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19374         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19376         (_ZGVbN4v_expf_sse4): Likewise.
19377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19378         (_ZGVdN8v_expf_avx2): Likewise.
19379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19380         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19381         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19382         (_ZGVbN4v_logf_sse4): Likewise.
19383         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19384         (_ZGVdN8v_logf_avx2): Likewise.
19385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19386         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19387         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19388         (_ZGVbN4vv_powf_sse4): Likewise.
19389         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19390         (_ZGVdN8vv_powf_avx2): Likewise.
19391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19392         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19394         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19396         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19398         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19399         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19400         (_ZGVbN4v_sinf_sse4): Likewise.
19401         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19402         (_ZGVdN8v_sinf_avx2): Likewise.
19403         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19404         Use JUMPTARGET to call callee.
19405         (WRAPPER_IMPL_SSE2_ff): Likewise.
19406         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19407         (WRAPPER_IMPL_AVX): Likewise.
19408         (WRAPPER_IMPL_AVX_ff): Likewise.
19409         (WRAPPER_IMPL_AVX_fFF): Likewise.
19410         (WRAPPER_IMPL_AVX512): Likewise.
19411         (WRAPPER_IMPL_AVX512_ff): Likewise.
19412         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19413         Likewise.
19414         (WRAPPER_IMPL_SSE2_ff): Likewise.
19415         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19416         (WRAPPER_IMPL_AVX): Likewise.
19417         (WRAPPER_IMPL_AVX_ff): Likewise.
19418         (WRAPPER_IMPL_AVX_fFF): Likewise.
19419         (WRAPPER_IMPL_AVX512): Likewise.
19420         (WRAPPER_IMPL_AVX512_ff): Likewise.
19421         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19423 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19425         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19426         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19427         qualifier.
19428         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19429         internal_function qualifiers.
19431 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19433         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19434         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19435         * math/atest-exp.c (exp_mpn): Mark chk unused.
19436         * math/atest-exp2.c (exp_mpn): Likewise.
19437         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19438         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19440 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19443         Remove macro.
19444         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19445         <kernel-features.h>.
19446         [__NR_ppoll]: Make code unconditional.
19447         [!__ASSUME_PPOLL]: Remove conditional code.
19449         * sysdeps/unix/sysv/linux/kernel-features.h
19450         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19451         (__ASSUME_ACCEPT4): Likewise.
19452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19453         Define.
19454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19455         Likewise.
19456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19457         Likewise.
19458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19459         Likewise.
19460         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19461         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19463         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19466         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19468         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19470         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19471         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19472         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19474         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19476         Likewise.
19477         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19478         Likewise.
19479         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19480         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19481         0x040300].
19482         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19483         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19485         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19486         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19487         0x030300].
19488         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19489         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19490         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19491         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19492         0x040300].
19493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19496         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19498         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19499         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19500         0x030300].
19501         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19502         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19505         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19506         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19508         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19509         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19510         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19511         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19512         0x040300].
19513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19515         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19516         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19519         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19522         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19524         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19525         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19526         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19527         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19528         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19530         Likewise.
19531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19532         Likewise.
19534 2016-03-15  Andreas Schwab  <schwab@suse.de>
19536         [BZ #19257]
19537         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19538         statp->_u._ext.nscount as loop count.
19540 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19542         * math/test-signgam-finite-c99.c: Also #undef
19543         __LIBC_INTERNAL_MATH_INLINES.
19544         * math/test-signgam-main.c: Likewise.
19546 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19548         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19549         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19550         (MADV_FREE): Likewise.
19551         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19552         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19553         EPOLLEXCLUSIVE.
19555 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19557         * timezone/README: Remove mention of checktab.awk. Mention wiki
19558         SharedSourceFiles.
19560 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19562         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19563         WUNTRACED.
19565 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19567         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19568         order to match the type of p when calling atomic_exchange_acq().
19570 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19572         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19573         cfi_offset calls.
19574         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19575         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19576         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19577         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19578         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19580 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19582         * timezone/checktab.awk: Removed.
19584 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19586         * manual/math.texi (Errors in Math Functions): Document relaxed
19587         accuracy goals for IBM long double.
19588         * math/libm-test.inc (test_exceptions): Always allow spurious
19589         "underflow" and "inexact" exceptions for IBM long double.
19591 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19593         [BZ #19762]
19594         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19595         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19596         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19597         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19598         (bit_arch_*): This for feature array.
19599         (bit_*): Renamed to ...
19600         (bit_cpu_*): This for cpu array.
19601         (index_*): Renamed to ...
19602         (index_arch_*): This for feature array.
19603         (index_*): Renamed to ...
19604         (index_cpu_*): This for cpu array.
19605         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19606         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19607         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19608         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19609         bit_##name with index_cpu_##name and bit_cpu_##name.
19610         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19611         bit_##name with index_arch_##name and bit_arch_##name.
19613 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19615         [BZ #19792]
19616         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19617         Terminate FDE before return label.
19619 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19621         [BZ #19790]
19622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19623         (rintl): Define as macro.
19624         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19625         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19626         of fesetround.  Ensure results are evaluated before end of scope.
19627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19628         USE_AS_NEARBYINTL and include s_rintl.c.
19629         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19630         Disable exception traps in new environment.
19631         (libc_feholdsetround_ppc_ctx): Likewise.
19633 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19635         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19636         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19637         (tst_audit10_aux) [__AVX512F__]: ... here.
19639 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19641         * include/sys/auxv.h: New file.
19643 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19645         [BZ #19759]
19646         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19648 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19650         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19651         operand modifier.
19652         (feclearexcept): Likewise.
19654 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19657         to reflect the entire 32-bit HWCAP.
19658         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19659         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19661 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19663         [BZ #19783]
19664         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19665         $(test-via-rtld-prefix).
19666         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19668 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19670         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19671         union wait.  Report any non-zero exit status as error.
19673 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19675         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19676         configured with --enable-hardcoded-path-in-tests.
19678 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19680         [BZ #19677]
19681         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19682         (__ieee754_remainderl): Put zero low parts in canonical form.
19683         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19684         file.  Based on
19685         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19686         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19687         with wrapper round test-fmodrem-ldbl-128ibm.c.
19688         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19689         file.
19690         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19691         Likewise.
19692         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19693         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19695 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19697         [BZ #19610]
19698         * elf/ldconfig.c (opt_link): Update comment.
19699         (options): Update help string for option -X.
19700         (search_dir): Unlink stale symbolic link only if updating symbolic
19701         links.
19702         * elf/tst-ldconfig-X.sh: New file.
19703         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19704         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19706 2016-03-07  Andreas Schwab  <schwab@suse.de>
19708         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19709         needed arguments.
19711 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19713         [BZ #15333]
19714         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19715         to lstat64.
19717 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19719         * libio/filedoalloc.c (isatty): Remove.
19720         (local_isatty): Add comment.  Call __isatty directly.
19721         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19722         * libio/wfiledoalloc.c (isatty): Remove.
19723         (_IO_wfile_doallocate): Update comment.
19725 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19727         [BZ #19269]
19728         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19729         tst-audit4-aux.o.
19730         (tst-audit10): Depend on tst-audit10-aux.o.
19731         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19732         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19733         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19734         instead of inline AVX code.
19735         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19736         instead of inline AVX512 code.
19737         * sysdeps/x86_64/tst-audit4-aux.c: New file
19738         * sysdeps/x86_64/tst-audit10-aux.c: New file
19740         [BZ #19648]
19741         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19743 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19745         [BZ #14750]
19746         [BZ #10354]
19747         [BZ #18433]
19748         * include/sched.h (__clone): Add hidden prototype.
19749         (__clone2): Likewise.
19750         * include/unistd.h (__dup): Likewise.
19751         * posix/Makefile (tests): Add tst-spawn2.
19752         * posix/tst-spawn2.c: New file.
19753         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19754         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19755         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19756         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19757         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19758         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19759         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19760         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19761         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19762         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19763         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19765         Likewise.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19767         Likewise.
19768         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19769         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19770         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19771         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19772         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19773         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19774         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19775         * sysdeps/unix/sysv/linux/nptl-signals.h
19776         (____nptl_is_internal_signal): New function.
19777         * sysdeps/unix/sysv/linux/spawni.c: New file.
19779         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19780         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19781         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19782         * posix/tst-execvp2.c (do_test): Likewise.
19783         * posix/tst-execvp3.c (do_test): Likewise.
19784         * posix/tst-execvp4.c (do_test): Likewise.
19785         * posix/tst-execvpe1.c: New file.
19786         * posix/tst-execvpe2.c: Likewise.
19787         * posix/tst-execvpe3.c: Likewise.
19788         * posix/tst-execvpe4.c: Likewise.
19789         * posix/tst-execvpe5.c: Likewise.
19790         * posix/tst-execvpe6.c: Likewise.
19792         [BZ #19534]
19793         * posix/execl.c (execl): Remove dynamic memory allocation.
19794         * posix/execle.c (execle): Likewise.
19795         * posix/execlp.c (execlp): Likewise.
19797 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19799         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19800         Replace .text with .text.avx512.
19801         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19802         Likewise.
19804 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19806         * sysdeps/generic/libnsl.abilist: New file.
19807         * sysdeps/generic/libutil.abilist: New file.
19809 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19811         [BZ #19762]
19812         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19813         HAS_ARCH_FEATURE with Fast_Rep_String.
19814         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19815         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19816         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19817         Likewise.
19818         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19819         Likewise.
19820         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19822         Likewise.
19823         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19824         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19825         Likewise.
19827 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19829         [BZ #19745]
19830         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19831         with *%rax in call.
19833 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19835         [BZ #19745]
19836         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19837         with *__libc_start_main@GOTPCREL(%rip) in call.
19839 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19841         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19842         inside conditional for nonempty $(CXX).
19844         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19845         nonempty.
19847         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19848         to test for empty $(CXX) rather than $(CXX) of "no".
19850 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19852         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19854 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19855             H.J. Lu  <hongjiu.lu@intel.com>
19857         [BZ #18880]
19858         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19859         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19860         enable __memcpy_ssse3_back.
19862 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19864         [BZ #19758]
19865         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19866         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19868 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19870         [BZ #19490]
19871         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19872         (__fentry__): Likewise.
19874 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19876         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19877         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19879 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19881         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19882         __mcount_internal directly.
19883         (C_LABEL(__fentry__)): Likewise.
19884         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19885         directly.
19887 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19889         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19890         (__start_context): Call __setcontext directly.
19892 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19895         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19896         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19897         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19899         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19900         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19901         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19902         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19903         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19904         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19905         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19907         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19908         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19909         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19910         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19911         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19912         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19913         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19914         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19916         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19917         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19918         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19919         Remove conditional code.
19920         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19921         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19922         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19924         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19925         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19926         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19927         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19928         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19929         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19930         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19931         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19933 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19935         * NEWS (2.23): Fix typo in bug 19048 text.
19937 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19939         [BZ #14259]
19940         * Makeconfig: Rename msgcatdir to localedir.
19941         Rename inst_msgcatdir to inst_localedir.
19942         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19943         * config.make.in: Add localedir.
19944         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19945         (ldd-rewrite): Likewise.
19946         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19947         (install-others): Use inst_localedir.
19948         (CPPFLAGS): Use localedir.
19949         * locale/Makefile (locale-CPPFLAGS): Likewise.
19950         * po/Makefile (mo-installed): Use inst_localedir.
19952         [BZ #19575]
19953         * localedata/charmaps/GB18030: Update comments regarding PAU to
19954         non-PUA mappings.
19956 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19958         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19959         test for header.
19960         * sysdeps/unix/sysv/linux/configure: Regenerated.
19961         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19962         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19963         Remove conditional code.
19964         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19966         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19967         Define to 3.2.0.
19968         (arch_minimum_kernel): Likewise.
19969         * sysdeps/unix/sysv/linux/configure: Regenerated.
19970         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19971         Define to 2.6.32.
19972         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19973         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19974         (arch_minimum_kernel): Define to 2.6.32.
19975         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19976         * README: Document Linux 3.2 requirement.
19977         * manual/install.texi (Linux): Document Linux 3.2 headers
19978         requirement.
19979         * INSTALL: Regenerated.
19981 2016-02-24  Andreas Schwab  <schwab@suse.de>
19983         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19984         if !NO_LONG_DOUBLE.
19986 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19988         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19989         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19991 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19993         [BZ #19512]
19994         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19996 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19998         * posix/tst-dir.c: Include libc-internal.h.
20000 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20002         [BZ #19056]
20003         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20004         * manual/filesys.texi (Reading/Closing Directory): Mention
20005         deprecaion.
20006         * posix/tst-dir.c (main): Disable deprecation warning in test.
20008 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20010         [BZ #19679]
20011         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20012         Renamed to ...
20013         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20014         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20015         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20016         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20017         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20018         * sysdeps/x86_64/dl-trampoline.h
20019         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20020         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20022 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20024         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20026 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20028         * elf/elf.h (R_386_GOT32X): New.
20029         (R_386_NUM): Update.
20030         (R_X86_64_GOTPCRELX: New.
20031         (R_X86_64_REX_GOTPCRELX): New.
20032         (R_X86_64_NUM): Update.
20034 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20036         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20038 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20040         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20041         assign attr->stackaddr to it, and adjust it down when
20042         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20043         [_STACK_GROWS_UP]: Delete assert.
20044         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20045         Implement stack grows up logic.
20046         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20047         stack grows up logic.
20049 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20051         * NEWS: Update with 2.24 template.
20053 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #19678]
20056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20057         Ensure +0.0 is returned when taking the next value below the least
20058         positive value.
20060 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20062         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20063         available.  Do not define NO_THREADS.
20064         * malloc/malloc.c: Do not check NO_THREADS.
20065         * malloc/arena.c: Likewise.
20067 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20069         * malloc/malloc.c (__libc_mallinfo): Update comment.
20070         (struct malloc_par): Remove max_total_mem member, it was always 0.
20071         (int_mallinfo): Store 0 into usmblks (no functional change).
20072         * malloc/hooks.c (struct malloc_state): Document that
20073         max_total_mem is always 0.
20074         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20075         always 0.
20076         * manual/memory.texi (Statistics of Malloc): Likewise.
20078 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20080         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20081         * malloc/arena.c (arena_max): Remove.
20082         (heap_trim, _int_new_arena): Do not update arena_max.
20084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20086         * resolv/res_init.c (res_ninit): Update comment.
20088 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20090         [BZ #19505]
20091         * posix/spawn_int.h: Add headers and include guard.
20092         (__spawn_valid_fd): New function.
20093         * posix/spawn_faction_addopen.c
20094         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20095         * posix/spawn_faction_addclose.c
20096         (posix_spawn_file_actions_addclose): Likewise.
20097         * posix/spawn_faction_adddup2.c
20098         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20099         second file descriptor.
20100         * posix/spawn_valid_fd.c: New file.
20101         * posix/tst-posix_spawn-fd.c: New file.
20102         * posix/Makefile (routines): Add spawn_valid_fd.
20103         (tests): Add tst-posix_spawn-fd.
20105 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20107         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20108         (do_test): Limit the number of arenas, so that we can use fewer
20109         outer threads.  Limit timeout to 3 seconds, in preparation for a
20110         larger TIMEOUT value.
20112 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20114         [BZ #19674]
20115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20116         sign in overflowing and underflowing results when overflow or
20117         underflow is detected early.  Include sign in result before rather
20118         than after scaling.
20120         [BZ #19603]
20121         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20122         (__ieee754_remainderl): Adjust sign of integer version of low part
20123         when taking absolute value of high part.
20124         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20125         * math/libm-test.inc (remainder_test_data): Add another test.
20126         (remquo_test_data): Likewise.
20128 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #19602]
20131         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20132         equal high parts and both low parts zero specially.
20133         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20134         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20135         Add test-fmodl-ldbl-128ibm.
20137         [BZ #19595]
20138         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20139         common logic for all cases of shifting subnormal results.  Do not
20140         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20141         exponent to ldbl_insert_mantissa in subnormal case.
20143         [BZ #19594]
20144         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20145         on high and low parts then adjust result and use
20146         ldbl_canonicalize_int if needed.
20148         [BZ #19593]
20149         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20150         on high part and __floor or __ceil on low part then use
20151         ldbl_canonicalize_int if needed.
20153         [BZ #19592]
20154         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20155         high and low parts then use ldbl_canonicalize_int if needed.
20157         [BZ #17899]
20158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20159         New function.
20160         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20161         on high and low parts then use ldbl_canonicalize_int if needed.
20163 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20165         * configure: Regenerated.
20167         * po/libc.pot: Regenerated.
20169         * po/be.po: Updated translation.
20170         * po/bg.po: Likewise.
20171         * po/ca.po: Likewise.
20172         * po/cs.po: Likewise.
20173         * po/da.po: Likewise.
20174         * po/el.po: Likewise.
20175         * po/eo.po: Likewise.
20176         * po/es.po: Likewise.
20177         * po/fi.po: Likewise.
20178         * po/fr.po: Likewise.
20179         * po/gl.po: Likewise.
20180         * po/hr.po: Likewise.
20181         * po/hu.po: Likewise.
20182         * po/ia.po: Likewise.
20183         * po/id.po: Likewise.
20184         * po/it.po: Likewise.
20185         * po/ja.po: Likewise.
20186         * po/lt.po: Likewise.
20187         * po/nb.po: Likewise.
20188         * po/nl.po: Likewise.
20189         * po/pt_BR.po: Likewise.
20190         * po/rw.po: Likewise.
20191         * po/sk.po: Likewise.
20192         * po/sl.po: Likewise.
20193         * po/sv.po: Likewise.
20194         * po/tr.po: Likewise.
20195         * po/zh_CN.po: Likewise.
20196         * po/zh_TW.po: Likewise.
20198         * version.h (RELEAES): Set to "development".
20199         (VERSION): Set to 2.23.90.
20201         * version.h (RELEASE): Set to "stable".
20202         (VERSION): Set to 2.23.
20203         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20205         * NEWS: Updated fixed bugs.
20207 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20208             Wilco Dijkstra  <wdijkstr@arm.com>
20210         [BZ #19462]
20211         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20212         (_STRING_INLINE_unaligned): This.
20213         * include/string.h: Include <string_private.h>.
20214         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20215         _STRING_INLINE_unaligned.
20216         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20217         (_STRING_INLINE_unaligned): New.
20218         * sysdeps/aarch64/string_private.h: New file.
20219         * sysdeps/generic/string_private.h: Likewise.
20220         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20221         * sysdeps/s390/string_private.h: Likewise.
20222         * sysdeps/x86/string_private.h: Likewise.
20223         * sysdeps/m68k/m680x0/m68020/bits/string.h
20224         (_STRING_ARCH_unaligned): Renamed to ...
20225         (_STRING_INLINE_unaligned): This.
20226         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20227         to ...
20228         (_STRING_INLINE_unaligned): This.
20229         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20230         to ...
20231         (_STRING_INLINE_unaligned): This.
20232         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20233         to ...
20234         (_STRING_INLINE_unaligned): This.
20236 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20237             H.J. Lu  <hongjiu.lu@intel.com>
20239         [BZ #19590]
20240         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20241         relocation.
20243 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20245         [BZ #18665]
20246         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20247         *herrno_p.
20248         (gaih_getanswer): Document functional behviour. Return tryagain
20249         if any result is tryagain.
20250         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20251         when freed.
20252         * resolv/res_send.c: Add copyright text.
20253         (__libc_res_nsend): Document that MAXPACKET is expected.
20254         (send_vc): Document. Remove buffer reuse.
20255         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20256         size of the buffer. Add Dprint for truncated UDP buffer.
20258 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20260         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20261         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20262         * INSTALL: Regenerate.
20264 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20265             Jonathan Wakely  <jwakely@redhat.com>
20266             Carlos O'Donell  <carlos@redhat.com>
20268         [BZ 19439]
20269         * math/Makefile (tests): Add test-math-isinff.
20270         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20271         * math/bits/mathcalls.h [__USE_MISC]: Use
20272         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20273         functions not in C++11 and which don't conflict e.g. isinff,
20274         isinfl etc.
20275         * math/test-math-isinff.cc: New file.
20277 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20279         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20281 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20283         [BZ #19529]
20284         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20286 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20288         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20290 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20292         [BZ #19550]
20293         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20294         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20295         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20296         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20297         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20298         New syscall entry.
20299         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20300         New syscall entry.
20301         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20302         syscall entry.
20304 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20306         [BZ #18240]
20307         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20308         unsigned int wraparound.
20310 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20312         [BZ #18240]
20313         * misc/bug18240.c: New test.
20314         * misc/Makefile (tests): Add it.
20316 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20317             Joseph Myers  <joseph@codesourcery.com>
20319         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20320         load in branch delay slot when less than a word of input left.
20322 2016-01-27  Andreas Schwab  <schwab@suse.de>
20324         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20326         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20327         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20329 2016-01-26  David S. Miller  <davem@davemloft.net>
20331         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20333 2016-01-25  David S. Miller  <davem@davemloft.net>
20335         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20336         __sqrtl_finite.
20337         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20338         instead using versioned_symbol.
20339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20340         of entries.
20342         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20343         __sqrtl_finite to GLIBC_2.23
20345 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20347         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20349 2016-01-25  Andreas Schwab  <schwab@suse.de>
20351         [BZ #17514]
20352         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20353         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20354         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20355         * nptl/tst-mutex-errorcheck.c: New file.
20357 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20359         [BZ #18560]
20360         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20361         (IPCOP_semop): Likewise.
20362         (IPCOP_semget): Likewise.
20363         (IPCOP_semctl): Likewise.
20364         (IPCOP_msgsnd): Likewise.
20365         (IPCOP_msgrcv): Likewise.
20366         (IPCOP_msgget): Likewise.
20367         (IPCOP_msgctl): Likewise.
20368         (IPCOP_shmat): Likewise.
20369         (IPCOP_shmdt): Likewise.
20370         (IPCOP_shmget): Likewise.
20371         (IPCOP_shmctl): Likewise.
20373 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20375         * string/tst-endian.c: Include <libc-internal.h>.
20376         (do_test): Ignore tautological-compare warnings around
20377         "htobeXX (beXXtoh (i)) != i" and
20378         "htoleXX (leXXtoh (i)) != i" if-statements.
20380 2016-01-24  David S. Miller  <davem@davemloft.net>
20382         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20383         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20384         alias.
20385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20386         __sqrtl_finite.
20388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20390 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20392         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20393         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20394         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20396 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20398         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20399         (thread_func): Use new function to simplify barrier check.
20400         (do_test): Use new function to simplify checking barrier exit
20401         code, and actually join the child thread.
20403 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20405         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20406         semicolon.
20407         (__libc_tend): Likewise.
20408         (__libc_tabort): Likewise.
20410 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20412         * sysdeps/nios2/libm-test-ulps: Update.
20413         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20414         (__gtsf2): Likewise.
20415         (__unorddf2): Likewise.
20416         (__unordsf2): Likewise.
20417         (__ledf2): Likewise.
20419 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20421         * nis/nis_table.c (__follow_path): Disable diagnostic for
20422         uninitialized variable that is a false positive for gcc 4.7.
20423         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20425 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20427         * sysdeps/nacl/lowlevellock-futex.h
20428         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20429         Always evaluate PRIVATE argument.
20431 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20433         [BZ #19490]
20434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20435         (pthread_cond_broadcast): Use ENTRY/END
20436         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20437         (pthread_cond_signal): Likewise.
20438         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20439         Likewise.
20440         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20441         Likewise.
20442         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20443         Likewise.
20445 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20447         * sysdeps/ieee754/dbl-64/s_finite.c
20448         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20449         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20450         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20451         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20452         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20455         (__gtsf2): Add as optional for libc.so.
20456         (__unordsf2): Likewise.
20457         (__signbit): Remove for libc.so.
20458         (__signbitl): Likewise.
20460 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20462         * iconvdata/bug-iconv11.c (test_ibm93x):
20463         Use %zu printf format specifier for size_t argument.
20465 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20467         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20468         already-recorded ulps.
20469         * sysdeps/arm/libm-test-ulps: Regenerated.
20470         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20471         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20472         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20474 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20475             Paul Pluzhnikov  <ppluzhnikov@google.com>
20477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20478         assembler not supporting AVX-512.
20480 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
20482         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20484 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
20486         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20487         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20489         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20491         * sysdeps/arm/libm-test-ulps: Regenerated.
20493 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20495         [BZ #19451]
20496         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20498 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20500         [BZ #19486]
20501         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20502         * sysdeps/generic/fix-fp-int-convert-overflow.h
20503         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20504         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20505         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20506         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20507         Likewise.
20508         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20509         Avoid conversions to long int where inexact exceptions
20510         could be raised.
20511         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20512         Likewise.
20513         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20514         Avoid conversions to long long int where inexact exceptions
20515         could be raised.
20516         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20517         Likewise.
20519 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20521         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20522         * configure: Regenerated.
20524 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20528 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20531         outside of comment.
20533 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20535         * nptl/tst-barrier1.c: Add description on first line.
20536         * nptl/tst-barrier2.c: Likewise.
20537         * nptl/tst-barrier3.c: Likewise.
20538         * nptl/tst-barrier4.c: Likewise.
20539         * nptl/tst-barrier5.c: Likewise.
20541 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20543         [BZ #18868]
20544         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20546 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20550         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20551         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20552         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20553         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20554         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20555         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20556         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20560 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20562         [BZ #13065]
20563         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20564         new implementation.
20565         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20566         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20567         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20568         (BARRIER_IN_THRESHOLD): New macro.
20569         * nptl/pthread_barrierattr_setpshared.c
20570         (pthread_barrierattr_setpshared): Clean up.
20571         * nptl/tst-barrier4.c: Correct comment.
20572         * nptl/tst-barrier5.c: New file.
20573         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20574         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20575         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20576         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20577         * nptl/lowlevelbarrier.sym: Remove.
20578         * nptl/DESIGN-barrier.txt: Remove.
20579         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20580         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20581         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20582         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20583         error.
20584         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20585         implementation.
20587 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20589         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20590         (do_child): Mask SIGRTMIN while thr is running.
20592 2016-01-15  Martin Sebor  <msebor@redhat.com>
20594         [BZ #19432]
20595         * iconvdata/Makefile: Add bug-iconv11.
20596         * iconvdata/bug-iconv11.c: New test.
20597         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20598         * iconvdata/ibm933.c: Same.
20599         * iconvdata/ibm935.c: Same.
20600         * iconvdata/ibm937.c: Same.
20601         * iconvdata/ibm939.c: Same.
20603 2016-01-15  Martin Sebor  <msebor@redhat.com>
20605         [BZ #19443]
20606         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20607         [DEBUG] (_ufc_set_bits): Declare used.
20608         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20609         [DEBUG] (print_all): Declare used.
20610         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20611         operands of the ternary ?: expression to target type.
20612         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20613         calling the undeclared abort.
20614         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20616 2016-01-15  Martin Sebor  <msebor@redhat.com>
20618         [BZ #18755]
20619         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20620         warnings.
20621         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20622         (__gai_create_helper_thread): Same.
20623         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20624         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20625         to suppress -Wmaybe-uninitialized warnings.
20627 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20629         [BZ #19465]
20630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20631         inside if.
20632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20633         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20636 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20638         [BZ #19466]
20639         * time/tst-mktime2.c (time_t_max): Removed.
20640         (time_t_min): Likewise.
20641         (TYPE_SIGNED): New.
20642         (TYPE_MINIMUM): Likewise.
20643         (TYPE_MAXIMUM): Likewise.
20644         (TIME_T_MIN): Likewise.
20645         (TIME_T_MAX): Likewise.
20646         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20647         and TIME_T_MIN.
20648         (do_test): Likewise.
20650 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20652         [BZ #19467]
20653         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20654         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20656 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20658         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20660 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20662         * benchtests/Makefile (PYTHON): Define.
20663         (bench-func): Use $(PYTHON) to run python scripts.
20664         ($(objpfx)bench-%.c): Likewise.
20666 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20669         leading slash when `file_name' is "/".
20671 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20673         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20674         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20675         Likewise.
20676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20677         Likewise.
20678         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20679         Likewise.
20680         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20681         enum constant and macro.
20682         (PTRACE_SETSIGMASK): Likewise.
20683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20684         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20685         (PTRACE_GETSIGMASK): Likewise.
20686         (PTRACE_SETSIGMASK): Likewise.
20687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20688         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20689         Likewise.
20690         (PTRACE_SETSIGMASK): Likewise.
20691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20692         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20693         (PTRACE_GETSIGMASK): Likewise.
20694         (PTRACE_SETSIGMASK): Likewise.
20695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20697         Likewise.
20698         (PTRACE_SETSIGMASK): Likewise.
20699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20701         Likewise.
20702         (PTRACE_SETSIGMASK): Likewise.
20703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20704         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20705         Likewise.
20706         (PTRACE_SETSIGMASK): Likewise.
20707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20709 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20710             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20712         [BZ #19439]
20713         * math/bits/mathcalls.h
20714         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20715         prototype.
20716         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20718 2016-01-11  Andreas Schwab  <schwab@suse.de>
20720         [BZ #19253]
20721         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20722         cache when TZDEFRULES was used.
20723         * time/tst-tzname.c: New file.
20724         * time/Makefile (test): Add tst-tzname.
20725         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20726         * timezone/Makefile (test-zones): Add $(posixrules-file).
20727         ($(testdata)/$(posixrules-file)): New rule.
20729 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20731         Fix doc quoting problems with Texinfo 5
20732         Without this change, in the info file output, Texinfo 5 quotes code
20733         in text with undirected single quotes 'like this' and generates
20734         code examples that with many PDF readers cannot be cut out of PDFs
20735         and pasted into code.
20736         * manual/libc.texinfo: Configure the libc manual like the GNU
20737         Emacs manual, by using @documentencoding and setting
20738         txicodequoteundirected and txicodequotebacktick.  This way,
20739         Texinfo 5 quotes code in text with directed single quotes ‘like
20740         this’ and produces examples that can be cut out of PDFs.  This
20741         change causes Texinfo 5 to generate info files that contain UTF-8
20742         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20743         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20745 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20747         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20748         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20749         barriers to their respective compiler built-ins.
20750         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20751         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20752         * sysdeps/powerpc/sysdep.h: Likewise.
20753         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20754         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20755         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20757 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20759         * scripts/config.guess: Revert previous shebang change.
20760         * scripts/config.sub: Likewise.
20761         * scripts/mkinstalldirs: Likewise.
20763 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20765         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20766         PPC_FEATURE2_HAS_IEEE128.
20767         * sysdeps/powerpc/dl-procinfo.c:
20768         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20770 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20772         [BZ #19415]
20773         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20774         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20775         (_dl_lookup_address): Rewrite using function resolver trampoline.
20776         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20777         two bits in address.
20779 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20781         * longlong.h: Change !__SHMEDIA__ to
20782         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20783         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20785 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20786             Joseph Myers  <joseph@codesourcery.com>
20787             Mark Shinwell  <shinwell@codesourcery.com>
20788             Andrew Stubbs  <ams@codesourcery.com>
20789             Rich Felker <dalias@libc.org>
20791         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20793 2016-01-07  Richard Henderson  <rth@redhat.com>
20795         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20797 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20799         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20800         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20801         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20802         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20803         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20805 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20806             Joseph Myers  <joseph@codesourcery.com>
20808         * timezone/private.h: Update from tzcode 2015g.
20809         * timezone/tzfile.h: Likewise.
20810         * timezone/tzselect.ksh: Likewise.
20811         * timezone/zdump.c: Likewise.
20812         * timezone/zic.c: Likewise.
20813         * timezone/ialloc.c: Remove file.
20814         * timezone/scheck.c: Likewise.
20815         * timezone/Makefile (extra-objs): Remove variable.
20816         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20817         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20818         -Wno-maybe-uninitialized.
20819         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20820         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20821         (CFLAGS-ialloc.c): Remove variable.
20822         (CFLAGS-scheck.c): Likewise.
20823         * timezone/README: Update list of files from tzcode.
20825 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20827         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20828         instead of __fxprintf when _LIBC is undefined.
20830 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20832         * catgets/test-gencat.sh: Remove space after shebang.
20833         * conform/GlibcConform.pm: Likewise.
20834         * conform/check-header-lists.sh: Likewise.
20835         * conform/conformtest.pl: Likewise.
20836         * conform/linknamespace.pl: Likewise.
20837         * conform/list-header-symbols.pl: Likewise.
20838         * debug/catchsegv.sh: Likewise.
20839         * elf/genrtldtbl.awk: Likewise.
20840         * elf/tst-pathopt.sh: Likewise.
20841         * elf/tst-rtld-load-self.sh: Likewise.
20842         * grp/tst_fgetgrent.sh: Likewise.
20843         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20844         * iconvdata/gen-8bit-gap.sh: Likewise.
20845         * iconvdata/gen-8bit.sh: Likewise.
20846         * iconvdata/run-iconv-test.sh: Likewise.
20847         * intl/tst-gettext.sh: Likewise.
20848         * intl/tst-gettext2.sh: Likewise.
20849         * intl/tst-gettext4.sh: Likewise.
20850         * intl/tst-gettext6.sh: Likewise.
20851         * intl/tst-translit.sh: Likewise.
20852         * io/ftwtest-sh: Likewise.
20853         * libio/test-freopen.sh: Likewise.
20854         * locale/gen-translit.pl: Likewise.
20855         * malloc/tst-mtrace.sh: Likewise.
20856         * manual/check-safety.sh: Likewise.
20857         * manual/libc-texinfo.sh: Likewise.
20858         * manual/tsort.awk: Likewise.
20859         * manual/xtract-typefun.awk: Likewise.
20860         * nptl/tst-cancel-wrappers.sh: Likewise.
20861         * nptl/tst-tls6.sh: Likewise.
20862         * posix/globtest.sh: Likewise.
20863         * posix/tst-getconf.sh: Likewise.
20864         * posix/wordexp-tst.sh: Likewise.
20865         * scripts/check-c++-types.sh: Likewise.
20866         * scripts/check-local-headers.sh: Likewise.
20867         * scripts/config.guess: Likewise.
20868         * scripts/config.sub: Likewise.
20869         * scripts/cpp: Likewise.
20870         * scripts/cross-test-ssh.sh: Likewise.
20871         * scripts/documented.sh: Likewise.
20872         * scripts/evaluate-test.sh: Likewise.
20873         * scripts/gen-libc-abis: Likewise.
20874         * scripts/gen-sorted.awk: Likewise.
20875         * scripts/list-fixed-bugs.py: Likewise.
20876         * scripts/merge-test-results.sh: Likewise.
20877         * scripts/mkinstalldirs: Likewise.
20878         * scripts/rellns-sh: Likewise.
20879         * scripts/test-installation.pl: Likewise.
20880         * scripts/update-copyrights: Likewise.
20881         * stdio-common/tst-printf.sh: Likewise.
20882         * stdio-common/tst-unbputc.sh: Likewise.
20883         * stdlib/tst-fmtmsg.sh: Likewise.
20884         * stdlib/tst-setcontext3.sh: Likewise.
20885         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20886         * sysdeps/unix/make-syscalls.sh: Likewise.
20888 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20890         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20891         asm stw with atomic_exchange_rel.  Add explanatory comment.
20892         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20893         Likewise.
20895 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20897         [BZ #19122]
20898         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20899         * sysdeps/generic/dl-unistd.h: New file.
20900         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20902 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20904          [BZ #19122]
20905          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20906          * sysdeps/generic/dl-mman.h: New file.
20907          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20909 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20911         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20912         trailing whitespace removed.
20913         * scripts/config.guess: Update to version 2016-01-01.
20914         * scripts/config.sub: Update to version 2016-01-01.
20915         * scripts/move-if-change: Update from gnulib.
20917 2016-01-04  Anton Blanchard  <anton@samba.org>
20919         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20920         for array indices.
20921         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20923 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20925         * NEWS: Update copyright dates.
20926         * catgets/gencat.c (print_version): Likewise.
20927         * csu/version.c (banner): Likewise.
20928         * debug/catchsegv.sh: Likewise.
20929         * debug/pcprofiledump.c (print_version): Likewise.
20930         * debug/xtrace.sh (do_version): Likewise.
20931         * elf/ldconfig.c (print_version): Likewise.
20932         * elf/ldd.bash.in: Likewise.
20933         * elf/pldd.c (print_version): Likewise.
20934         * elf/sotruss.sh: Likewise.
20935         * elf/sprof.c (print_version): Likewise.
20936         * iconv/iconv_prog.c (print_version): Likewise.
20937         * iconv/iconvconfig.c (print_version): Likewise.
20938         * locale/programs/locale.c (print_version): Likewise.
20939         * locale/programs/localedef.c (print_version): Likewise.
20940         * login/programs/pt_chown.c (print_version): Likewise.
20941         * malloc/memusage.sh (do_version): Likewise.
20942         * malloc/memusagestat.c (print_version): Likewise.
20943         * malloc/mtrace.pl: Likewise.
20944         * manual/libc.texinfo: Likewise.
20945         * nptl/version.c (banner): Likewise.
20946         * nscd/nscd.c (print_version): Likewise.
20947         * nss/getent.c (print_version): Likewise.
20948         * nss/makedb.c (print_version): Likewise.
20949         * posix/getconf.c (main): Likewise.
20950         * scripts/test-installation.pl: Likewise.
20951         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20953         * All files with FSF copyright notices: Update copyright dates
20954         using scripts/update-copyrights.
20955         * intl/plural.c: Regenerated.
20956         * locale/programs/charmap-kw.h: Likewise.
20957         * locale/programs/locfile-kw.h: Likewise.
20959 2016-01-02  Helge Deller  <deller@gmx.de>
20961         [BZ #19285]
20962         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20963         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20964         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20965         (MADV_xxK_PAGES): Remove.
20967 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20969         [BZ #15421]
20970         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20971         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20972         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20973         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20975 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20977         [BZ #19408]
20978         * sysdeps/unix/sysv/linux/personality.c: New file.
20979         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20980         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20981         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20982         (sysdep_routines): Add personality.
20983         (tests): Add tst-personality.
20984         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20986         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20987         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20988         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20989         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20990         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20991         Likewise.
20992         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20993         Likewise.
20994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20995         Likewise.
20996         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20997         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20998         Likewise.
21000 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21002         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21003         (PATH_ARM_SYSTYPE): Remove.
21004         (PATH_CPUINFO): Likewise.
21005         (IO_BASE_FOOTBRIDGE): Likewise.
21006         (IO_SHIFT_FOOTBRIDGE): Likewise.
21007         (struct platform): Likewise.
21008         (init_iosys): Remove compatibility code for 2.4 kernels.
21009         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21011 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21013         * malloc/tst-malloc-thread-fail.c: New file.
21014         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21015         (tst-malloc-thread-fail): Link against libpthread.
21017 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21019         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21020         (get_parser): New function.
21021         (main): New function.
21023 2015-12-29  Rob Wu  <rob@robwu.nl>
21025         [BZ #19369]
21026         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21028 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21030         [BZ #19270]
21031         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21033 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21035         [BZ #15421]
21036         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21038 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21040         [BZ #13690]
21041         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21042         after releasing it.
21043         (__lll_robust_unlock): Likewise.
21044         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21046         (lll_robust_unlock): Likewise.
21047         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21048         Prevent warnings in callers.
21050 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21052         * malloc/arena.c (list_lock): Update comment.
21054 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21056         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21057         __parse_hwcap_and_convert_at_platform to libc.a.
21059 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21061         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21062         platform and feature support for POWER9.
21063         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21064         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21065         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21066         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21067         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21068         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21069         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21070         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21072 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21074         Harmonize generic stdio-lock support with nptl
21076         This fixes build when _IO_funlockfile is a macro, fixes build where
21077         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21078         stack unwind.
21080         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21081         _IO_release_lock ): Use cleanup attribute on new
21082         _IO_acquire_lock_file variable instead of assuming that
21083         _IO_release_lock will be called.
21084         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21085         _IO_acquire_lock_needs_exceptions_enabled.
21086         (_IO_acquire_lock_clear_flags2): New macro.
21088 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21090         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21092 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21094         [BZ #19182]
21095         * malloc/arena.c (list_lock): Document lock ordering requirements.
21096         (free_list_lock): New lock.
21097         (ptmalloc_lock_all): Comment on free_list_lock.
21098         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21099         (detach_arena): Update comment.  free_list_lock is now needed.
21100         (_int_new_arena): Use free_list_lock around detach_arena call.
21101         Acquire arena lock after list_lock.  Add comment, including FIXME
21102         about incorrect synchronization.
21103         (get_free_list): Switch to free_list_lock.
21104         (reused_arena): Acquire free_list_lock around detach_arena call
21105         and attached threads counter update.  Add two FIXMEs about
21106         incorrect synchronization.
21107         (arena_thread_freeres): Switch to free_list_lock.
21108         * malloc/malloc.c (struct malloc_state): Update comments to
21109         mention free_list_lock.
21111 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21113         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21114         Remove functions.
21115         (sloww, sloww1): Accept argument to offset quadrant.
21116         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21117         quadrant.
21118         (__sin, __cos): Consolidate common code into new functions.
21119         (reduce_sincos_1, do_sincos_1): New functions.
21120         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21123         code to new functions.
21124         (reduce_sincos_2, do_sincos_2): New functions.
21125         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21128         common code for sincos.
21129         (__cos) [!IN_SINCOS]: Likewise.
21130         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21131         New function.
21132         (__sincos): Use it.
21134 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21136         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21137         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21138         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21140 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21142         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21145         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21146         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21147         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21148         index_Prefer_No_VZEROUPPER): New feature.
21149         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21150         Prefer_No_VZEROUPPER for Knights Landing.
21152 015-12-18  Torvald Riegel  <triegel@redhat.com>
21154         * math/atest-exp2.c (mp_exp_m1): Remove.
21156 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21158         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21159         syscalls.
21160         (__SYSCALL0): New macro.
21161         (__SYSCALL1): Likewise.
21162         (__SYSCALL2): Likewise.
21163         (__SYSCALL3): Likewise.
21164         (__SYSCALL4): Likewise.
21165         (__SYSCALL5): Likewise.
21166         (__SYSCALL6): Likewise.
21167         (__SYSCALL_CONCAT_X): Likewise.
21168         (__SYSCALL_CONCAT): Likewise.
21169         (__SYSCALL_DIST): Likewise.
21170         (__SYSCALL_CALL): Likewise.
21172 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21174         [BZ #19363]
21175         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21177 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21179         [BZ #19375]
21180         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21181         negative subnormals.
21183 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21186         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21187         (INTERNAL_SYSCALL_NCS): Use it.
21188         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21190 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21192         [BZ #19243]
21193         * malloc/arena.c (get_free_list): Remove assert and adjust
21194         reference count handling.  Add comment about reused_arena
21195         interaction.
21196         (reused_arena): Add comments abount get_free_list interaction.
21197         * malloc/tst-malloc-thread-exit.c: New file.
21198         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21199         (tst-malloc-thread-exit): Link against libpthread.
21201 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21203         [BZ #19367]
21204         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21205         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21206         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21207         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21208         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21210 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21212         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21213         Silvermont optimizations for Knights Landing.
21215 2015-12-15  Andreas Schwab  <schwab@suse.de>
21217         [BZ #17197]
21218         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21219         immediately after emitting SI.
21220         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21221         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21222         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21223         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21224         * iconvdata/bug-iconv10.c: New file.
21225         * iconvdata/Makefile (tests): Add bug-iconv10.
21226         ($(objpfx)bug-iconv10.out): New rule.
21228 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21230         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21231         aliasing violation.
21233 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21235         [BZ #18472]
21236         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21237         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21238         conditionals for them.
21239         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21240         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21242         sys/kdaemon.h.
21243         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21244         compat-only syscall, obsoleted in glibc 2.23.
21245         (create_module): Likewise.
21246         (get_kernel_syms): Likewise.
21247         (query_module): Likewise.
21248         (uselib): Likewise.
21249         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21251 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21253         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21254         <linux/version.h>.
21255         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21256         conditional code.
21257         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21258         and ioshift_name initialization.
21260 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21263         Fix indentation.
21265 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21267         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21269 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21271         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21273 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21274             Jakub Wilk  <jwilk@debian.org>
21276         [BZ #19347]
21277         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21278         to change the group of the device to the tty group.
21280 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21282         Split large string section; add truncation advice
21283         * manual/examples/strncat.c: Remove.
21284         This example was misleading, as the code would have undefined
21285         behavior if "hello" was longer than SIZE.  Anyway, the manual
21286         shouldn't encourage strncpy+strncat for this sort of thing.
21287         * manual/string.texi (Copying Strings and Arrays): Split into
21288         three sections Copying Strings and Arrays, Concatenating Strings,
21289         and Truncating Strings, as this section was way too long.  All
21290         cross-referenced changed.  Add advice about string-truncation
21291         functions.  Remove misleading strncat example.
21293 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21295         * manual/nss.texi (NSS Modules Interface): Document
21296         NSS_STATUS_NOTFOUND and SUCCESS.
21298 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21300         [BZ 18568]
21301         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21302         201505L, for Unicode 8.
21304 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21306         * locale/C-translit.h: Regenerate.
21308 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21310         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21311         and U+0153.
21313 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21315         [BZ #19351]
21316         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21317         expanding log(1+z), compare z rather than its square with epsilon
21318         to determine when to avoid evaluating the expansion.
21320         [BZ #19350]
21321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21322         Increase overflow threshold.
21324         [BZ #19349]
21325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21326         when small.
21328         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21330         New macro.
21331         [__LINUX_KERNEL_VERSION >= 0x040300]
21332         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21334         Likewise.
21335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21336         Likewise.
21337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21338         Likewise.
21339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21340         Likewise.
21341         [__LINUX_KERNEL_VERSION >= 0x040300]
21342         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21343         [__LINUX_KERNEL_VERSION >= 0x040300]
21344         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21345         [__LINUX_KERNEL_VERSION >= 0x040300]
21346         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21347         [__LINUX_KERNEL_VERSION >= 0x040300]
21348         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21349         [__LINUX_KERNEL_VERSION >= 0x040300]
21350         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21352         Likewise.
21353         [__LINUX_KERNEL_VERSION >= 0x040300]
21354         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21356         Likewise.
21357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21358         Likewise.
21359         [__LINUX_KERNEL_VERSION >= 0x040300]
21360         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21362         Likewise.
21363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21364         Likewise.
21365         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21367         Likewise.
21368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21369         Likewise.
21370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21371         Likewise.
21372         [__LINUX_KERNEL_VERSION >= 0x040300]
21373         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21375         Likewise.
21376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21377         Likewise.
21378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21379         Likewise.
21380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21381         Likewise.
21382         [__LINUX_KERNEL_VERSION >= 0x040300]
21383         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21384         [__LINUX_KERNEL_VERSION >= 0x040300]
21385         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21386         [__LINUX_KERNEL_VERSION >= 0x040300]
21387         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21388         [__LINUX_KERNEL_VERSION >= 0x040300]
21389         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21390         [__LINUX_KERNEL_VERSION >= 0x040300]
21391         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21393         Likewise.
21394         [__LINUX_KERNEL_VERSION >= 0x040300]
21395         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21397         Likewise.
21398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21399         Likewise.
21400         [__LINUX_KERNEL_VERSION >= 0x040300]
21401         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21403         Likewise.
21404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21405         Likewise.
21406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21407         (__ASSUME_SOCKET_SYSCALL): Likewise.
21408         (__ASSUME_BIND_SYSCALL): Likewise.
21409         (__ASSUME_CONNECT_SYSCALL): Likewise.
21410         (__ASSUME_LISTEN_SYSCALL): Likewise.
21411         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21412         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21413         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21414         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21415         (__ASSUME_SEND_SYSCALL): Likewise.
21416         (__ASSUME_SENDTO_SYSCALL): Likewise.
21417         (__ASSUME_RECV_SYSCALL): Likewise.
21418         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21419         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21420         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21421         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21422         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21423         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21424         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21426         Likewise.
21427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21428         Likewise.
21429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21430         Likewise.
21431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21432         Likewise.
21433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21434         Likewise.
21435         [__LINUX_KERNEL_VERSION >= 0x020625]
21436         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21437         [__LINUX_KERNEL_VERSION >= 0x020625]
21438         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21439         [__LINUX_KERNEL_VERSION >= 0x020625]
21440         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21442         Likewise.
21443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21444         Likewise.
21445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21446         Likewise.
21447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21448         Likewise.
21449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21450         Likewise.
21451         [__LINUX_KERNEL_VERSION >= 0x020625]
21452         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21453         [__LINUX_KERNEL_VERSION >= 0x020625]
21454         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21456         Likewise.
21457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21458         Likewise.
21460 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21462         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21463         record the current if the current ABI and CPU support the FP64
21464         extension.
21465         (has-modd-spreg): Define to record the current if the current ABI and
21466         CPU support 32-bit floating point values in odd FPU registers.
21467         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21468         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21469         $(has-modd-spreg) equals yes.
21470         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21471         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21472         $(has-modd-spreg) equal yes.
21474 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21476         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21477         basename.
21479 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
21481         * benchtests/Makefile (bench-math): Move ffs and ffsll...
21482         (bench-string): ... here.
21483         (bench): Add bench-string.
21484         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21485         to *-benchset to reflect what they are.
21486         (benchset): Adjust.
21488         * benchtests/sincos-inputs: Add inputs from sin-inputs and
21489         cos-inputs.
21491 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
21493         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21494         __attribute__ ((__simd__)) for vector math function declarations.
21496 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21498         Fix typo in strncat, wcsncat manual entries
21499         * manual/string.texi (Copying and Concatenation): Fix typos in
21500         sample implementations of strncat and wcsncat, by having them use
21501         the old value of the destination length, not the new one.
21503 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
21505         [BZ #16961]
21506         [BZ #16962]
21507         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21508         string on the stack for strtod.
21509         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21510         a string on the stack for strtof.
21511         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21512         constructing a string on the stack for strtold.
21513         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21514         __strtold_nan to GLIBC_PRIVATE.
21515         * math/test-nan-overflow.c: New file.
21516         * math/test-nan-payload.c: Likewise.
21517         * math/Makefile (tests): Add test-nan-overflow and
21518         test-nan-payload.
21520 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21522         Consistency about byte vs character in string.texi
21523         * manual/string.texi (String and Array Utilities):
21524         Distinguish more carefully among bytes, multibyte characters,
21525         and wide characters.  Use "byte" when talking about C 'char',
21526         to distinguish it more clearly from multibyte characters.
21527         Say "wide character" or "multibyte character" instead of
21528         "character", when a wide or multibyte character is intended.
21529         Similarly for "multibyte string" versus "string".
21530         Define these terms more carefully.
21532 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21534         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21535         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21536         Likewise.
21537         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21538         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21539         * sysdeps/sh/math_private.h: New file.
21540         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21541         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21542         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21543         long double function name.
21544         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21545         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21546         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21550         Remove __finitel, __isinfl, and __isnanl.
21551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21552         Likewise.
21553         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21555         Remove __finitel.
21556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21560 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21562         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21563         installed libmvec_nonshared.a.
21565 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21567         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21568         (sysdep_routines): Likewise.
21569         (sysdep-rtld-routines): Likewise.
21570         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21571         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21572         * sysdeps/powerpc/Versions: Added new
21573         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21574         * sysdeps/powerpc/hwcapinfo.c: New file.
21575         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21576         and parse hwcap, hwcap2 and platform number information.
21577         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21578         to store HWCAP+HWCAP2 and platform number.
21579         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21580         for HWCAP+HWCAP2 and platform number in the TCB.
21581         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21582         the HWCAP, HWCAP2 and platform number in the TCB.
21583         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21584         (TLS_INIT_TP): Included calls to add the hwcap and
21585         at_platform values in the TCB in TP initialization.
21586         (TLS_DEFINE_INIT_TP): Likewise.
21587         (THREAD_GET_HWCAP): New macro.
21588         (THREAD_SET_HWCAP): Likewise.
21589         (THREAD_GET_AT_PLATFORM): Likewise.
21590         (THREAD_SET_AT_PLATFORM): Likewise.
21591         * sysdeps/powerpc/powerpc32/dl-machine.h:
21592         (dl_platform_init): New function that calls
21593         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21594         powerpc32.
21595         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21596         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21597         this functionality, static linking case.
21598         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21599         linking case.
21600         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21601         __parse_hwcap_and_convert_at_platform for the static linking case.
21602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21603         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21604         ABI list for GLIBC 2.23.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21606         Likewise.
21607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21608         Likewise.
21610 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21612         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21613         * configure: Regenerate.
21614         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21615         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21617 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21619         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21620         * iconvdata/ibm933.c: Likewise.
21621         * iconvdata/ibm935.c: Likewise.
21622         * iconvdata/ibm937.c: Likewise.
21623         * iconvdata/ibm939.c: Likewise.
21625 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21627         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21628         pthread_join.
21629         * nptl/tst-cancel21.c (tf): Likewise.
21631 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21633         [BZ #19313]
21634         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21635         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21636         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21637         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21638         Likewise.
21639         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21640         Likewise.
21641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21642         Likewise.
21643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21644         Likewise.
21645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21646         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21647         unsigned long int with __CPU_MASK_TYPE.
21649 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21651         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21653 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21656         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21657         t512.x.
21658         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21660 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21662         [BZ #19214]
21663         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21664         argument to return extended model.  Update family and model
21665         with extended family and model when family == 0x0f.
21666         (init_cpu_features): Updated.
21668 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21670         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21671         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21673         * sysdeps/mach/hurd/mmap64.c: New file.
21675 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21677         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21678         rights for its main user thread in NEWTASK.
21680 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21682         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21683         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21685 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21687         [BZ #14259]
21688         * Makeconfig: Rename localedir to complocaledir.
21689         Rename inst_localedir to inst_complocaledir.
21690         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21691         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21692         * configure.ac: Use libc_cv_complocaledir.
21693         * configure: Regenerate.
21694         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21695         -DCOMPLOCALEDIR.
21696         * locale/findlocale.c: Use COMPLOCALEDIR.
21697         * locale/loadarchive.c: Likewise.
21698         * locale/programs/locale.c: Likewise.
21699         * locale/programs/localedef.c: Likewise.
21700         * locale/programs/locarchive.c: Likewise.
21701         * localedata/Makefile: Use inst_complocaledir.
21702         * sysdeps/gnu/configure: Regenerate.
21703         * sysdeps/hppa/configure: Regenerate.
21704         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21707         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21708         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21709         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21710         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21712 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21714         [BZ #19058]
21715         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21716         AS_NEEDED.
21717         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21718         workaround.
21719         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21720         libmvec-static-only-routines): Added new file.
21721         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21723 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21725         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21726         of interrupted RPC instead of restoring it.
21728         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21729         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21730         libc_hidden_def.
21731         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21732         into initialized data instead of common. Define rtld_hidden_data_def.
21733         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21734         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21735         libc_hidden_def.
21736         (if_freenameindex): Add libc_hidden_weak.
21737         (if_nameindex): Add libc_hidden_weak.
21738         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21739         __open64.
21740         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21741         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21742         * sysdeps/mach/nanosleep.c: Include <time.h>
21743         (__nanosleep): Rename to __libc_nanosleep.
21744         (__nanosleep): Add weak_alias.
21745         (nanosleep): Update alias.
21747 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21749         * stdlib/strtod_nan.c: New file.
21750         * stdlib/strtod_nan_double.h: Likewise.
21751         * stdlib/strtod_nan_float.h: Likewise.
21752         * stdlib/strtod_nan_main.c: Likewise.
21753         * stdlib/strtod_nan_narrow.h: Likewise.
21754         * stdlib/strtod_nan_wide.h: Likewise.
21755         * stdlib/strtof_nan.c: Likewise.
21756         * stdlib/strtold_nan.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21759         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21760         * wcsmbs/wcstod_nan.c: Likewise.
21761         * wcsmbs/wcstof_nan.c: Likewise.
21762         * wcsmbs/wcstold_nan.c: Likewise.
21763         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21764         strtold_nan.
21765         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21766         wcstof_nan.
21767         * include/stdlib.h (__strtof_nan): Declare and use
21768         libc_hidden_proto.
21769         (__strtod_nan): Likewise.
21770         (__strtold_nan): Likewise.
21771         (__wcstof_nan): Likewise.
21772         (__wcstod_nan): Likewise.
21773         (__wcstold_nan): Likewise.
21774         * include/wchar.h (____wcstoull_l_internal): Declare.
21775         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21776         (____strtoull_l_internal): Remove declaration.
21777         (STRTOF_NAN): Define macro.
21778         (SET_MANTISSA): Remove macro.
21779         (STRTOULL): Likewise.
21780         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21781         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21782         (STRTOF_NAN): Define macro.
21783         (SET_MANTISSA): Remove macro.
21784         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21785         (SET_MANTISSA): Remove macro.
21786         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21787         macro.
21788         (SET_MANTISSA): Remove macro.
21789         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21790         macro.
21791         (SET_MANTISSA): Remove macro.
21792         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21793         (SET_MANTISSA): Remove macro.
21794         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21795         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21796         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21798         [BZ #19266]
21799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21800         upper case and lower case letters inside NAN(), not using TOLOWER.
21801         * stdlib/tst-strtod-nan-locale-main.c: New file.
21802         * stdlib/tst-strtod-nan-locale.c: Likewise.
21803         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21804         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21805         Depend on $(gen-locales).
21806         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21807         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21808         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21809         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21810         Depend on $(gen-locales).
21811         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21813 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21815         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21817         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21819         __finitel, __isinfl, and __isnanl.
21820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21821         Likewise.
21822         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21824         __finitel.
21825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21826         Likewise.
21827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21829 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21831         * malloc/memusage.c (me): Remove redundant getenv call.
21833 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21835         [BZ #19143]
21836         [BZ #19164]
21837         * nptl/check-cpuset.h: Remove.
21838         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21839         Remove CPU set size check.
21840         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21841         Likewise.
21842         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21843         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21844         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21845         (__pthread_setaffinity_new): Remove CPU set size check.
21846         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21847         (__kernel_cpumask_size): Remove.
21848         (__sched_setaffinity_new): Remove CPU set size check.
21849         * manual/threads.texi (Default Thread Attributes): Remove stale
21850         reference to check_cpuset_attr, determine_cpumask_size in comment.
21851         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21852         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21853         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21854         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21855         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21856         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21857         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21858         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21859         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21860         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21861         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21862         skeleton test file.
21863         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21864         tst-affinity-pid.
21866 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21868         * scripts/update-abilist.sh: New file.
21869         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21870         * Makerules (update-all-abi-%, update-all-abi)
21871         (subdir_update-all-abi): New targets.
21872         * elf/Makefile (update-all-abi): New target.
21874 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21876         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21877         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21878         (__libc_lock_define_initialized): Use it.
21879         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21880         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21881         * malloc/malloc.c (main_arena): Likewise.
21882         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21883         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21885 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21887         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21888         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21889         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21890         (PTRACE_O_MASK): Update value.
21891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21892         New value in enum __ptrace_setoptions.
21893         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21894         (PTRACE_O_MASK): Update value.
21895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21896         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21897         (PTRACE_O_MASK): Update value.
21898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21899         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21900         (PTRACE_O_MASK): Update value.
21901         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21902         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21903         (PTRACE_O_MASK): Update value.
21904         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21905         New value in enum __ptrace_setoptions.
21906         (PTRACE_O_MASK): Update value.
21907         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21908         New value in enum __ptrace_setoptions.
21909         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21910         (PTRACE_O_MASK): Update value.
21912         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21913         New macro.
21914         (PACKET_AUXDATA): Likewise.
21915         (PACKET_ORIGDEV): Likewise.
21916         (PACKET_VERSION): Likewise.
21917         (PACKET_HDRLEN): Likewise.
21918         (PACKET_RESERVE): Likewise.
21919         (PACKET_TX_RING): Likewise.
21920         (PACKET_LOSS): Likewise.
21921         (PACKET_VNET_HDR): Likewise.
21922         (PACKET_TX_TIMESTAMP): Likewise.
21923         (PACKET_TIMESTAMP): Likewise.
21924         (PACKET_FANOUT): Likewise.
21925         (PACKET_TX_HAS_OFF): Likewise.
21926         (PACKET_QDISC_BYPASS): Likewise.
21927         (PACKET_ROLLOVER_STATS): Likewise.
21928         (PACKET_FANOUT_DATA): Likewise.
21929         (PACKET_MR_UNICAST): Likewise.
21931         [BZ #19242]
21932         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21933         (TOUPPER): Likewise.
21934         * stdlib/tst-strtol-locale-main.c: New file.
21935         * stdlib/tst-strtol-locale.c: Likewise.
21936         * stdlib/Makefile (tests): Add tst-strtol-locale.
21937         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21938         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21939         Depend on $(gen-locales).
21940         * wcsmbs/tst-wcstol-locale.c: New file.
21941         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21942         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21943         tr_TR.ISO-8859-9.
21944         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21945         Depend on $(gen-locales).
21947 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21949         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21950         __glibc_likely instead of __builtin_expect.  After falling back to
21951         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21952         system interface to register the code pages as occupied.
21954 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21956         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21957         [!ARM_MATH_PRIVATE_H].
21958         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21959         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21960         [!HPPA_MATH_PRIVATE_H].
21961         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21962         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21963         to [!I386_MATH_PRIVATE_H].
21964         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21965         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21966         Change guard to [!M68K_MATH_PRIVATE_H].
21967         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21968         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21969         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21970         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21971         macro.
21972         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21973         [!MIPS_MATH_PRIVATE_H].
21974         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21975         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21976         [!NIO2_MATH_PRIVATE_H].
21977         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21978         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21979         [!TILE_MATH_PRIVATE_H].
21980         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21982         [BZ #15421]
21983         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21984         initialize with 0 and define as weak alias of __signgam.
21985         * include/math.h [!_ISOMAC] (__signgam): Declare.
21986         * math/Makefile (libm-calls): Add w_lgamma_compat.
21987         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21988         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21989         test-signgam-ullong-init.
21990         (tests-static): Add test-signgam-uchar-static,
21991         test-signgam-uchar-init-static, test-signgam-uint-static,
21992         test-signgam-uint-init-static, test-signgam-ullong-static and
21993         test-signgam-ullong-init-static.
21994         (CFLAGS-test-signgam-uchar.c): New variable.
21995         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21996         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21997         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21998         (CFLAGS-test-signgam-uint.c): Likewise.
21999         (CFLAGS-test-signgam-uint-init.c): Likewise.
22000         (CFLAGS-test-signgam-uint-static.c): Likewise.
22001         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22002         (CFLAGS-test-signgam-ullong.c): Likewise.
22003         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22004         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22005         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22006         * math/Versions (libm): Add GLIBC_2.23.
22007         * math/lgamma-compat.h: New file.
22008         * math/test-signgam-main.c: Likewise.
22009         * math/test-signgam-uchar-init-static.c: Likewise.
22010         * math/test-signgam-uchar-init.c: Likewise.
22011         * math/test-signgam-uchar-static.c: Likewise.
22012         * math/test-signgam-uchar.c: Likewise.
22013         * math/test-signgam-uint-init-static.c: Likewise.
22014         * math/test-signgam-uint-init.c: Likewise.
22015         * math/test-signgam-uint-static.c: Likewise.
22016         * math/test-signgam-uint.c: Likewise.
22017         * math/test-signgam-ullong-init-static.c: Likewise.
22018         * math/test-signgam-ullong-init.c: Likewise.
22019         * math/test-signgam-ullong-static.c: Likewise.
22020         * math/test-signgam-ullong.c: Likewise.
22021         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22022         wrapper of w_lgamma_main.c.
22023         * math/w_lgamma_compat.c: New file.
22024         * math/w_lgamma_compatf.c: Likewise.
22025         * math/w_lgamma_compatl.c: Likewise.
22026         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22027         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22028         defining compatibility symbols.
22029         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22030         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22031         wrapper of w_lgammaf_main.c.
22032         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22033         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22034         defining compatibility symbols.
22035         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22036         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22037         wrapper of w_lgammal_main.c.
22038         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22039         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22040         defining compatibility symbols.
22041         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22042         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22043         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22044         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22045         <lgamma-compat.h>.
22046         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22047         (__ieee754_gamma): Define as alias.
22048         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22049         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22050         <lgamma-compat.h>.
22051         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22052         (__ieee754_gammaf): Define as alias.
22053         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22054         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22055         <lgamma-compat.h>.
22056         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22057         (__ieee754_gammal): Define as alias.
22058         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22059         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22060         <math/w_lgamma_compat.c>.
22061         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22062         Define as alias of __lgamma_compat and use in defining lgammal.
22063         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22064         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22065         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22066         (USE_AS_COMPAT): New macro.
22067         (LGAMMA_OLD_VER): Undefine and redefine.
22068         (lgammal): Do not define here.
22069         (gammal): Only define here if [GAMMA_ALIAS].
22070         * conform/linknamespace.pl (@whitelist): Remove signgam.
22071         * sysdeps/nacl/libm.abilist: Update.
22072         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22073         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22074         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22075         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22076         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22077         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22078         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22079         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22080         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22081         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22082         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22083         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22085         Likewise.
22086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22087         Likewise.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22089         Likewise.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22091         Likewise.
22092         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22093         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22094         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22095         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22096         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22098         Likewise.
22099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22100         Likewise.
22101         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22102         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22103         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22105 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22107         [BZ #16364]
22108         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22109         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22111 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22113         * sysdeps/s390/fpu/bits/mathinline.h:
22114         Use __asm__ [__volatile__] instead of asm [volatile].
22115         * sysdeps/s390/abort-instr.h: Likewise.
22116         * sysdeps/s390/atomic-machine.h: Likewise.
22117         * sysdeps/s390/bits/string.h: Likewise.
22118         * sysdeps/s390/dl-tls.h: Likewise.
22119         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22120         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22121         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22122         * sysdeps/s390/fpu/fesetround.c: Likewise.
22123         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22124         * sysdeps/s390/fpu/s_fma.c: Likewise.
22125         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22126         * sysdeps/s390/memusage.h: Likewise.
22127         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22128         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22129         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22130         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22131         * sysdeps/s390/nptl/tls.h: Likewise.
22132         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22133         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22134         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22135         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22136         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22137         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22138         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22139         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22141         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22142         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22143         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22144         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22145         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22146         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22147         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22148         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22149         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22150         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22152         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22154         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22156 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22157             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22159         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22160         Add lwarx hint, and use macro for acquire instruction.
22161         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22162         Likewise.
22163         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22164         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22165         update to use new atomic macros.
22167 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22169         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22170         (__lll_trylock_elision): Fix setting of adapt_count.
22171         * sysdeps/unix/sysv/linux/powerpc/htm.h
22172         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22173         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22174         (_ABORT_SYSCALL): Renumber, and clarify definition.
22175         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22177 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22179         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22180         after system headers to prevent MIN/MAX redefinition.  Define
22181         HAVE_ALLOCA to preserve builtin alloca usage.
22183 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22186         static and don't set or restore rounding.
22187         (__cos)[IN_SINCOS]: Likewise.
22188         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22189         (__sincos): Set and restore rounding mode.  Remove check for infinite
22190         or NaN input.
22192         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22194         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22195         as used.
22197 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22199         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22201 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22203         * config.make.in (have-glob-dat-reloc): New.
22204         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22205         target supports GLOB_DAT relocaton. AC_SUBST.
22206         * configure: Regenerated.
22207         * elf/Makefile (tests): Add tst-prelink.
22208         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22209         (tst-prelink-ENV): New.
22210         ($(objpfx)tst-prelink-conflict.out): Likewise.
22211         ($(objpfx)tst-prelink-cmp.out): Likewise.
22212         * sysdeps/x86/tst-prelink.c: Moved to ...
22213         * elf/tst-prelink.c: Here.
22214         * sysdeps/x86/tst-prelink.exp: Moved to ...
22215         * elf/tst-prelink.exp: Here.
22216         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22217         (tst-prelink-ENV): Removed.
22218         ($(objpfx)tst-prelink-conflict.out): Likewise.
22219         ($(objpfx)tst-prelink-cmp.out): Likewise.
22220         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22222 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22224         [BZ #14551]
22225         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22226         (__mpn_construct_long_double): If high part overflows to infinity,
22227         set errno and recompute overflowed result of the correct sign.
22228         * sysdeps/ieee754/ldbl-128ibm/Makefile
22229         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22230         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22231         $(libm).
22232         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22234 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22236         [BZ #15479]
22237         [BZ #19238]
22238         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22239         floating-point state after first operation on input.  Restore full
22240         state rather than just rounding mode.
22241         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22242         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22243         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22245         [BZ #19235]
22246         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22247         add 0.5 to integer arguments.
22248         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22249         Likewise.
22250         (.LC2): New object.
22252 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22254         * scripts/pylintrc (reports): Set to no.
22256 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22258         * elf/dl-load.c (open_verify): Take new argument FD.
22259         Skip __open call if passed FD is not -1.
22260         (_dl_map_object, open_path): Update callers.
22261         * elf/dl-sysdep-open.h: New file.
22262         * elf/dl-load.c: Include it.
22263         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22264         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22265         * sysdeps/nacl/dl-sysdep-open.h: New file.
22266         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22267         from libc to rtld.
22269 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22271         [BZ #19228]
22272         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22273         and restore full floating-point state.
22274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22275         Likewise.
22276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22277         Likewise.
22278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22279         Likewise.
22280         * math/test-nearbyint-except-2.c: New file.
22281         * math/Makefile (tests): Add test-nearbyint-except-2.
22283 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22285         [BZ #19178]
22286         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22287         (tst-prelink-ENV): New.
22288         ($(objpfx)tst-prelink-conflict.out): Likewise.
22289         ($(objpfx)tst-prelink-cmp.out): Likewise.
22290         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22291         * sysdeps/x86/tst-prelink.c: New file.
22292         * sysdeps/x86/tst-prelink.exp: Likewise.
22294 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22296         * math/auto-libm-test-in: Add another test of pow.
22297         * math/auto-libm-test-out: Regenerated.
22298         * math/libm-test.inc (pow_test_data): Add another test.
22300 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22302         [BZ #19219]
22303         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22304         weak_alias to nearbyintl.
22306 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22308         * sysdeps/aarch64/bits/string.h: New file.
22309         (_STRING_ARCH_unaligned): Define.
22311 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22313         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22314         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22315         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22316         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22319 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22321         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22322         for original name of the DSO.  Add it to the name list of the DSO
22323         if it is actually given.
22324         (_dl_map_object): Keep track of whether an audit module rewrote
22325         the file name.  If yes, pass the original name to
22326         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22327         debugging is enabled, log the change of the file name.
22328         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22329         _dl_map_object_from_fd.
22330         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22331         * elf/tst-audit11.c: New file
22332         * elf/tst-auditmod11.c: New file.
22333         * elf/tst-audit11mod1.c: New file.
22334         * elf/tst-audit11mod2.c: New file.
22335         * elf/tst-audit11mod2.map: New file.
22336         * elf/tst-audit12.c: New file
22337         * elf/tst-auditmod12.c: New file.
22338         * elf/tst-audit12mod1.c: New file.
22339         * elf/tst-audit12mod2.c: New file.
22340         * elf/tst-audit12mod2.map: New file.
22341         * elf/tst-audit12mod3.c: New file.
22343 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22345         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22346         Don't create weak aliases,
22347         because versioned symbols are created later.
22348         * sysdeps/s390/s390-32/setjmp.S
22349         (setjmp, _setjmp): Remove weak and rename to an unique name
22350         in SHARED case due to existing versioned symbols.
22351         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22353         (getcontext): Create weak alias only in non SHARED case.
22354         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22356 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22358         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22359         (__ASSUME_*_SYSCALL) Define new macros.
22360         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22361         Remove socketcall syscalls.
22362         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22363         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22364         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22365         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22366         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22367         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22369 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22371         [BZ #12926]
22372         Terminate process on invalid netlink response.
22373         * sysdeps/unix/sysv/linux/netlinkaccess.h
22374         (__netlink_assert_response): Declare.
22375         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22376         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22377         (sysdep_routines): Add netlink_assert_response.
22378         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22379         __netlink_assert_response.
22380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22381         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22382         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22383         __netlink_assert_response.
22385 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22387         [BZ #19178]
22388         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22389         (RTYPE_CLASS_PLT): Likewise.
22390         (RTYPE_CLASS_COPY): Likewise.
22391         (RTYPE_CLASS_TLS): Likewise.
22392         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22393         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22394         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22395         DL_DEBUG_PRELINK.
22397 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22399         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22400         calls with argument -0.5.
22401         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22403         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22404         (libc_cv_z_nodlopen): Likewise.
22405         (libc_cv_z_initfirst): Likewise.
22406         * configure: Regenerated.
22408 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22410         Simplify abilist format to be line-based.
22411         * scripts/abilist.awk: Collect descriptors in the descs variable.
22412         (emit): Write descs variable and sort it
22413         externally, with sort.
22414         * sysdeps/**/*.abilist: Convert to new format.
22416 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22418         [BZ #11460]
22419         * io/Makefile (routines): Add fts64.
22420         (tests): Add tst-fts and tst-fts-lfs.
22421         (CFLAGS-fts64.c): New.
22422         * io/Versions (GLIBC_2.23): New.
22423         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22424         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22425         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22426         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22427         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22428         (FTSENT64): Likewise.
22429         (fts64_children): Likewise.
22430         (fts64_close): Likewise.
22431         (fts64_open): Likewise.
22432         (fts64_read): Likewise.
22433         (fts64_set): Likewise.
22434         * io/fts64.c: New file.
22435         * io/tst-fts.c: New test.
22436         * io/tst-fts-lfs.c: Likewise.
22437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22438         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22439         fts64_set.
22440         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22441         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22442         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22443         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22444         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22445         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22446         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22447         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22449         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22450         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22452         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22454         Likewise.
22455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22456         Likewise.
22457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22459         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22460         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22461         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22462         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22463         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22466         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22467         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22468         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22469         * sysdeps/wordsize-64/fts.c: New file.
22470         * sysdeps/wordsize-64/fts64.c: Likewise.
22471         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22472         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22473         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22474         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22476 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22478         * math/libm-test.inc (NON_FINITE): New macro.
22479         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22480         * math/gen-libm-test.pl (show_exceptions): Add argument
22481         $non_finite.
22482         (parse_args): Update call to show_exceptions.
22483         * math/test-math-finite.h: New file.
22484         * math/test-math-no-finite.h: Likewise.
22485         * math/test-double-finite.c: Likewise.
22486         * math/test-float-finite.c: Likewise.
22487         * math/test-ldouble-finite.c: Likewise.
22488         * math/test-double.c: Include "test-math-no-finite.h".
22489         * math/test-float.c: Include "test-math-no-finite.h".
22490         * math/test-ldouble.c: Include "test-math-no-finite.h".
22491         * math/test-math-inline.h (TEST_FINITE): New macro.
22492         * math/test-math-vector.h (TEST_FINITE): Likewise.
22493         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22494         (libm-tests): Add test-float-finite and test-double-finite.
22495         ($(objpfx)test-float-finite.o): New dependency on
22496         $(objpfx)libm-test.stmp.
22497         ($(objpfx)test-double-finite.o): Likewise.
22498         ($(objpfx)test-ldouble-finite.o): Likewise.
22499         (libm-test-no-inline-cflags): New variable.
22500         (libm-test-finite-cflags): Likewise.
22501         (CFLAGS-test-float-finite.c): Likewise.
22502         (CFLAGS-test-double-finite.c): Likewise.
22503         (CFLAGS-test-ldouble-finite.c): Likewise.
22504         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22505         (CFLAGS-test-double.c): Likewise.
22506         (CFLAGS-test-ldouble.c): Likewise.
22508 2015-11-05  Roland McGrath  <roland@hack.frob.com>
22510         * io/fcntl.c (__fcntl): Add ... to prototype.
22511         * misc/ioctl.c (__ioctl): Likewise.
22512         * misc/syscall.c (syscall): Likewise.
22514 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22516         * scripts/list-fixed-bugs.py: New file.
22518         [BZ #19213]
22519         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22520         returned for argument 1.
22521         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22522         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22523         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22524         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22525         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22526         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22528         [BZ #19211]
22529         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22530         __USE_XOPEN], not if [!__USE_ISOC99].
22531         (lgammaf): Likewise.
22532         (lgammal): Likewise.
22533         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22534         (gammaf): Likewise.
22535         (gammal): Likewise.
22536         * math/test-signgam-finite-c11.c: New file.
22537         * math/test-signgam-finite-c99.c: Likewise.
22538         * math/test-signgam-finite.c: Likewise.
22539         * math/Makefile (tests): Add test-signgam-finite,
22540         test-signgam-finite-c99 and test-signgam-finite-c11.
22541         (CFLAGS-test-signgam-finite.c): New variable.
22542         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22543         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22545         [BZ #19212]
22546         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22547         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22548         500].
22549         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22550         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22551         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22552         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22553         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22554         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22555         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22556         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22557         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22558         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22560         [BZ #19209]
22561         * math/bits/math-finite.h (ldexp): Remove declaration.
22562         (ldexpf): Likewise.
22563         (ldexpl): Likewise.
22565         [BZ #19205]
22566         * math/bits/math-finite.h (acosf): Condition declaration on
22567         [__USE_ISOC99].
22568         (acosl): Likewise.
22569         (acoshf): Likewise.
22570         (acoshl): Likewise.
22571         (asinf): Likewise.
22572         (asinl): Likewise.
22573         (atan2f): Likewise.
22574         (atan2l): Likewise.
22575         (atanhf): Likewise.
22576         (atanhl): Likewise.
22577         (coshf): Likewise.
22578         (coshl): Likewise.
22579         (expf): Likewise.
22580         (expl): Likewise.
22581         (fmodf): Likewise.
22582         (fmodl): Likewise.
22583         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22584         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22585         (j0l): Likewise.
22586         (y0f): Likewise.
22587         (y0l): Likewise.
22588         (j1f): Likewise.
22589         (j1l): Likewise.
22590         (y1f): Likewise.
22591         (y1l): Likewise.
22592         (jnf): Likewise.
22593         (jnl): Likewise.
22594         (ynf): Likewise.
22595         (ynl): Likewise.
22596         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22597         (lgammal_r): Likewise.
22598         (__lgamma_r_finite): New declaration.
22599         (__lgammaf_r_finite): Likewise.
22600         (__lgammal_r_finite): Likewise.
22601         (lgamma): Use __lgamma_r_finite.
22602         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22603         __lgammaf_r_finite.
22604         (lgammal): Condition definition on [__USE_ISOC99].  Use
22605         __lgammal_r_finite.
22606         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22607         __lgamma_r_finite.
22608         (gammaf): Condition definition on [__USE_ISOC99].  Use
22609         __lgammaf_r_finite.
22610         (gammal): Condition definition on [__USE_ISOC99].  Use
22611         __lgammal_r_finite.
22612         (logf): Condition declaration on [__USE_ISOC99].
22613         (logl): Likewise.
22614         (log10f): Likewise.
22615         (log10l): Likewise.
22616         (ldexpf): Likewise.
22617         (ldexpl): Likewise.
22618         (powf): Likewise.
22619         (powl): Likewise.
22620         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22621         __USE_ISOC99].
22622         (remainderf): Condition declaration on [__USE_ISOC99].
22623         (remainderl): Likewise.
22624         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22625         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22626         (scalbl): Likewise.
22627         (sinhf): Condition declaration on [__USE_ISOC99].
22628         (sinhl): Likewise.
22629         (sqrtf): Likewise.
22630         (sqrtl): Likewise.
22632 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22634         * sysdeps/arm/atomic-machine.h
22635         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22636         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22637         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22638         Remove conditional code.
22639         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22640         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22641         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22642         Change conditional to [__ASSEMBLER__].
22643         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22644         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22645         [!__ASSEMBLER__].
22646         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22647         code.
22648         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22649         conditional macro definitions.
22650         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22651         (__arch_compare_and_exchange_val_16_acq): Likewise.
22652         (__arch_compare_and_exchange_val_32_acq): Likewise.
22653         (atomic_exchange_and_add): Likewise.
22654         (atomic_add): Likewise.
22655         (atomic_add_negative): Likewise.
22656         (atomic_add_zero): Likewise.
22657         (atomic_bit_set): Likewise.
22658         (atomic_bit_test_set): Likewise.
22659         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22660         code unconditional.
22661         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22663         * math/test-math-errno.h: New file.
22664         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22665         empty.
22666         (TEST_ERRNO): New macro.
22667         (TEST_EXCEPTIONS): Likewise.
22668         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22669         (TEST_EXCEPTIONS): Likewise.
22670         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22671         * math/test-double.c: Include "test-math-errno.h".
22672         * math/test-float.c: Likewise.
22673         * math/test-ldouble.c: Likewise.
22674         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22675         code unconditional.
22676         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22677         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22678         unconditional.
22679         (test_errno): Only run code if TEST_ERRNO.
22680         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22682 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22684         * nptl/tst-once5.cc: Remove attribution.
22686 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22688         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22689         sqrt, tan, tanh, y0, y1 and yn.
22690         * math/auto-libm-test-out: Regenerated.
22691         * math/libm-test.inc (scalb_test_data): Add more tests.
22692         (scalbn_test_data): Likewise.
22693         (scalbln_test_data): Likewise.
22694         (signbit_test_data): Likewise.
22695         (sin_test_data): Likewise.
22696         (sincos_test_data): Likewise.
22697         (sinh_test_data): Likewise.
22698         (sqrt_test_data): Likewise.
22699         (tan_test_data): Likewise.
22700         (tanh_test_data): Likewise.
22701         (tgamma_test_data): Likewise.
22702         (y0_test_data): Likewise.
22703         (y1_test_data): Likewise.
22704         (yn_test_data): Likewise.
22705         (significand_test_data): Likewise.
22706         * sysdeps/i386/fpu/libm-test-ulps: Update.
22708 2015-11-03  David Kastrup  <dak@gnu.org>
22710         [BZ #18604]
22711         * assert/assert.h (assert): Don't macro-expand failed assertion
22712         expression in error message.
22713         * malloc/malloc.c (assert): Likewise.
22715 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22717         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22718         test.
22719         * configure: Regenerated.
22721 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22723         * math/libm-test.inc (modf_test_data): Add more tests.
22724         (nearbyint_test_data): Likewise.
22725         (nextafter_test_data): Likewise.
22726         (nexttoward_test_data): Likewise.
22727         (pow_test_data): Likewise.
22728         (remainder_test_data): Likewise.
22729         (remquo_test_data): Likewise.
22730         (rint_test_data): Likewise.
22732         [BZ #19201]
22733         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22734         Check for zero remainder in case of large exponents and ensure
22735         correct sign of result in that case.
22736         * math/libm-test.inc (remainder_test_data): Add more tests.
22738         [BZ #6799]
22739         * math/s_nextafter.c: Include <errno.h>.
22740         (__nextafter): Set errno on overflow and underflow.
22741         * math/s_nexttowardf.c: Include <errno.h>.
22742         (__nexttowardf): Set errno on overflow and underflow.
22743         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22744         (__nextafterl): Set errno on overflow and underflow.
22745         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22746         (__nexttoward): Set errno on overflow and underflow.
22747         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22748         (__nexttowardf): Set errno on overflow and underflow.
22749         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22750         (__nextafterf): Set errno on overflow and underflow.
22751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22752         (__nextafterl): Set errno on overflow and underflow.
22753         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22754         (__nexttoward): Set errno on overflow and underflow.
22755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22756         (__nexttowardf): Set errno on overflow and underflow.
22757         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22758         (__nextafterl): Set errno on overflow and underflow.
22759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22760         (__nexttoward): Set errno on overflow and underflow.
22761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22762         (__nexttowardf): Set errno on overflow and underflow.
22763         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22764         (__nexttoward): Set errno on overflow and underflow.
22765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22766         (__nexttowardf): Set errno on overflow and underflow.
22767         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22768         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22769         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22770         (__nextafterl): Set errno on overflow and underflow.
22771         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22772         setting to be missing on overflow.  Add more tests.
22773         (nexttoward_test_data): Likewise.
22775         * configure.ac (libc_cv_initfini_array): Remove configure test.
22776         * configure: Regenerated.
22778 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22780         [BZ #19189]
22781         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22782         non-finite argument handle arguments with negative sign.
22784         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22785         result from infinite argument.
22786         (j1_test_data): Likewise.
22787         (jn_test_data): Likewise.
22788         (y0_test_data): Likewise.
22789         (y1_test_data): Likewise.
22790         (yn_test_data): Likewise.
22792         [BZ #16171]
22793         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22794         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22795         * math/w_remainderf.c (dremf): Define as weak alias of
22796         __remainderf.
22797         * math/w_remainderl.c (dreml): Define as weak alias of
22798         __remainderl.
22799         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22800         __remainder.
22801         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22802         __remainderf.
22803         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22804         __remainderl.
22805         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22806         weak alias of remainderl.
22807         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22808         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22809         alias of __remainder.
22810         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22811         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22812         strong alias of __remainderl.
22813         (dreml): Use long_double_symbol.
22814         * math/Makefile (libm-calls): Remove w_drem.
22815         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22816         (CFLAGS-nldbl-drem.c): Remove variable.
22817         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22818         * math/w_drem.c: Remove file.
22819         * math/w_dremf.c: Likewise.
22820         * math/w_dreml.c: Likewise.
22821         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22822         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22823         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22825         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22826         * sysdeps/i386/configure: Regenerated.
22827         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22828         * sysdeps/x86_64/configure: Regenerated.
22830         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22831         test.
22832         (libc_cv_visibility_attribute): Likewise.
22833         (libc_cv_protected_data): Test unconditionally.
22834         (libc_cv_broken_visibility_attribute): Remove configure test.
22835         (libc_cv_have_sdata_section): Test unconditionally.
22836         * configure: Regenerated.
22838         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22839         * include/scratch_buffer.h: Include <stddef.h> instead of
22840         <libc-internal.h>.
22841         (struct scratch_buffer): Use max_align_t instead of
22842         libc_max_align_t.
22844 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22846         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22847         instead of extend_alloca.  Change control flow to avoid a goto.
22848         Remove assert which is trivially always true.
22850 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22852         [BZ #16068]
22853         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22854         (FE_ALL_EXCEPT_X86): New macro.
22855         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22856         FE_ALL_EXCEPT.  Ensure precision control is included in
22857         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22858         handle "denormal operand exception" and clear FZ and DAZ bits.
22859         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22860         (FE_ALL_EXCEPT_X86): New macro.
22861         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22862         FE_ALL_EXCEPT.  Ensure precision control is included in
22863         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22864         handle "denormal operand exception" and clear FZ and DAZ bits.
22865         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22866         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22867         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22868         test-fenv-x87 and test-fenv-sse-2.
22869         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22871         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22872         * math/test-double.h (BUILD_COMPLEX): New macro.
22873         * math/test-float.h (BUILD_COMPLEX): Likewise.
22874         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22876         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22877         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22878         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22880         instead of DBL_DENORM_MIN in comment.
22881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22882         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22883         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22884         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22886         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22888 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22890         [BZ #19048]
22891         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22892         attached_threads member.
22893         (main_arena): Initialize attached_threads.
22894         * malloc/arena.c (list_lock): Update comment.
22895         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22896         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22897         (deattach_arena): New function.
22898         (_int_new_arena): Initialize arena reference count and deattach
22899         replaced arena.
22900         (get_free_list, reused_arena): Update reference count and deattach
22901         replaced arena.
22902         (arena_thread_freeres): Update arena reference count and only put
22903         unreferenced arenas on the free list.
22905 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22907         [BZ #19181]
22908         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22909         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22910         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22911         * math/test-fenv-clear-main.c: New file.
22912         * math/test-fenv-clear.c: Likewise.
22913         * math/Makefile (tests): Add test-fenv-clear.
22914         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22915         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22916         test-fenv-clear-sse.
22917         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22919         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22920         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22921         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22923 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22925         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22926         static libc.
22928 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22930         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22931         test.
22932         * sysdeps/i386/configure: Regenerated.
22933         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22934         test.
22935         * sysdeps/x86_64/configure: Regenerated.
22936         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22938         memset-avx2 unconditionally instead of conditionally on
22939         [$(config-cflags-avx2) = yes].
22940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22941         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22942         unconditional.
22943         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22944         * sysdeps/x86_64/multiarch/memset_chk.S
22945         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22946         to [IS_IN (libc) && SHARED].
22948 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22950         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22951         configure test.
22952         * sysdeps/arm/configure: Regenerated.
22953         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22954         Define variable if not already defined.
22956         [BZ #17404]
22957         * sysdeps/mips/atomic-machine.h
22958         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22959         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22960         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22962         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22963         unconditional.
22964         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22965         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22966         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22967         unconditional.
22968         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22969         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22970         unconditional.
22971         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22972         * stdlib/setenv.c
22973         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22974         code unconditional.
22975         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22976         Remove conditional code.
22977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22978         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22979         unconditional.
22980         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22981         code.
22982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22983         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22984         unconditional.
22985         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22986         code.
22987         * sysdeps/ieee754/ldbl-128/k_tanl.c
22988         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22989         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22990         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22991         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22992         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22993         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22994         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22995         unconditional.
22996         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22997         code.
22998         * sysdeps/ieee754/ldbl-96/k_tanl.c
22999         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23000         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23002         * nptl/tst-initializers1-c11.c: New file.
23003         * nptl/tst-initializers1-gnu11.c: Likewise.
23004         * nptl/Makefile (tests): Add these new tests.
23005         (CFLAGS-tst-initializers1-c11.c): New variable.
23006         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23008         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23009         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23010         instead of -std=gnu99.
23011         * configure.ac (systemtap): Test with -std=gnu11 instead of
23012         -std=gnu99.
23013         * configure: Regenerated.
23014         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23015         in compilation command in comment.
23017         * sysdeps/nptl/configure.ac: Remove file.
23018         * sysdeps/nptl/configure: Remove generated file.
23019         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23020         * configure: Regenerated.
23021         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23022         * config.make.in (have-forced-unwind): Remove variable.
23023         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23024         unconditional.
23025         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23026         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23027         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23028         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23029         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23030         unconditional.
23032 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23034         [BZ #19174]
23035         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23036         .skip_lock_out_of_tbegin_retries.
23037         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23038         (__lll_lock_elision): Likewise, and respect a value of
23039         try_tbegin <= 0.
23041 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23043         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23044         statement.
23046 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23048         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23049         variable.
23050         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23051         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23053         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23054         of -std=c1x -D_ISOC11_SOURCE.
23056         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23057         * configure: Regenerated.
23058         * manual/install.texi (Tools for Compilation): Document
23059         requirement for GCC 4.7 or later.
23060         * INSTALL: Regenerated.
23062 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23064         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23065         on CNT to a conditional jump to 'puntdata'.
23067 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23069         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23070         (libc_cv_gcc_tls_model_attr): Likewise.
23071         * configure: Regenerated.
23073         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23074         * configure: Regenerated.
23075         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23077 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23079         * configure.ac (old_glibc_headers): Remove configure test.
23080         * configure: Regenerated.
23081         * config.make.in (old-glibc-headers): Remove variable.
23082         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23083         (install): Remove dependency on remove-old-headers.
23084         (headers2_0): Remove variable.
23085         (remove-old-headers): Remove rule.
23087         * configure.ac (libc_cv_dot_text): Remove configure test.
23088         (libc_cv_asm_set_directive): Use .text instead of
23089         ${libc_cv_dot_text} in configure test.
23090         * configure: Regenerated.
23092 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23094         [BZ #19168]
23095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23097 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23099         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23100         not support static linking.
23101         * configure: Regenerate.
23103 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23105         * math/libm-test.inc (check_float_internal): Do not special-case
23106         errors up to 0.5 ulp.
23108         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23109         log2.
23110         * math/auto-libm-test-out: Regenerated.
23111         * math/libm-test.inc (MAX_EXP): New macro.
23112         (ilogb_test_data): Add more tests.
23113         (isfinite_test_data): Likewise.
23114         (isgreater_test_data): Likewise.
23115         (isgreaterequal_test_data): Likewise.
23116         (isinf_test_data): Likewise.
23117         (isless_test_data): Likewise.
23118         (islessequal_test_data): Likewise.
23119         (islessgreater_test_data): Likewise.
23120         (isnan_test_data): Likewise.
23121         (isnormal_test_data): Likewise.
23122         (issignaling_test_data): Likewise.
23123         (isunordered_test_data): Likewise.
23124         (j0_test_data): Likewise.
23125         (j1_test_data): Likewise.
23126         (jn_test_data): Likewise.
23127         (lgamma_test_data): Likewise.
23128         (log_test_data): Likewise.
23129         (log10_test_data): Likewise.
23130         (log1p_test_data): Likewise.
23131         (log2_test_data): Likewise.
23132         (logb_test_data): Likewise.
23133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23135         [BZ #18611]
23136         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23137         avoid excess range and precision on underflow.
23138         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23139         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23140         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23142         underflow.
23143         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23145         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23146         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23147         * math/auto-libm-test-in: Do not allow missing errno setting for
23148         tests of j1 and jn.
23149         * math/auto-libm-test-out: Regenerated.
23151 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23153         [BZ #15491]
23154         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23155         floating-point environment instead of clearing all exceptions.
23156         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23157         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23158         merging in "invalid" exceptions from frndint.
23159         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23160         * math/test-nearbyint-except.c: New file.
23161         * math/Makefile (tests): Add test-nearbyint-except.
23163 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23165         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23167         * sysdeps/tile/libm-test-ulps: Regenerated.
23169 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23172         (__NR_sync_file_range2): Assume it is always defined.
23173         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23174         (__NR_sync_file_range): Assume it is always defined.
23176 2015-10-22  Andreas Schwab  <schwab@suse.de>
23178         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23179         INTERNAL_SYSCALL_ERRNO.
23180         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23181         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23182         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23183         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23184         Likewise.
23185         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23187 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23189         * io/tst-fcntl.c (fd): New static variable.
23190         (do_prepare): Open temporary file here....
23191         (do_test): ...not here.
23193         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23195 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23197         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23198         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23199         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23200         Moved before "#ifdef __ASSEMBLER__".
23202 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23204         [BZ #19156]
23205         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23206         arguments very close to 0.
23208 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23210         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23211         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23213 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23215         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23216         New.  Defined for GCC 5 and above when not compiling for
23217         profiling.
23218         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23220         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23221         Renamed to ...
23222         (CFLAGS-epoll_pwait.o): This.
23223         (CFLAGS-mmap.c): Renamed to ...
23224         (CFLAGS-mmap.o): This.
23225         (CFLAGS-mmap64.c): Renamed to ...
23226         (CFLAGS-mmap64.o): This.
23227         (CFLAGS-epoll_pwait.os): New.
23228         (CFLAGS-mmap.os): Likewise.
23229         (CFLAGS-mmap64.os): Likewise.
23230         (CFLAGS-semtimedop.os): Likewise.
23231         (CFLAGS-semtimedop.c): Renamed to ...
23232         (CFLAGS-semtimedop.o): This.
23234 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23236         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23237         warning message.
23239 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23241         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23242         * Makefile ($(objpfx)c++-types-check.out): Filter out
23243         $(+gccwarn-c) instead of -Wstrict-prototypes.
23245         * io/fts.c (fts_open): Convert to prototype-style function
23246         definition.
23247         * malloc/mcheck.c (mcheck): Likewise.
23248         (mcheck_pedantic): Likewise.
23249         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23250         internal_function.
23251         (re_search_internal): Likewise.
23252         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23253         prototype-style function definition.
23254         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23255         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23256         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23257         (xdr_utmpptr): Likewise.
23258         (xdr_utmparr): Likewise.
23259         (xdr_utmpidle): Likewise.
23260         (xdr_utmpidleptr): Likewise.
23261         (xdr_utmpidlearr): Likewise.
23263         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23264         log, log10 and log2.
23265         * math/auto-libm-test-out: Regenerated.
23266         * math/libm-test.inc (fmod_test_data): Add more tests.
23267         (fpclassify_test_data): Likewise.
23268         (frexp_test_data): Likewise.
23269         (hypot_test_data): Likewise.
23270         (ilogb_test_data): Likewise.
23272 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23274         * debug/fortify_fail.c (__fortify_fail): Convert to
23275         prototype-style function definition.  Use internal_function.
23276         * libio/genops.c (save_for_backup): Convert to prototype-style
23277         function definition.
23278         * libio/wgenops.c (save_for_wbackup): Likewise.
23279         * login/grantpt.c (grantpt): Likewise.
23280         * login/ptsname.c (ptsname): Likewise.
23281         (__ptsname_r): Likewise.
23282         * login/unlockpt.c (unlockpt): Likewise.
23283         * mach/msgserver.c (__mach_msg_server): Likewise.
23284         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23285         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23286         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23287         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23288         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23289         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23290         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23291         Likewise.
23292         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23293         internal_function.
23294         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23295         prototype-style function definition.
23296         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23297         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23298         (__pthread_create_2_0): Likewise.
23299         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23300         * nptl/register-atfork.c (__register_atfork): Likewise.
23301         * posix/glob.c (glob): Likewise.
23302         * posix/regcomp.c (re_comp): Likewise.
23303         * posix/regexec.c (re_exec): Likewise.
23304         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23305         [!__STDC__]: Remove conditional code.
23306         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23307         [!__STDC__]: Remove conditional code.
23308         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23309         [!__STDC__]: Remove conditional code.
23310         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23311         [!__STDC__]: Remove conditional code.
23312         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23313         [!__STDC__]: Remove conditional code.
23314         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23315         [!__STDC__]: Remove conditional code.
23316         * stdlib/mul.c [__STDC__]: Make code unconditional.
23317         [!__STDC__]: Remove conditional code.
23318         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23319         [!__STDC__]: Remove conditional code.
23320         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23321         [!__STDC__]: Remove conditional code.
23322         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23323         function definition.
23324         (STRTOF): Likewise.
23325         * stdlib/strtod_l.c (__STRTOF): Likewise.
23326         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23327         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23328         (__strtol_l): Likewise.
23329         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23330         [!__STDC__]: Remove conditional code.
23331         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23332         definition.
23333         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23334         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23335         type.
23336         (__strcasecmp): Convert to prototype-style function definition.
23337         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23338         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23339         type.
23340         (__strncasecmp): Convert to prototype-style function definition.
23341         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23342         * sunrpc/xdr.c (xdr_union): Likewise.
23343         * sunrpc/xdr_array.c (xdr_array): Likewise.
23344         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23345         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23346         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23347         Likewise.
23348         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23349         Likewise.
23350         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23351         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23352         Likewise.
23353         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23354         (LOCALE_PARAM_PROTO): Likewise.
23355         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23356         argument type.
23357         (ut_argument_spec): Remove macro.
23358         (ut_argument_spec_iso): Rename to ut_argument_spec.
23359         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23360         prototype-style function definition.
23361         (memcpy_uppcase): Likewise.
23362         (__strftime_internal): Likewise.
23363         (my_strftime): Likewise.
23364         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23365         (LOCALE_PARAM_DECL): Likewise.
23366         [_LIBC] (LOCALE_PARAM): Include argument type.
23367         (__strptime_internal): Convert to prototype-style function
23368         definition.
23369         (strptime): Likewise.
23370         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23371         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23372         type.
23373         (__wcscasecmp): Convert to prototype-style function definition.
23374         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23375         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23376         type.
23377         (__wcsncasecmp): Convert to prototype-style function definition.
23379         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23380         function definition.
23381         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23382         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23383         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23384         * elf/dl-minimal.c (_itoa): Likewise.
23385         * hurd/hurdmalloc.c (malloc): Likewise.
23386         (free): Likewise.
23387         (realloc): Likewise.
23388         * inet/inet6_option.c (inet6_option_space): Likewise.
23389         (inet6_option_init): Likewise.
23390         (inet6_option_append): Likewise.
23391         (inet6_option_alloc): Likewise.
23392         (inet6_option_next): Likewise.
23393         (inet6_option_find): Likewise.
23394         * io/ftw.c (FTW_NAME): Likewise.
23395         (NFTW_NAME): Likewise.
23396         (NFTW_NEW_NAME): Likewise.
23397         (NFTW_OLD_NAME): Likewise.
23398         * libio/iofwide.c (_IO_fwide): Likewise.
23399         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23400         (_IO_str_init_static): Likewise.
23401         (_IO_str_init_readonly): Likewise.
23402         (_IO_str_overflow): Likewise.
23403         (_IO_str_underflow): Likewise.
23404         (_IO_str_count): Likewise.
23405         (_IO_str_seekoff): Likewise.
23406         (_IO_str_pbackfail): Likewise.
23407         (_IO_str_finish): Likewise.
23408         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23409         (_IO_wstr_overflow): Likewise.
23410         (_IO_wstr_underflow): Likewise.
23411         (_IO_wstr_count): Likewise.
23412         (_IO_wstr_seekoff): Likewise.
23413         (_IO_wstr_pbackfail): Likewise.
23414         (_IO_wstr_finish): Likewise.
23415         * locale/programs/localedef.c (normalize_codeset): Likewise.
23416         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23417         (add_locales_to_archive): Likewise.
23418         (delete_locales_from_archive): Likewise.
23419         * malloc/malloc.c (__libc_mallinfo): Likewise.
23420         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23421         * misc/tsearch.c (__tfind): Likewise.
23422         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23423         * nptl/pthread_attr_getdetachstate.c
23424         (__pthread_attr_getdetachstate): Likewise.
23425         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23426         Likewise.
23427         * nptl/pthread_attr_getinheritsched.c
23428         (__pthread_attr_getinheritsched): Likewise.
23429         * nptl/pthread_attr_getschedparam.c
23430         (__pthread_attr_getschedparam): Likewise.
23431         * nptl/pthread_attr_getschedpolicy.c
23432         (__pthread_attr_getschedpolicy): Likewise.
23433         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23434         Likewise.
23435         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23436         Likewise.
23437         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23438         Likewise.
23439         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23440         Likewise.
23441         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23442         (__pthread_attr_init_2_0): Likewise.
23443         * nptl/pthread_attr_setdetachstate.c
23444         (__pthread_attr_setdetachstate): Likewise.
23445         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23446         Likewise.
23447         * nptl/pthread_attr_setinheritsched.c
23448         (__pthread_attr_setinheritsched): Likewise.
23449         * nptl/pthread_attr_setschedparam.c
23450         (__pthread_attr_setschedparam): Likewise.
23451         * nptl/pthread_attr_setschedpolicy.c
23452         (__pthread_attr_setschedpolicy): Likewise.
23453         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23454         Likewise.
23455         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23456         Likewise.
23457         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23458         Likewise.
23459         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23460         Likewise.
23461         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23462         Likewise.
23463         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23464         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23465         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23466         use internal_function.
23467         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23468         prototype-style function definition.
23469         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23470         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23471         internal_function.
23472         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23473         Convert to prototype-style function definition.
23474         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23475         Likewise.
23476         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23477         Likewise.
23478         (__pthread_mutex_unlock): Likewise.
23479         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23480         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23481         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23482         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23483         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23484         * nss/makedb.c (process_input): Likewise.
23485         * posix/fnmatch.c (__strchrnul): Likewise.
23486         (__wcschrnul): Likewise.
23487         (fnmatch): Likewise.
23488         * posix/fnmatch_loop.c (FCT): Likewise.
23489         * posix/glob.c (globfree): Likewise.
23490         (__glob_pattern_type): Likewise.
23491         (__glob_pattern_p): Likewise.
23492         * posix/regcomp.c (re_compile_pattern): Likewise.
23493         (re_set_syntax): Likewise.
23494         (re_compile_fastmap): Likewise.
23495         (regcomp): Likewise.
23496         (regerror): Likewise.
23497         (regfree): Likewise.
23498         * posix/regexec.c (regexec): Likewise.
23499         (re_match): Likewise.
23500         (re_search): Likewise.
23501         (re_match_2): Likewise.
23502         (re_search_2): Likewise.
23503         (re_search_stub): Likewise.  Use internal_function
23504         (re_copy_regs): Likewise.
23505         (re_set_registers): Convert to prototype-style function
23506         definition.
23507         (prune_impossible_nodes): Likewise.  Use internal_function.
23508         * resolv/inet_net_pton.c (inet_net_pton): Convert to
23509         prototype-style function definition.
23510         (inet_net_pton_ipv4): Likewise.
23511         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23512         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23513         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23514         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23515         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23516         Make variadic.
23517         * time/strptime_l.c (localtime_r): Convert to prototype-style
23518         function definition.
23519         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23520         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23521         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23522         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23524         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23525         definition.
23526         (_ufc_doit_r): Likewise.
23527         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23528         (_ufc_output_conversion_r): Likewise.
23529         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23530         * inet/rcmd.c (rcmd_af): Likewise.
23531         (rcmd): Likewise.
23532         (ruserok_af): Likewise.
23533         (ruserok): Likewise.
23534         (ruserok2_sa): Likewise.
23535         (ruserok_sa): Likewise.
23536         (iruserok_af): Likewise.
23537         (iruserok): Likewise.
23538         (__ivaliduser): Likewise.
23539         (__validuser2_sa): Likewise.
23540         * inet/rexec.c (rexec_af): Likewise.
23541         (rexec): Likewise.
23542         * inet/ruserpass.c (ruserpass): Likewise.
23543         * locale/programs/xmalloc.c (xcalloc): Likewise.
23544         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23545         * math/w_drem.c (__drem): Likewise.
23546         * math/w_dremf.c (__dremf): Likewise.
23547         * math/w_dreml.c (__dreml): Likewise.
23548         * misc/daemon.c (daemon): Likewise.
23549         * resolv/res_debug.c (p_fqnname): Likewise.
23550         * stdlib/div.c (div): Likewise.
23551         * string/memcmp.c (memcmp_bytes): Likewise.
23552         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23553         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23555         * crypt/cert.c (main): Convert to prototype-style function
23556         definition.
23557         * io/pipe.c (__pipe): Likewise.
23558         * io/pipe2.c (__pipe2): Likewise.
23559         * misc/futimesat.c (futimesat): Likewise.
23560         * misc/utimes.c (__utimes): Likewise.
23561         * posix/execve.c (__execve): Likewise.
23562         * posix/execvp.c (execvp): Likewise.
23563         * posix/execvpe.c (__execvpe): Likewise.
23564         * posix/fexecve.c (fexecve): Likewise.
23565         * socket/socketpair.c (socketpair): Likewise.
23566         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23567         * stdlib/erand48.c (erand48): Likewise.
23568         * stdlib/erand48_r.c (__erand48_r): Likewise.
23569         * stdlib/jrand48.c (jrand48): Likewise.
23570         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23571         * stdlib/lcong48.c (lcong48): Likewise.
23572         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23573         * stdlib/nrand48.c (nrand48): Likewise.
23574         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23575         * stdlib/seed48.c (seed48): Likewise.
23576         * stdlib/seed48_r.c (__seed48_r): Likewise.
23577         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23578         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23579         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23581 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23583         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23584         * configure: Regenerated.
23585         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23586         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23587         unconditional.
23588         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23589         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23590         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23591         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23592         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23593         unconditional.
23594         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23596         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23597         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23599         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23600         function definition.
23601         * crypt/crypt_util.c (__encrypt_r): Likewise.
23602         * libio/genops.c (_IO_no_init): Likewise.
23603         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23604         (_IO_old_fopencookie): Likewise.
23605         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23606         * libio/iogetline.c (_IO_getline): Likewise.
23607         (_IO_getline_info): Likewise.
23608         * libio/iogetwline.c (_IO_getwline): Likewise.
23609         (_IO_getwline_info): Likewise.
23610         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23611         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23612         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23613         (find_entry): Likewise.
23614         (iterate_table): Likewise.
23615         (lookup): Likewise.
23616         * login/forkpty.c (forkpty): Likewise.
23617         * misc/hsearch_r.c (__hsearch_r): Likewise.
23618         * misc/select.c (__select): Likewise.
23619         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23620         Likewise.
23621         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23622         Likewise.
23623         * nptl/old_pthread_cond_timedwait.c
23624         (__pthread_cond_timedwait_2_0): Likewise.
23625         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23626         * nptl/pthread_barrierattr_getpshared.c
23627         (pthread_barrierattr_getpshared): Likewise.
23628         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23629         Likewise.
23630         * nptl/pthread_mutex_setprioceiling.c
23631         (pthread_mutex_setprioceiling): Likewise.
23632         * nptl/pthread_mutexattr_getprioceiling.c
23633         (pthread_mutexattr_getprioceiling): Likewise.
23634         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23635         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23636         Likewise.
23637         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23638         Likewise.
23639         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23640         Likewise.
23641         * socket/recvfrom.c (__recvfrom): Likewise.
23642         * socket/sendto.c (__sendto): Likewise.
23643         * socket/setsockopt.c (__setsockopt): Likewise.
23644         * stdio-common/_itoa.c (_itoa): Likewise.
23645         * stdio-common/_itowa.c (_itowa): Likewise.
23646         * stdio-common/reg-printf.c (__register_printf_specifier):
23647         Likewise.
23648         (__register_printf_function): Likewise.
23649         * stdio-common/tempname.c (__path_search): Likewise.
23650         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23651         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23652         * stdlib/random_r.c (__initstate_r): Likewise.
23653         * stdlib/setenv.c (__add_to_environ): Likewise.
23654         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23655         * streams/getpmsg.c (getpmsg): Likewise.
23656         * streams/putmsg.c (putmsg): Likewise.
23657         * streams/putpmsg.c (putpmsg): Likewise.
23658         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23659         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23660         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23661         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23662         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23663         * sunrpc/svc_udp.c (cache_get): Likewise.
23664         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23665         * sysdeps/mach/hurd/getcwd.c
23666         (__canonicalize_directory_name_internal): Likewise.
23667         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23668         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23669         * sysdeps/mach/hurd/select.c (__select): Likewise.
23670         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23671         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23672         * sysdeps/sparc/nptl/pthread_barrier_init.c
23673         (__pthread_barrier_init): Likewise.
23674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23675         (__pthread_cond_timedwait): Likewise.
23676         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23677         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23678         Likewise.
23679         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23680         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23681         Likewise.
23682         * sysvipc/semtimedop.c (semtimedop): Likewise.
23683         * time/setitimer.c (__setitimer): Likewise.
23684         * time/strftime_l.c (emacs_strftime): Likewise.
23686 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23688         * config.make.in (have-ssp): Delete.
23689         (stack-protector): New variable.
23690         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23691         cache test for -fstack-protector-strong.  Export stack_protector to
23692         the best ssp flag.
23693         * configure: Regenerated.
23694         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23695         * nscd/Makefile (CFLAGS-nscd): Likewise.
23696         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23698 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23700         [BZ #19122]
23701         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23702         attribute_hidden.
23704 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23706         [BZ #18743]
23707         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23708         code to...
23709         (ELIDE_LOCK): ...here.
23710         (__get_new_count): New function with part of the code from
23711         __elide_lock that updates the value of adapt_count after a
23712         transaction abort.
23713         (__elided_trylock): Moved this code to...
23714         (ELIDE_TRYLOCK): ...here.
23716 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23718         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23719         * configure: Regenerate.
23720         * INSTALL: Regenerate.
23721         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23722         and tweak grammar.
23724 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23726         * login/programs/pt_chown.c: Include signal.h
23727         (main): Clear any signal mask from the parent process.
23729 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23731         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23732         * configure: Regenerated.
23733         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23734         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23735         $(gnu89-inline-CFLAGS).
23737         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23738         test.
23739         (libc_cv_asm_weakext_directive): Likewise.
23740         * configure: Regenerated.
23741         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23742         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23743         * include/libc-symbols.h
23744         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23745         #error.
23746         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23747         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23749         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23750         prototype-style function definition.
23751         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23752         * sysdeps/i386/ffs.c (__ffs): Likewise.
23753         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23754         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23755         Likewise.
23756         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23757         Likewise.
23758         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23760         Likewise.
23761         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23762         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23763         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23764         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23765         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23766         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23767         * sysdeps/mach/hurd/access.c (__access): Likewise.
23768         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23769         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23770         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23771         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23772         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23773         (cthread_getspecific): Likewise.
23774         (cthread_setspecific): Likewise.
23775         (__libc_getspecific): Likewise.
23776         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23777         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23778         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23779         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23780         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23781         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23782         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23783         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23784         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23785         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23786         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23787         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23788         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23789         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23790         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23791         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23792         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23793         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23794         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23795         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23796         * sysdeps/mach/hurd/link.c (__link): Likewise.
23797         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23798         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23799         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23800         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23801         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23802         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23803         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23804         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23805         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23806         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23807         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23808         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23809         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23810         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23811         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23812         * sysdeps/mach/hurd/send.c (__send): Likewise.
23813         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23814         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23815         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23816         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23817         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23818         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23819         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23820         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23821         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23822         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23823         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23824         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23825         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23826         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23827         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23828         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23829         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23830         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23831         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23832         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23833         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23834         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23835         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23836         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23837         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23838         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23839         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23840         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23841         * sysdeps/posix/alarm.c (alarm): Likewise.
23842         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23843         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23844         * sysdeps/posix/dup.c (__dup): Likewise.
23845         * sysdeps/posix/dup2.c (__dup2): Likewise.
23846         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23847         (main): Likewise.
23848         * sysdeps/posix/flock.c (__flock): Likewise.
23849         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23850         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23851         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23852         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23853         * sysdeps/posix/isatty.c (__isatty): Likewise.
23854         * sysdeps/posix/killpg.c (killpg): Likewise.
23855         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23856         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23857         * sysdeps/posix/raise.c (raise): Likewise.
23858         * sysdeps/posix/remove.c (remove): Likewise.
23859         * sysdeps/posix/rename.c (rename): Likewise.
23860         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23861         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23862         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23863         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23864         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23865         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23866         * sysdeps/posix/sigset.c (sigset): Likewise.
23867         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23868         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23869         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23870         * sysdeps/posix/time.c (time): Likewise.
23871         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23872         (ttyname): Likewise.
23873         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23874         * sysdeps/posix/utime.c (utime): Likewise.
23875         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23876         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23877         Likewise.
23878         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23879         (pthread_spin_trylock): Likewise.
23880         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23881         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23882         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23883         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23884         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23885         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23886         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23887         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23888         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23889         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23890         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23891         * sysdeps/s390/ffs.c (__ffs): Likewise.
23892         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23893         Likewise.
23894         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23895         Likewise.
23896         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23897         Likewise.
23898         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23899         (pthread_barrier_destroy): Likewise.
23900         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23901         (__pthread_barrier_wait): Likewise.
23902         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23903         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23904         (__pthread_barrier_wait): Likewise.
23905         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23906         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23907         (memcmp_not_common_alignment): Likewise.
23908         (MEMCMP): Likewise.
23909         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23910         (_wordcopy_fwd_dest_aligned): Likewise.
23911         (_wordcopy_bwd_aligned): Likewise.
23912         (_wordcopy_bwd_dest_aligned): Likewise.
23913         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23914         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23915         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23916         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23917         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23918         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23919         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23920         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23921         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23922         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23923         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23924         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23925         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23926         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23927         * sysdeps/unix/stime.c (stime): Likewise.
23928         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23929         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23930         Likewise.  Use internal_function.
23931         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23932         Convert to prototype-style function definition.
23933         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23934         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23935         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23936         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23937         Likewise.  Use internal_function.
23938         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23939         prototype-style function definition
23940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23941         Likewise.
23942         (__getlogin_r): Likewise.
23943         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23945         (__pthread_cond_broadcast): Likewise.
23946         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23947         (__pthread_cond_destroy): Likewise.
23948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23949         (__pthread_cond_init): Likewise.
23950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23951         (__pthread_cond_signal): Likewise.
23952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23953         (__pthread_cond_wait): Likewise.
23954         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23955         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23956         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23957         Likewise.
23958         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23959         Likewise.
23960         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23961         Likewise.
23962         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23963         Likewise.
23964         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23966         (__ftruncate64): Likewise.
23967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23968         (truncate64): Likewise.
23969         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23970         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23971         (pthread_getcpuclockid): Likewise.
23972         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23973         Likewise.
23974         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23975         Likewise.
23976         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23977         Likewise.
23978         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23979         Likewise.
23980         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23981         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23982         (__libc_sigaction): Likewise.
23983         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23984         Likewise.
23985         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23986         (__sigprocmask): Likewise.
23987         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23988         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23989         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23990         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23991         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23992         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23993         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23994         Likewise.
23995         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23996         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23997         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23998         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24000         Likewise.
24001         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24002         (__sigprocmask): Likewise.
24003         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24004         (cfgetispeed): Likewise.
24005         (cfsetospeed): Likewise.
24006         (cfsetispeed): Likewise.
24007         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24008         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24009         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24010         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24011         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24012         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24013         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24014         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24015         Likewise.
24016         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24019         Likewise.
24020         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24021         Likewise.
24022         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24024 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24026         sunrpc: Rewrite with explicit TLS access using __thread.
24027         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24028         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24029         directly.
24030         (__rpc_thread_variables): Access thread_rpc_vars directly.
24031         Eliminate redundant assignment of the tvp variable.
24033 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24035         malloc: Rewrite with explicit TLS access using __thread.
24036         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24037         (tsd_setspecific, tsd_getspecific): Remove.
24038         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24039         (tsd_setspecific, tsd_getspecific): Likewise.
24040         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24041         (tsd_setspecific, tsd_getspecific): Likewise.
24042         * malloc/arena.c (thread_arena): New TLS variable.
24043         (arena_key): Remove variable.
24044         (arena_get): Use thread_arena.
24045         (arena_lookup): Remove macro.
24046         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24047         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24048         (_int_new_arena, get_free_list, reused_arena)
24049         (arena_thread_freeres): Use thread_arena.
24050         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24051         tsd_getspecific, tsd_setspecific from safety annotations.
24052         (Allocating Cleared Space): Remove arena_lookup from safety
24053         annotations.
24055 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24057         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24058         struct scratch_buffer instead of extend_alloca.
24060 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24062         * sysdeps/unix/sysv/linux/kernel-features.h
24063         (__ASSUME_SOCK_CLOEXEC): Remove.
24064         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24065         (__have_paccept): Remove unused macro.
24066         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24067         * misc/syslog.c (openlog_internal): Remove fallback code for
24068         !__ASSUME_SOCK_CLOEXEC.
24069         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24070         missing SOCK_CLOEXEC.
24071         * nscd/connections.c (have_sock_cloexec): Remove definition.
24072         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24073         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24074         !__ASSUME_SOCK_CLOEXEC.
24075         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24076         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24077         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24078         definition.
24079         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24080         code for !__ASSUME_SOCK_CLOEXEC.
24082 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24084         [BZ #18982]
24085         * manual/stdio.texi (Variable Arguments Output): Add portability
24086         note, explaining that vfprintf clobbers the va_list pointer.
24088 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24090         * math/libm-test.inc (fabs_test_data): Add more tests.
24091         (fdim_test_data): Likewise.
24092         (fma_test_data): Likewise.
24093         (fmax_test_data): Likewise.
24094         (fmin_test_data): Likewise.
24095         (fmod_test_data): Likewise.
24097 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24099         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24100         data.
24102 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24104         * math/libm-test.inc (ceil_test_data): Add more tests and more
24105         expectations for "inexact".
24106         (floor_test_data): Add more tests.
24107         (round_test_data): Likewise.
24108         (trunc_test_data): Likewise.
24110         * crypt/cert.c (good_bye): Convert to prototype-style function
24111         definition.
24112         (get8): Likewise.
24113         (put8): Likewise.
24114         * crypt/crypt-entry.c (crypt): Likewise.
24115         (__fcrypt): Likewise.
24116         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24117         (_ufc_set_bits): Likewise.
24118         (_ufc_clearmem): Likewise.
24119         (__init_des_r): Likewise.
24120         (shuffle_sb): Likewise.
24121         (shuffle_sb): Likewise.
24122         (_ufc_setup_salt_r): Likewise.
24123         (_ufc_mk_keytab_r): Likewise.
24124         (_ufc_dofinalperm_r): Likewise.
24125         (encrypt): Likewise.
24126         (__setkey_r): Likewise.
24127         (setkey): Likewise.
24128         * crypt/md5.c (md5_init_ctx): Likewise.
24129         (md5_read_ctx): Likewise.
24130         (md5_finish_ctx): Likewise.
24131         (md5_stream): Likewise.
24132         (md5_buffer): Likewise.
24133         (md5_process_bytes): Likewise.
24134         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24135         (__sha256_finish_ctx): Likewise.
24136         (__sha256_process_bytes): Likewise.
24137         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24138         (__sha512_finish_ctx): Likewise.
24139         (__sha512_process_bytes): Likewise.
24140         * ctype/isctype.c (__isctype): Likewise.
24141         * debug/backtrace.c (__backtrace): Likewise.
24142         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24143         * debug/fgets_chk.c (__fgets_chk): Likewise.
24144         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24145         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24146         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24147         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24148         * debug/memset_chk.c (__memset_chk): Likewise.
24149         * debug/strcat_chk.c (__strcat_chk): Likewise.
24150         * debug/strncat_chk.c (__strncat_chk): Likewise.
24151         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24152         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24153         * dirent/dirfd.c (dirfd): Likewise.
24154         * dirent/getdents.c (__getdirentries): Likewise.
24155         * dirent/getdents64.c (getdirentries64): Likewise.
24156         * dirent/rewinddir.c (__rewinddir): Likewise.
24157         * dirent/seekdir.c (seekdir): Likewise.
24158         * dirent/telldir.c (telldir): Likewise.
24159         * elf/sln.c (makesymlinks): Likewise.
24160         (makesymlink): Likewise.
24161         * gmon/gmon.c (__moncontrol): Likewise.
24162         (__monstartup): Likewise.
24163         (write_hist): Likewise.
24164         (write_call_graph): Likewise.
24165         (write_bb_counts): Likewise.
24166         * grp/setgroups.c (setgroups): Likewise.
24167         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24168         * inet/inet_net.c (inet_network): Likewise.
24169         * inet/inet_netof.c (inet_netof): Likewise.
24170         * inet/rcmd.c (rresvport_af): Likewise.
24171         (rresvport): Likewise.
24172         * io/access.c (__access): Likewise.
24173         * io/chdir.c (__chdir): Likewise.
24174         * io/chmod.c (__chmod): Likewise.
24175         * io/chown.c (__chown): Likewise.
24176         * io/close.c (__close): Likewise.
24177         * io/creat.c (creat): Likewise.
24178         * io/creat64.c (creat64): Likewise.
24179         * io/dup.c (__dup): Likewise.
24180         * io/dup2.c (__dup2): Likewise.
24181         * io/dup3.c (__dup3): Likewise.
24182         * io/euidaccess.c (__euidaccess): Likewise.
24183         * io/faccessat.c (faccessat): Likewise.
24184         * io/fchmod.c (__fchmod): Likewise.
24185         * io/fchmodat.c (fchmodat): Likewise.
24186         * io/fchown.c (__fchown): Likewise.
24187         * io/fchownat.c (fchownat): Likewise.
24188         * io/fcntl.c (__fcntl): Likewise.
24189         * io/flock.c (__flock): Likewise.
24190         * io/fts.c (fts_load): Likewise.
24191         (fts_close): Likewise.
24192         (fts_read): Likewise.
24193         (fts_set): Likewise.
24194         (fts_children): Likewise.
24195         (fts_build): Likewise.
24196         (fts_stat): Likewise.
24197         (fts_sort): Likewise.
24198         (fts_alloc): Likewise.
24199         (fts_lfree): Likewise.
24200         (fts_palloc): Likewise.
24201         (fts_padjust): Likewise.
24202         (fts_maxarglen): Likewise.
24203         (fts_safe_changedir): Likewise.
24204         * io/getwd.c (getwd): Likewise.
24205         * io/isatty.c (__isatty): Likewise.
24206         * io/lchown.c (__lchown): Likewise.
24207         * io/link.c (__link): Likewise.
24208         * io/linkat.c (linkat): Likewise.
24209         * io/lseek.c (__libc_lseek): Likewise.
24210         * io/mkdir.c (__mkdir): Likewise.
24211         * io/mkdirat.c (mkdirat): Likewise.
24212         * io/mkfifo.c (mkfifo): Likewise.
24213         * io/mkfifoat.c (mkfifoat): Likewise.
24214         * io/open.c (__libc_open): Likewise.
24215         * io/open64.c (__libc_open64): Likewise.
24216         * io/readlink.c (__readlink): Likewise.
24217         * io/readlinkat.c (readlinkat): Likewise.
24218         * io/rmdir.c (__rmdir): Likewise.
24219         * io/symlink.c (__symlink): Likewise.
24220         * io/symlinkat.c (symlinkat): Likewise.
24221         * io/ttyname.c (ttyname): Likewise.
24222         * io/ttyname_r.c (__ttyname_r): Likewise.
24223         * io/umask.c (__umask): Likewise.
24224         * io/unlink.c (__unlink): Likewise.
24225         * io/unlinkat.c (unlinkat): Likewise.
24226         * io/utime.c (utime): Likewise.
24227         * libio/clearerr.c (clearerr): Likewise.
24228         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24229         * libio/feof.c (_IO_feof): Likewise.
24230         * libio/feof_u.c (feof_unlocked): Likewise.
24231         * libio/ferror.c (_IO_ferror): Likewise.
24232         * libio/ferror_u.c (ferror_unlocked): Likewise.
24233         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24234         * libio/fileno.c (__fileno): Likewise.
24235         * libio/fputc.c (fputc): Likewise.
24236         * libio/fputc_u.c (fputc_unlocked): Likewise.
24237         * libio/fputwc.c (fputwc): Likewise.
24238         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24239         * libio/freopen.c (freopen): Likewise.
24240         * libio/freopen64.c (freopen64): Likewise.
24241         * libio/fseek.c (fseek): Likewise.
24242         * libio/fseeko.c (fseeko): Likewise.
24243         * libio/fseeko64.c (fseeko64): Likewise.
24244         * libio/ftello.c (__ftello): Likewise.
24245         * libio/ftello64.c (ftello64): Likewise.
24246         * libio/fwide.c (fwide): Likewise.
24247         * libio/genops.c (_IO_un_link): Likewise.
24248         (_IO_link_in): Likewise.
24249         (_IO_least_marker): Likewise.
24250         (_IO_switch_to_main_get_area): Likewise.
24251         (_IO_switch_to_backup_area): Likewise.
24252         (_IO_switch_to_get_mode): Likewise.
24253         (_IO_free_backup_area): Likewise.
24254         (_IO_switch_to_put_mode): Likewise.
24255         (__overflow): Likewise.
24256         (__underflow): Likewise.
24257         (__uflow): Likewise.
24258         (_IO_setb): Likewise.
24259         (_IO_doallocbuf): Likewise.
24260         (_IO_default_underflow): Likewise.
24261         (_IO_default_uflow): Likewise.
24262         (_IO_default_xsputn): Likewise.
24263         (_IO_sgetn): Likewise.
24264         (_IO_default_xsgetn): Likewise.
24265         (_IO_sync): Likewise.
24266         (_IO_default_setbuf): Likewise.
24267         (_IO_default_seekpos): Likewise.
24268         (_IO_default_doallocate): Likewise.
24269         (_IO_init): Likewise.
24270         (_IO_old_init): Likewise.
24271         (_IO_default_sync): Likewise.
24272         (_IO_default_finish): Likewise.
24273         (_IO_default_seekoff): Likewise.
24274         (_IO_sputbackc): Likewise.
24275         (_IO_sungetc): Likewise.
24276         (_IO_set_column): Likewise.
24277         (_IO_set_column): Likewise.
24278         (_IO_adjust_column): Likewise.
24279         (_IO_get_column): Likewise.
24280         (_IO_init_marker): Likewise.
24281         (_IO_remove_marker): Likewise.
24282         (_IO_marker_difference): Likewise.
24283         (_IO_marker_delta): Likewise.
24284         (_IO_seekmark): Likewise.
24285         (_IO_unsave_markers): Likewise.
24286         (_IO_nobackup_pbackfail): Likewise.
24287         (_IO_default_pbackfail): Likewise.
24288         (_IO_default_seek): Likewise.
24289         (_IO_default_stat): Likewise.
24290         (_IO_default_read): Likewise.
24291         (_IO_default_write): Likewise.
24292         (_IO_default_showmanyc): Likewise.
24293         (_IO_default_imbue): Likewise.
24294         (_IO_iter_next): Likewise.
24295         (_IO_iter_file): Likewise.
24296         * libio/getc.c (_IO_getc): Likewise.
24297         * libio/getwc.c (_IO_getwc): Likewise.
24298         * libio/iofclose.c (_IO_new_fclose): Likewise.
24299         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24300         * libio/iofflush.c (_IO_fflush): Likewise.
24301         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24302         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24303         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24304         * libio/iofgets.c (_IO_fgets): Likewise.
24305         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24306         * libio/iofgetws.c (fgetws): Likewise.
24307         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24308         * libio/iofopen64.c (_IO_fopen64): Likewise.
24309         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24310         (_IO_cookie_write): Likewise.
24311         (_IO_cookie_seek): Likewise.
24312         (_IO_cookie_close): Likewise.
24313         (_IO_cookie_seekoff): Likewise.
24314         (_IO_old_cookie_seek): Likewise.
24315         * libio/iofputs.c (_IO_fputs): Likewise.
24316         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24317         * libio/iofputws.c (fputws): Likewise.
24318         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24319         * libio/iofread.c (_IO_fread): Likewise.
24320         * libio/iofread_u.c (__fread_unlocked): Likewise.
24321         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24322         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24323         * libio/ioftell.c (_IO_ftell): Likewise.
24324         * libio/iofwrite.c (_IO_fwrite): Likewise.
24325         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24326         * libio/iogets.c (_IO_gets): Likewise.
24327         * libio/iopadn.c (_IO_padn): Likewise.
24328         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24329         (_IO_new_popen): Likewise.
24330         (_IO_new_proc_close): Likewise.
24331         * libio/ioputs.c (_IO_puts): Likewise.
24332         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24333         (_IO_seekoff): Likewise.
24334         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24335         (_IO_seekpos): Likewise.
24336         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24337         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24338         * libio/ioungetc.c (_IO_ungetc): Likewise.
24339         * libio/ioungetwc.c (ungetwc): Likewise.
24340         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24341         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24342         * libio/iowpadn.c (_IO_wpadn): Likewise.
24343         * libio/libc_fatal.c (__libc_fatal): Likewise.
24344         * libio/memstream.c (__open_memstream): Likewise.
24345         (_IO_mem_sync): Likewise.
24346         (_IO_mem_finish): Likewise.
24347         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24348         (_IO_old_file_close_it): Likewise.
24349         (_IO_old_file_finish): Likewise.
24350         (_IO_old_file_fopen): Likewise.
24351         (_IO_old_file_attach): Likewise.
24352         (_IO_old_file_setbuf): Likewise.
24353         (_IO_old_do_write): Likewise.
24354         (old_do_write): Likewise.
24355         (_IO_old_file_underflow): Likewise.
24356         (_IO_old_file_overflow): Likewise.
24357         (_IO_old_file_sync): Likewise.
24358         (_IO_old_file_seekoff): Likewise.
24359         (_IO_old_file_write): Likewise.
24360         (_IO_old_file_xsputn): Likewise.
24361         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24362         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24363         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24364         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24365         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24366         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24367         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24368         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24369         (_IO_old_popen): Likewise.
24370         (_IO_old_proc_close): Likewise.
24371         * libio/oldpclose.c (__old_pclose): Likewise.
24372         * libio/pclose.c (__new_pclose): Likewise.
24373         * libio/peekc.c (_IO_peekc_locked): Likewise.
24374         * libio/putc.c (_IO_putc): Likewise.
24375         * libio/putc_u.c (putc_unlocked): Likewise.
24376         * libio/putchar.c (putchar): Likewise.
24377         * libio/putchar_u.c (putchar_unlocked): Likewise.
24378         * libio/putwc.c (putwc): Likewise.
24379         * libio/putwc_u.c (putwc_unlocked): Likewise.
24380         * libio/putwchar.c (putwchar): Likewise.
24381         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24382         * libio/rewind.c (rewind): Likewise.
24383         * libio/setbuf.c (setbuf): Likewise.
24384         * libio/setlinebuf.c (setlinebuf): Likewise.
24385         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24386         * libio/vscanf.c (_IO_vscanf): Likewise.
24387         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24388         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24389         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24390         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24391         (_IO_switch_to_main_wget_area): Likewise.
24392         (_IO_switch_to_wbackup_area): Likewise.
24393         (_IO_wsetb): Likewise.
24394         (_IO_wdefault_pbackfail): Likewise.
24395         (_IO_wdefault_finish): Likewise.
24396         (_IO_wdefault_uflow): Likewise.
24397         (__woverflow): Likewise.
24398         (__wuflow): Likewise.
24399         (__wunderflow): Likewise.
24400         (_IO_wdefault_xsputn): Likewise.
24401         (_IO_wdefault_xsgetn): Likewise.
24402         (_IO_wdoallocbuf): Likewise.
24403         (_IO_wdefault_doallocate): Likewise.
24404         (_IO_switch_to_wget_mode): Likewise.
24405         (_IO_free_wbackup_area): Likewise.
24406         (_IO_switch_to_wput_mode): Likewise.
24407         (_IO_sputbackwc): Likewise.
24408         (_IO_sungetwc): Likewise.
24409         (_IO_adjust_wcolumn): Likewise.
24410         (_IO_init_wmarker): Likewise.
24411         (_IO_wmarker_delta): Likewise.
24412         (_IO_seekwmark): Likewise.
24413         (_IO_unsave_wmarkers): Likewise.
24414         * libio/wmemstream.c (open_wmemstream): Likewise.
24415         (_IO_wmem_sync): Likewise.
24416         (_IO_wmem_finish): Likewise.
24417         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24418         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24419         * locale/programs/simple-hash.c (init_hash): Likewise.
24420         (delete_hash): Likewise.
24421         (insert_entry): Likewise.
24422         (set_entry): Likewise.
24423         (next_prime): Likewise.
24424         (is_prime): Likewise.
24425         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24426         (xmalloc): Likewise.
24427         (xrealloc): Likewise.
24428         * locale/programs/xstrdup.c (xstrdup): Likewise.
24429         * localedata/collate-test.c (xstrcoll): Likewise.
24430         * localedata/xfrm-test.c (xstrcmp): Likewise.
24431         * login/getlogin_r.c (__getlogin_r): Likewise.
24432         * login/getpt.c (__posix_openpt): Likewise.
24433         * login/login_tty.c (login_tty): Likewise.
24434         * login/setlogin.c (setlogin): Likewise.
24435         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24436         (mach_msg_destroy_port): Likewise.
24437         (mach_msg_destroy_memory): Likewise.
24438         * malloc/mcheck.c (flood): Likewise.
24439         * misc/acct.c (acct): Likewise.
24440         * misc/brk.c (__brk): Likewise.
24441         * misc/chflags.c (chflags): Likewise.
24442         * misc/chroot.c (chroot): Likewise.
24443         * misc/fchflags.c (fchflags): Likewise.
24444         * misc/fstab.c (getfsspec): Likewise.
24445         (getfsfile): Likewise.
24446         * misc/fsync.c (fsync): Likewise.
24447         * misc/ftruncate.c (__ftruncate): Likewise.
24448         * misc/ftruncate64.c (__ftruncate64): Likewise.
24449         * misc/getdomain.c (getdomainname): Likewise.
24450         (getdomainname): Likewise.
24451         * misc/gethostname.c (__gethostname): Likewise.
24452         * misc/getpass.c (getpass): Likewise.
24453         * misc/getttyent.c (skip): Likewise.
24454         (value): Likewise.
24455         * misc/gtty.c (gtty): Likewise.
24456         * misc/hsearch.c (hsearch): Likewise.
24457         (hcreate): Likewise.
24458         * misc/hsearch_r.c (__hcreate_r): Likewise.
24459         (__hdestroy_r): Likewise.
24460         * misc/ioctl.c (__ioctl): Likewise.
24461         * misc/mkdtemp.c (mkdtemp): Likewise.
24462         * misc/mkostemp.c (mkostemp): Likewise.
24463         * misc/mkostemp64.c (mkostemp64): Likewise.
24464         * misc/mkostemps.c (mkostemps): Likewise.
24465         * misc/mkostemps64.c (mkostemps64): Likewise.
24466         * misc/mkstemp.c (mkstemp): Likewise.
24467         * misc/mkstemp64.c (mkstemp64): Likewise.
24468         * misc/mkstemps.c (mkstemps): Likewise.
24469         * misc/mkstemps64.c (mkstemps64): Likewise.
24470         * misc/mktemp.c (__mktemp): Likewise.
24471         * misc/preadv.c (preadv): Likewise.
24472         * misc/preadv64.c (preadv64): Likewise.
24473         * misc/pwritev.c (pwritev): Likewise.
24474         * misc/pwritev64.c (pwritev64): Likewise.
24475         * misc/readv.c (__readv): Likewise.
24476         * misc/revoke.c (revoke): Likewise.
24477         * misc/setdomain.c (setdomainname): Likewise.
24478         * misc/setegid.c (setegid): Likewise.
24479         * misc/seteuid.c (seteuid): Likewise.
24480         * misc/sethostid.c (sethostid): Likewise.
24481         * misc/sethostname.c (sethostname): Likewise.
24482         * misc/setregid.c (__setregid): Likewise.
24483         * misc/setreuid.c (__setreuid): Likewise.
24484         * misc/sstk.c (sstk): Likewise.
24485         * misc/stty.c (stty): Likewise.
24486         * misc/syscall.c (syscall): Likewise.
24487         * misc/syslog.c (setlogmask): Likewise.
24488         * misc/truncate.c (__truncate): Likewise.
24489         * misc/truncate64.c (truncate64): Likewise.
24490         * misc/ualarm.c (ualarm): Likewise.
24491         * misc/usleep.c (usleep): Likewise.
24492         * misc/ustat.c (ustat): Likewise.
24493         * misc/writev.c (__writev): Likewise.
24494         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24495         * nptl/old_pthread_cond_broadcast.c
24496         (__pthread_cond_broadcast_2_0): Likewise.
24497         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24498         Likewise.
24499         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24500         Likewise.
24501         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24502         Likewise.
24503         * nptl/pt-raise.c (raise): Likewise.
24504         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24505         Likewise.
24506         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24507         * nptl/pthread_barrierattr_destroy.c
24508         (pthread_barrierattr_destroy): Likewise.
24509         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24510         Likewise.
24511         * nptl/pthread_barrierattr_setpshared.c
24512         (pthread_barrierattr_setpshared): Likewise.
24513         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24514         Likewise.
24515         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24516         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24517         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24518         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24519         Likewise.
24520         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24521         Likewise.
24522         * nptl/pthread_condattr_getpshared.c
24523         (pthread_condattr_getpshared): Likewise.
24524         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24525         Likewise.
24526         * nptl/pthread_condattr_setpshared.c
24527         (pthread_condattr_setpshared): Likewise.
24528         * nptl/pthread_detach.c (pthread_detach): Likewise.
24529         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24530         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24531         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24532         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24533         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24534         Likewise.
24535         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24536         Likewise.
24537         * nptl/pthread_mutex_getprioceiling.c
24538         (pthread_mutex_getprioceiling): Likewise.
24539         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24540         Likewise.
24541         * nptl/pthread_mutexattr_getprotocol.c
24542         (pthread_mutexattr_getprotocol): Likewise.
24543         * nptl/pthread_mutexattr_getpshared.c
24544         (pthread_mutexattr_getpshared): Likewise.
24545         * nptl/pthread_mutexattr_getrobust.c
24546         (pthread_mutexattr_getrobust): Likewise.
24547         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24548         Likewise.
24549         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24550         Likewise.
24551         * nptl/pthread_mutexattr_setprioceiling.c
24552         (pthread_mutexattr_setprioceiling): Likewise.
24553         * nptl/pthread_mutexattr_setprotocol.c
24554         (pthread_mutexattr_setprotocol): Likewise.
24555         * nptl/pthread_mutexattr_setpshared.c
24556         (pthread_mutexattr_setpshared): Likewise.
24557         * nptl/pthread_mutexattr_setrobust.c
24558         (pthread_mutexattr_setrobust): Likewise.
24559         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24560         Likewise.
24561         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24562         Likewise.
24563         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24564         Likewise.
24565         * nptl/pthread_rwlockattr_getkind_np.c
24566         (pthread_rwlockattr_getkind_np): Likewise.
24567         * nptl/pthread_rwlockattr_getpshared.c
24568         (pthread_rwlockattr_getpshared): Likewise.
24569         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24570         Likewise.
24571         * nptl/pthread_rwlockattr_setkind_np.c
24572         (pthread_rwlockattr_setkind_np): Likewise.
24573         * nptl/pthread_rwlockattr_setpshared.c
24574         (pthread_rwlockattr_setpshared): Likewise.
24575         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24576         Likewise.
24577         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24578         Likewise.
24579         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24580         Likewise.
24581         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24582         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24583         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24584         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24585         * nptl/sem_close.c (sem_close): Likewise.
24586         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24587         * nptl/sem_init.c (__old_sem_init): Likewise.
24588         * nptl/sigaction.c (__sigaction): Likewise.
24589         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24590         * posix/_exit.c (_exit): Likewise.
24591         * posix/alarm.c (alarm): Likewise.
24592         * posix/confstr.c (confstr): Likewise.
24593         * posix/fpathconf.c (__fpathconf): Likewise.
24594         * posix/getgroups.c (__getgroups): Likewise.
24595         * posix/getpgid.c (__getpgid): Likewise.
24596         * posix/group_member.c (__group_member): Likewise.
24597         * posix/pathconf.c (__pathconf): Likewise.
24598         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24599         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24600         * posix/setgid.c (__setgid): Likewise.
24601         * posix/setpgid.c (__setpgid): Likewise.
24602         * posix/setuid.c (__setuid): Likewise.
24603         * posix/sleep.c (__sleep): Likewise.
24604         * posix/sysconf.c (__sysconf): Likewise.
24605         * posix/times.c (__times): Likewise.
24606         * posix/uname.c (__uname): Likewise.
24607         * posix/waitid.c (__waitid): Likewise.
24608         * pwd/getpw.c (__getpw): Likewise.
24609         * resolv/base64.c (b64_pton): Likewise.
24610         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24611         * resolv/gethnamaddr.c (Dprintf): Likewise.
24612         (gethostbyname): Likewise.
24613         (gethostbyname2): Likewise.
24614         (gethostbyaddr): Likewise.
24615         (_sethtent): Likewise.
24616         (_gethtbyname): Likewise.
24617         (_gethtbyname2): Likewise.
24618         (_gethtbyaddr): Likewise.
24619         (map_v4v6_address): Likewise.
24620         (map_v4v6_hostent): Likewise.
24621         (addrsort): Likewise.
24622         (ht_sethostent): Likewise.
24623         (ht_gethostbyname): Likewise.
24624         (ht_gethostbyaddr): Likewise.
24625         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24626         (inet_net_ntop_ipv4): Likewise.
24627         * resolv/inet_neta.c (inet_neta): Likewise.
24628         * resolv/inet_ntop.c (inet_ntop): Likewise.
24629         (inet_ntop4): Likewise.
24630         (inet_ntop6): Likewise.
24631         * resolv/inet_pton.c (__inet_pton): Likewise.
24632         (inet_pton4): Likewise.
24633         (inet_pton6): Likewise.
24634         * resolv/res_debug.c (loc_aton): Likewise.
24635         (loc_ntoa): Likewise.
24636         * resource/getpriority.c (__getpriority): Likewise.
24637         * resource/getrusage.c (__getrusage): Likewise.
24638         * resource/nice.c (nice): Likewise.
24639         * resource/setpriority.c (__setpriority): Likewise.
24640         * resource/setrlimit64.c (setrlimit64): Likewise.
24641         * resource/vlimit.c (vlimit): Likewise.
24642         * resource/vtimes.c (vtimes): Likewise.
24643         * rt/aio_error.c (aio_error): Likewise.
24644         * rt/aio_return.c (aio_return): Likewise.
24645         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24646         * signal/kill.c (__kill): Likewise.
24647         * signal/killpg.c (killpg): Likewise.
24648         * signal/raise.c (raise): Likewise.
24649         * signal/sigaction.c (__sigaction): Likewise.
24650         * signal/sigaddset.c (sigaddset): Likewise.
24651         * signal/sigaltstack.c (sigaltstack): Likewise.
24652         * signal/sigandset.c (sigandset): Likewise.
24653         * signal/sigblock.c (__sigblock): Likewise.
24654         * signal/sigdelset.c (sigdelset): Likewise.
24655         * signal/sigempty.c (sigemptyset): Likewise.
24656         * signal/sigfillset.c (sigfillset): Likewise.
24657         * signal/sighold.c (sighold): Likewise.
24658         * signal/sigignore.c (sigignore): Likewise.
24659         * signal/sigintr.c (siginterrupt): Likewise.
24660         * signal/sigisempty.c (sigisemptyset): Likewise.
24661         * signal/sigismem.c (sigismember): Likewise.
24662         * signal/signal.c (signal): Likewise.
24663         * signal/sigorset.c (sigorset): Likewise.
24664         * signal/sigpause.c (__sigpause): Likewise.
24665         * signal/sigpending.c (sigpending): Likewise.
24666         * signal/sigprocmask.c (__sigprocmask): Likewise.
24667         * signal/sigrelse.c (sigrelse): Likewise.
24668         * signal/sigreturn.c (__sigreturn): Likewise.
24669         * signal/sigset.c (sigset): Likewise.
24670         * signal/sigsetmask.c (__sigsetmask): Likewise.
24671         * signal/sigstack.c (sigstack): Likewise.
24672         * signal/sigsuspend.c (__sigsuspend): Likewise.
24673         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24674         * signal/sysv_signal.c (__sysv_signal): Likewise.
24675         * socket/accept.c (accept): Likewise.
24676         * socket/accept4.c (__libc_accept4): Likewise.
24677         * socket/bind.c (__bind): Likewise.
24678         * socket/connect.c (__connect): Likewise.
24679         * socket/getpeername.c (getpeername): Likewise.
24680         * socket/getsockname.c (__getsockname): Likewise.
24681         * socket/getsockopt.c (getsockopt): Likewise.
24682         * socket/listen.c (__listen): Likewise.
24683         * socket/recv.c (__recv): Likewise.
24684         * socket/recvmsg.c (__recvmsg): Likewise.
24685         * socket/send.c (__send): Likewise.
24686         * socket/sendmsg.c (__sendmsg): Likewise.
24687         * socket/shutdown.c (shutdown): Likewise.
24688         * socket/sockatmark.c (sockatmark): Likewise.
24689         * socket/socket.c (__socket): Likewise.
24690         * stdio-common/ctermid.c (ctermid): Likewise.
24691         * stdio-common/cuserid.c (cuserid): Likewise.
24692         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24693         * stdio-common/remove.c (remove): Likewise.
24694         * stdio-common/rename.c (rename): Likewise.
24695         * stdio-common/renameat.c (renameat): Likewise.
24696         * stdio-common/tempname.c (__gen_tempname): Likewise.
24697         * stdio-common/xbug.c (InitBuffer): Likewise.
24698         (AppendToBuffer): Likewise.
24699         (ReadFile): Likewise.
24700         * stdlib/a64l.c (a64l): Likewise.
24701         * stdlib/drand48_r.c (drand48_r): Likewise.
24702         * stdlib/getcontext.c (getcontext): Likewise.
24703         * stdlib/getenv.c (getenv): Likewise.
24704         * stdlib/l64a.c (l64a): Likewise.
24705         * stdlib/llabs.c (llabs): Likewise.
24706         * stdlib/lldiv.c (lldiv): Likewise.
24707         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24708         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24709         * stdlib/putenv.c (putenv): Likewise.
24710         * stdlib/random.c (__srandom): Likewise.
24711         (__initstate): Likewise.
24712         (__setstate): Likewise.
24713         * stdlib/random_r.c (__srandom_r): Likewise.
24714         (__setstate_r): Likewise.
24715         (__random_r): Likewise.
24716         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24717         * stdlib/setcontext.c (setcontext): Likewise.
24718         * stdlib/setenv.c (setenv): Likewise.
24719         (unsetenv): Likewise.
24720         * stdlib/srand48.c (srand48): Likewise.
24721         * stdlib/srand48_r.c (__srand48_r): Likewise.
24722         * stdlib/swapcontext.c (swapcontext): Likewise.
24723         * stdlib/system.c (__libc_system): Likewise.
24724         * stdlib/tst-strtod.c (expand): Likewise.
24725         * stdlib/tst-strtol.c (expand): Likewise.
24726         * stdlib/tst-strtoll.c (expand): Likewise.
24727         * streams/fattach.c (fattach): Likewise.
24728         * streams/fdetach.c (fdetach): Likewise.
24729         * streams/getmsg.c (getmsg): Likewise.
24730         * streams/isastream.c (isastream): Likewise.
24731         * string/ffs.c (__ffs): Likewise.
24732         * string/ffsll.c (ffsll): Likewise.
24733         * string/memcmp.c (memcmp_common_alignment): Likewise.
24734         (memcmp_not_common_alignment): Likewise.
24735         (MEMCMP): Likewise.
24736         * string/memcpy.c (memcpy): Likewise.
24737         * string/memmove.c (MEMMOVE): Likewise.
24738         * string/memset.c (memset): Likewise.
24739         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24740         * string/strchrnul.c (STRCHRNUL): Likewise.
24741         * string/strerror.c (strerror): Likewise.
24742         * string/strndup.c (__strndup): Likewise.
24743         * string/strverscmp.c (__strverscmp): Likewise.
24744         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24745         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24746         (clnttcp_freeres): Likewise.
24747         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24748         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24749         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24750         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24751         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24752         (xdr_callhdr): Likewise.
24753         * sunrpc/rpcinfo.c (udpping): Likewise.
24754         (tcpping): Likewise.
24755         (pstatus): Likewise.
24756         (pmapdump): Likewise.
24757         (brdcst): Likewise.
24758         (deletereg): Likewise.
24759         (getprognum): Likewise.
24760         (getvers): Likewise.
24761         (get_inet_address): Likewise.
24762         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24763         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24764         (svcudp_stat): Likewise.
24765         (svcudp_recv): Likewise.
24766         (svcudp_reply): Likewise.
24767         (svcudp_getargs): Likewise.
24768         (svcudp_freeargs): Likewise.
24769         (svcudp_destroy): Likewise.
24770         * sunrpc/xdr.c (xdr_bytes): Likewise.
24771         (xdr_netobj): Likewise.
24772         (xdr_string): Likewise.
24773         (xdr_wrapstring): Likewise.
24774         * sunrpc/xdr_float.c (xdr_float): Likewise.
24775         (xdr_double): Likewise.
24776         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24777         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24778         * sysvipc/ftok.c (ftok): Likewise.
24779         * sysvipc/msgctl.c (msgctl): Likewise.
24780         * sysvipc/msgget.c (msgget): Likewise.
24781         * sysvipc/msgrcv.c (msgrcv): Likewise.
24782         * sysvipc/msgsnd.c (msgsnd): Likewise.
24783         * sysvipc/semget.c (semget): Likewise.
24784         * sysvipc/semop.c (semop): Likewise.
24785         * sysvipc/shmat.c (shmat): Likewise.
24786         * sysvipc/shmctl.c (shmctl): Likewise.
24787         * sysvipc/shmdt.c (shmdt): Likewise.
24788         * sysvipc/shmget.c (shmget): Likewise.
24789         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24790         * termios/speed.c (cfgetospeed): Likewise.
24791         (cfgetispeed): Likewise.
24792         (cfsetospeed): Likewise.
24793         (cfsetispeed): Likewise.
24794         * termios/tcflow.c (tcflow): Likewise.
24795         * termios/tcflush.c (tcflush): Likewise.
24796         * termios/tcgetattr.c (__tcgetattr): Likewise.
24797         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24798         * termios/tcgetsid.c (tcgetsid): Likewise.
24799         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24800         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24801         * time/adjtime.c (__adjtime): Likewise.
24802         * time/dysize.c (dysize): Likewise.
24803         * time/ftime.c (ftime): Likewise.
24804         * time/getitimer.c (__getitimer): Likewise.
24805         * time/gettimeofday.c (__gettimeofday): Likewise.
24806         * time/gmtime.c (__gmtime_r): Likewise.
24807         (gmtime): Likewise.
24808         * time/localtime.c (__localtime_r): Likewise.
24809         (localtime): Likewise.
24810         * time/offtime.c (__offtime): Likewise.
24811         * time/settimeofday.c (__settimeofday): Likewise.
24812         * time/stime.c (stime): Likewise.
24813         * time/strftime_l.c (tm_diff): Likewise.
24814         (iso_week_days): Likewise.
24815         * time/strptime.c (strptime): Likewise.
24816         * time/time.c (time): Likewise.
24817         * time/timespec_get.c (timespec_get): Likewise.
24818         * time/tzset.c (tzset_internal): Likewise.
24819         (compute_change): Likewise.
24820         (__tz_compute): Likewise.
24821         * wcsmbs/btowc.c (__btowc): Likewise.
24822         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24823         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24824         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24825         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24826         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24827         * wcsmbs/wcscat.c (__wcscat): Likewise.
24828         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24829         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24830         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24831         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24832         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24833         * wcsmbs/wcslen.c (__wcslen): Likewise.
24834         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24835         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24836         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24837         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24838         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24839         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24840         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24841         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24842         * wcsmbs/wcstok.c (wcstok): Likewise.
24843         * wcsmbs/wctob.c (wctob): Likewise.
24844         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24845         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24846         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24847         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24848         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24849         * wcsmbs/wmemset.c (__wmemset): Likewise.
24850         * wctype/wcfuncs.c (__towlower): Likewise.
24851         (__towupper): Likewise.
24853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24854         (lll_unlock_elision): Add adapt_count parameter.
24856 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24858         * sysdeps/nptl/configure.ac: Do not give errors based on the
24859         results of top-level configure tests.
24860         * sysdeps/nptl/configure: Regenerated.
24862         * configure.ac (libc_cv_Bgroup): Remove configure test.
24863         * configure: Regenerated.
24864         * config.make.in (have-Bgroup): Remove variable.
24866         * configure.ac (sizeof_long_double): Remove configure test.
24867         * configure: Regenerated.
24868         * config.make.in (sizeof-long-double): Remove variable.
24870         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24871         * configure: Regenerated.
24872         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24873         variable.
24874         (exceptions): Likewise.
24875         * sysdeps/arm/configure: Regenerated.
24876         * config.make.in (exceptions): Remove variable.
24877         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24878         $(exceptions).
24879         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24880         (CFLAGS-vdprintf_chk.c): Likewise.
24881         (CFLAGS-printf_chk.c): Likewise.
24882         (CFLAGS-fprintf_chk.c): Likewise.
24883         (CFLAGS-vprintf_chk.c): Likewise.
24884         (CFLAGS-vfprintf_chk.c): Likewise.
24885         (CFLAGS-gets_chk.c): Likewise.
24886         (CFLAGS-fgets_chk.c): Likewise.
24887         (CFLAGS-fgets_u_chk.c): Likewise.
24888         (CFLAGS-fread_chk.c): Likewise.
24889         (CFLAGS-fread_u_chk.c): Likewise.
24890         (CFLAGS-wprintf_chk.c): Likewise.
24891         (CFLAGS-fwprintf_chk.c): Likewise.
24892         (CFLAGS-vwprintf_chk.c): Likewise.
24893         (CFLAGS-vfwprintf_chk.c): Likewise.
24894         (CFLAGS-fgetws_chk.c): Likewise.
24895         (CFLAGS-fgetws_u_chk.c): Likewise.
24896         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24897         (CFLAGS-fputc.c): Likewise.
24898         (CFLAGS-fputwc.c): Likewise.
24899         (CFLAGS-freopen64.c): Likewise.
24900         (CFLAGS-freopen.c): Likewise.
24901         (CFLAGS-fseek.c): Likewise.
24902         (CFLAGS-fseeko64.c): Likewise.
24903         (CFLAGS-fseeko.c): Likewise.
24904         (CFLAGS-ftello64.c): Likewise.
24905         (CFLAGS-ftello.c): Likewise.
24906         (CFLAGS-fwide.c): Likewise.
24907         (CFLAGS-genops.c): Likewise.
24908         (CFLAGS-getc.c): Likewise.
24909         (CFLAGS-getchar.c): Likewise.
24910         (CFLAGS-getwc.c): Likewise.
24911         (CFLAGS-getwchar.c): Likewise.
24912         (CFLAGS-iofclose.c): Likewise.
24913         (CFLAGS-iofflush.c): Likewise.
24914         (CFLAGS-iofgetpos64.c): Likewise.
24915         (CFLAGS-iofgetpos.c): Likewise.
24916         (CFLAGS-iofgets.c): Likewise.
24917         (CFLAGS-iofgetws.c): Likewise.
24918         (CFLAGS-iofputs.c): Likewise.
24919         (CFLAGS-iofputws.c): Likewise.
24920         (CFLAGS-iofread.c): Likewise.
24921         (CFLAGS-iofsetpos64.c): Likewise.
24922         (CFLAGS-iofsetpos.c): Likewise.
24923         (CFLAGS-ioftell.c): Likewise.
24924         (CFLAGS-iofwrite.c): Likewise.
24925         (CFLAGS-iogetdelim.c): Likewise.
24926         (CFLAGS-iogetline.c): Likewise.
24927         (CFLAGS-iogets.c): Likewise.
24928         (CFLAGS-iogetwline.c): Likewise.
24929         (CFLAGS-ioputs.c): Likewise.
24930         (CFLAGS-ioseekoff.c): Likewise.
24931         (CFLAGS-ioseekpos.c): Likewise.
24932         (CFLAGS-iosetbuffer.c): Likewise.
24933         (CFLAGS-iosetvbuf.c): Likewise.
24934         (CFLAGS-ioungetc.c): Likewise.
24935         (CFLAGS-ioungetwc.c): Likewise.
24936         (CFLAGS-oldfileops.c): Likewise.
24937         (CFLAGS-oldiofclose.c): Likewise.
24938         (CFLAGS-oldiofgetpos64.c): Likewise.
24939         (CFLAGS-oldiofgetpos.c): Likewise.
24940         (CFLAGS-oldiofsetpos64.c): Likewise.
24941         (CFLAGS-oldiofsetpos.c): Likewise.
24942         (CFLAGS-peekc.c): Likewise.
24943         (CFLAGS-putc.c): Likewise.
24944         (CFLAGS-putchar.c): Likewise.
24945         (CFLAGS-putwc.c): Likewise.
24946         (CFLAGS-putwchar.c): Likewise.
24947         (CFLAGS-rewind.c): Likewise.
24948         (CFLAGS-wfileops.c): Likewise.
24949         (CFLAGS-wgenops.c): Likewise.
24950         (CFLAGS-oldiofopen.c): Likewise.
24951         (CFLAGS-iofopen.c): Likewise.
24952         (CFLAGS-iofopen64.c): Likewise.
24953         (CFLAGS-oldtmpfile.c): Likewise.
24954         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24955         (CFLAGS-fprintf.c): Likewise.
24956         (CFLAGS-printf.c): Likewise.
24957         (CFLAGS-vfwprintf.c): Likewise.
24958         (CFLAGS-vfscanf.c): Likewise.
24959         (CFLAGS-vfwscanf.c): Likewise.
24960         (CFLAGS-fscanf.c): Likewise.
24961         (CFLAGS-scanf.c): Likewise.
24962         (CFLAGS-isoc99_vfscanf.c): Likewise.
24963         (CFLAGS-isoc99_vscanf.c): Likewise.
24964         (CFLAGS-isoc99_fscanf.c): Likewise.
24965         (CFLAGS-isoc99_scanf.c): Likewise.
24966         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24967         (CFLAGS-isoc99_fwscanf.c): Likewise.
24968         (CFLAGS-isoc99_vwscanf.c): Likewise.
24969         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24971         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24972         after mkstemp64.
24973         * login/tst-utmp.c (do_prepare): Likewise.
24974         * rt/tst-aio.c (do_prepare): Likewise.
24975         * rt/tst-aio64.c (do_prepare): Likewise.
24977 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24979         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24980         (__lll_lock_elision): Remove adapt_count decrement...
24981         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24982         (__lll_trylock_elision): Likewise.
24983         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24984         (__lll_unlock_elision): ... to here. And utilize
24985         new adapt_count parameter.
24986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24987         (__lll_unlock_elision): Update to include adapt_count
24988         parameter.
24989         (lll_unlock_elision): Pass pointer to adapt_count
24990         variable.
24992 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24994         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24995         Add elision adapt_count parameter to list of arguments.
24996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24997         (lll_unlock_elision): Update with new parameter list
24998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24999         (lll_unlock_elision): Likewise.
25000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25001         (lll_unlock_elision): Likewise.
25003 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25005         [BZ #19122]
25006         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25007         attribute_hidden.
25009         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25010         attribute_hidden.
25011         [IS_IN (rtld)] (__strdup): Likewise.
25012         [IS_IN (rtld)] (__strerror_r): Likewise.
25013         [IS_IN (rtld)] (__strsep_g): Likewise.
25014         [IS_IN (rtld)] (memchr): Likewise.
25015         [IS_IN (rtld)] (memcmp): Likewise.
25016         [IS_IN (rtld)] (memcpy): Likewise.
25017         [IS_IN (rtld)] (memmove): Likewise.
25018         [IS_IN (rtld)] (memset): Likewise.
25019         [IS_IN (rtld)] (rawmemchr): Likewise.
25020         [IS_IN (rtld)] (stpcpy): Likewise.
25021         [IS_IN (rtld)] (strchr): Likewise.
25022         [IS_IN (rtld)] (strcmp): Likewise.
25023         [IS_IN (rtld)] (strlen): Likewise.
25024         [IS_IN (rtld)] (strnlen): Likewise.
25025         [IS_IN (rtld)] (strsep): Likewise.
25027         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25028         attribute_hidden.
25029         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25031         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25032         attribute_hidden.
25033         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25035         * include/setjmp.h (__longjmp): Add attribute_hidden.
25036         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25038         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25039         Add attribute_hidden.
25041         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25042         [IS_IN (rtld)] (__open): Likewise.
25043         [IS_IN (rtld)] (__fcntl): Likewise.
25045         * include/dirent.h (__opendirat): Add attribute_hidden.
25046         (__getdents): Likewise.
25047         (__getdents64): Likewise.
25048         (__alloc_dir): Likewise.
25049         [IS_IN (rtld)] (__closedir): Likewise.
25050         [IS_IN (rtld)] (__fdopendir): Likewise.
25051         [IS_IN (rtld)] (__readdir): Likewise.
25052         [IS_IN (rtld)] (__readdir64): Likewise.
25053         [IS_IN (rtld)] (__rewinddir): Likewise.
25055         * include/dlfcn.h (_dl_catch_error): Moved to ...
25056         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25057         attribute_hidden.
25059         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25060         (_itoa_word): Likewise.
25062         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25063         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25064         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25065         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25066         (_dl_higher_prime_number): Likewise.
25067         (_dl_debug_printf_c): Likewise.
25068         (_dl_signal_cerror): Likewise.
25069         (_dl_receive_error): Likewise.
25070         (_dl_reloc_bad_type): Likewise.
25071         (_dl_resolve_conflicts): Likewise.
25072         (_dl_check_all_versions): Likewise.
25073         (_dl_check_map_versions): Likewise.
25074         (_dl_sort_fini): Likewise.
25075         (_dl_debug_initialize): Likewise.
25076         (_dl_init_paths): Likewise.
25077         (_dl_show_auxv): Likewise.
25078         (_dl_next_ld_env_entry): Likewise.
25079         (_dl_important_hwcaps): Likewise.
25080         (_dl_load_cache_lookup): Likewise.
25081         (_dl_update_slotinfo): Likewise.
25082         (_dl_show_scope): Likewise.
25084         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25085         attribute_hidden.
25086         (_wordcopy_fwd_dest_aligned): Likewise.
25087         (_wordcopy_bwd_aligned): Likewise.
25088         (_wordcopy_bwd_dest_aligned): Likewise.
25090         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25091         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25092         Likewise.
25093         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25094         Likewise.
25095         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25097 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25100         GCC 5 requirement.
25102 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25104         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25105         test.
25106         * sysdeps/i386/configure: Regenerated.
25107         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25108         code unconditional.
25110         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25111         test.
25112         (libc_cv_asm_popsection_directive): Likewise.
25113         * configure: Regenerated.
25114         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25115         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25116         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25117         (__make_section_unallocated): Make definition unconditional.
25118         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25119         Remove conditional definition.
25120         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25121         (__make_section_unallocated): Likewise.
25123         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25124         * configure: Regenerated.
25125         * config.make.in (static-libgcc): Remove variable.
25126         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25127         $(static-libgcc).
25128         (build-module-helper): Likewise.
25130         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25131         * configure: Regenerated.
25133 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25135         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25136         (struct char_buffer): New type.
25137         (char_buffer_start, char_buffer_size, char_buffer_error)
25138         (char_buffer_rewind, char_buffer_add): New functions.
25139         (ADDW): Remove macro, replaced by the char_buffer_add function.
25140         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25141         of extend_alloca.  Make control flow more explicit.
25143 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25145         [BZ #19137]
25146         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25147         Add -fomit-frame-pointer.
25148         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25150 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25152         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25153         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25154         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25155         only if !__GNUC_PREREQ (5,0).
25156         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25157         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25158         (INTERNAL_SYSCALL_NCS): Likewise.
25159         (LOADREGS_0): New macro for GCC 5.
25160         (ASMARGS_0): Likewise.
25161         (LOADREGS_1): Likewise.
25162         (ASMARGS_1): Likewise.
25163         (LOADREGS_2): Likewise.
25164         (ASMARGS_2): Likewise.
25165         (LOADREGS_3): Likewise.
25166         (ASMARGS_3): Likewise.
25167         (LOADREGS_4): Likewise.
25168         (ASMARGS_4): Likewise.
25169         (LOADREGS_5): Likewise.
25170         (ASMARGS_5): Likewise.
25171         (LOADREGS_6): Likewise.
25172         (ASMARGS_6): Likewise.
25174 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25176         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25177         -fomit-frame-pointer.
25178         (CFLAGS-mmap64.c): Likewise.
25179         (CFLAGS-semtimedop.c): Likewise.
25180         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25181         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25182         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25183         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25185 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25187         [BZ #18928]
25188         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25189         _dl_pointer_guard member.
25190         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25191         initializer.
25192         (security_init): Always set up pointer guard.
25193         (process_envvars): Do not process LD_POINTER_GUARD.
25195 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25197         [BZ #19134]
25198         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25199         (.LC2): Likewise.
25200         (.LC3): Likewise.
25201         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25203 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25205         [BZ #19129]
25206         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25207         r0 and r1.
25209 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25211         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25213 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25215         * include/stap-probe.h: Fix macro definition formatting.
25217 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25219         [BZ #19074]
25220         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25221         load and store num_ifs.
25223 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25225         [BZ #18822]
25226         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25227         (__sched_getaffinity_new): Add libc_hidden_proto and
25228         libc_hidden_def.
25230 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25232         [BZ #19007]
25233         * scripts/localplt.awk: Also allow GOT references.
25234         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25235         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25236         with "+ REL R_386_GLOB_DAT".
25237         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25238         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25240 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25242         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25243         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25244         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25245         Likewise.
25246         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25247         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25248         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25249         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25250         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25251         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25252         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25253         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25254         Likewise.
25255         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25257 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25259         [BZ #19125]
25260         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25261         <math_private.h> and <stdint.h>.
25262         (__llround): Avoid conversions to and from long long int, and
25263         subtractions, where those might raise spurious exceptions.
25264         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25265         <math_private.h> and <stdint.h>.
25266         (__llroundf): Avoid conversions to and from long long int, and
25267         subtractions, where those might raise spurious exceptions.
25269 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25271         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25272         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25273         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25274         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25275         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25276         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25277         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25278         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25279         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25280         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25281         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25282         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25283         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25284         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25285         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25286         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25287         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25288         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25289         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25290         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25291         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25292         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25293         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25294         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25295         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25296         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25297         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25298         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25299         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25300         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25301         (__xstat64_conv): Likewise.
25302         (__xstat32_conv): Likewise.
25304 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25307         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25308         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25309         <sysdeps/unix/sysv/linux/sysdep.h>.
25310         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25311         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25312         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25313         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25314         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25315         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25316         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25317         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25318         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25323         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25324         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25326         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25327         (sysdep-dl-routines): Add sysdep.
25328         [$(subdir) == nptl] (libpthread-routines): Likewise.
25329         [$(subdir) == rt] (librt-routines): Likewise.
25330         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25331         PIC when branching to SYSCALL_ERROR_LABEL.
25332         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25334         <sysdeps/unix/sysv/linux/sysdep.h>.
25335         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25336         (SYSCALL_ERROR_ERRNO): Removed.
25337         (SYSCALL_ERROR_HANDLER): Changed to empty.
25338         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25339         (__syscall_error): New prototype.
25340         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25341         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25343 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25345         [BZ #19124]
25346         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25347         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25348         _dl_runtime_resolve_avx.
25349         (_dl_runtime_profile_avx512): Make it a hidden alias of
25350         _dl_runtime_profile_avx.
25352 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25354         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25355         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25356         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25357         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25359         [BZ #16422]
25360         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25361         New configure test.
25362         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25363         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25364         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25365         <math_private.h> and <stdint.h>.
25366         (__llrint): Avoid conversions to long long int where those might
25367         raise spurious exceptions.
25368         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25369         <math_private.h> and <stdint.h>.
25370         (__llrintf): Avoid conversions to long long int where those might
25371         raise spurious exceptions.
25373 2015-10-12  Andreas Schwab  <schwab@suse.de>
25375         [BZ #18969]
25376         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25377         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25378         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25379         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25380         $(gen-locales).
25381         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25382         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25383         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25384         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25385         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25386         $(gen-locales).
25387         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25388         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25389         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25390         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25391         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25392         ($(objpfx)tst-ftell-active-handler.out)
25393         ($(objpfx)tst-ftell-append.out)
25394         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25395         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25396         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25397         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25398         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25399         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25400         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25401         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25402         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25403         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25404         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25405         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25406         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25407         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25408         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25409         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25410         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25411         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25412         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25413         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25414         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25415         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25416         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25417         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25418         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25419         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25420         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25421         $(gen-locales).
25422         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25423         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25424         $(gen-locales).
25425         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25426         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25427         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25428         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25429         $(gen-locales).
25430         * libio/tst_wprintf2.c (main): Use explicit locale.
25431         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25433 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25435         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25436         __msg_sig_post.
25437         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25439 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25441         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25442         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25444         * sysdeps/arm/libm-test-ulps: Regenerated.
25446         [BZ #15470]
25447         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25449         [BZ #16399]
25450         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25451         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25452         and <fix-fp-int-convert-overflow.h>.
25453         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25455         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25456         and <fix-fp-int-convert-overflow.h>.
25457         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25459         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25460         <fix-fp-int-convert-overflow.h>.
25461         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25463         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25464         <fix-fp-int-convert-overflow.h>.
25465         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25467         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25468         and <fix-fp-int-convert-overflow.h>.
25469         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25471         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25472         <limits.h> and <fix-fp-int-convert-overflow.h>.
25473         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25475         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25476         and <fix-fp-int-convert-overflow.h>.
25477         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25479         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25480         and <fix-fp-int-convert-overflow.h>.
25481         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25483         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25485 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
25487         [BZ #18589]
25488         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25489         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25490         $(gen-locales).
25492 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25493             Phil Blundell <pb@pbcl.net>
25495         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25496         * nptl/tst-cancel26.c: New file.
25497         * nptl/tst-cancel27.c: Likewise.
25499 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
25501         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25502         __ILP32__ isn't defined.
25503         (lrint): Likewise.
25504         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25505         (lrintf): Likewise.
25506         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25507         (lrintl): Likewise.
25508         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25509         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25510         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25512 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25518         file.
25519         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25520         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25522 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25524         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25525         configure test.
25526         * sysdeps/i386/configure: Regenerated.
25527         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25528         configure test.
25529         * sysdeps/x86_64/configure: Regenerated.
25530         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25531         Make code unconditional.
25533         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25534         test.
25535         * sysdeps/i386/configure: Regenerated.
25536         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25537         test.
25538         * sysdeps/x86_64/configure: Regenerated.
25539         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25540         Make code unconditional.
25541         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25542         Likewise.
25543         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25544         Likewise.
25545         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25546         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25547         code unconditional.
25548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25549         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25550         code unconditional.
25551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25552         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25553         code unconditional.
25554         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25555         code unconditional.
25556         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25557         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25558         code unconditional.
25559         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25560         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25561         code unconditional.
25562         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25563         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25564         code unconditional.
25565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25566         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25567         code unconditional.
25568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25569         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25571         [BZ #19095]
25572         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25573         mantissa to long int before shifting left.
25575 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25577         [BZ #19094]
25578         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25579         <limits.h>.
25580         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25581         when result overflows but exception would not result from cast.
25582         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25583         <limits.h>.
25584         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25585         when result overflows but exception would not result from cast.
25586         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25587         <limits.h>.
25588         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25589         when result overflows but exception would not result from cast.
25590         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25591         <limits.h>.
25592         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25593         when result overflows but exception would not result from cast.
25594         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25595         <limits.h>.
25596         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25597         when result overflows but exception would not result from cast.
25598         * math/libm-test.inc (lrint_test_data): Add more tests.
25599         (llrint_test_data): Likewise.
25601 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25603         [BZ #18872]
25604         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25605         Move out from under [$(run-built-tests) = yes] conditional.
25606         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25607         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25609 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25611         [BZ #18589]
25612         * string/Makefile (tests): Add bug-strcoll2.
25613         (LOCALES): Add cs_CZ.UTF-8.
25614         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25616         [BZ #18589]
25617         * string/bug-strcoll2.c: New file.
25618         * locale/categories.def: Revert commit
25619         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25620         * locale/langinfo.h: Likewise.
25621         * locale/localeinfo.h: Likewise.
25622         * locale/C-collate.c: Likewise.
25623         * locale/programs/ld-collate.c (collate_output): Likewise.
25624         * string/strcoll_l.c (STRDIFF): Likewise.
25625         (STRCOLL): Likewise.
25626         * wcsmbs/wcscoll_l.c: Likewise.
25628 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25630         * math/libm-test.inc (lround_test_data): Do not expect the absence
25631         of "inexact" for some tests with non-integer arguments.
25632         (llround_test_data): Likewise.
25634         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25635         test.
25636         (libc_cv_cc_sse2avx): Likewise.
25637         * sysdeps/i386/configure: Regenerated.
25638         * sysdeps/i386/i686/multiarch/Makefile
25639         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25640         [$(subdir) = math].
25641         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25642         code unconditional.
25643         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25644         Likewise.
25645         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25646         Likewise.
25647         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25648         Likewise.
25649         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25650         test.
25651         (libc_cv_cc_sse2avx): Likewise.
25652         * sysdeps/x86_64/configure: Regenerated.
25653         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25654         unconditional.
25655         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25656         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25657         unconditional.
25658         (_dl_runtime_profile)
25659         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25660         conditional code.
25661         * sysdeps/x86_64/fpu/multiarch/Makefile
25662         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25665         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25666         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25667         * sysdeps/x86_64/fpu/multiarch/e_log.c
25668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25669         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25671         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25672         Likewise.
25673         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25674         Likewise.
25675         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25677         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25678         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25679         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25680         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25681         (HAVE_SSE2AVX_SUPPORT): Likewise.
25683 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25685         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25686         instead of #pragma optimize.
25688 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25690         [BZ #17195]
25691         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25692         as is similarly done in systrim and _int_free already.
25694 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25696         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25698 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25700         [BZ #19088]
25701         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25702         <limits.h>.
25703         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25704         overflows but exception would not result from cast.
25705         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25706         and <limits.h>.
25707         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25708         overflows but exception would not result from cast.
25709         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25710         <limits.h>.
25711         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25712         overflows but exception would not result from cast.
25713         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25714         <limits.h>.
25715         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25716         overflows but exception would not result from cast.
25717         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25718         <limits.h>.
25719         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25720         overflows but exception would not result from cast.
25721         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25722         <limits.h>.
25723         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25724         overflows but exception would not result from cast.
25725         * math/libm-test.inc (lround_test_data): Add more tests.
25726         (llround_test_data): Likewise.
25728 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25730         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25731         (CFLAGS-ialloc.c): Ditto.
25732         (CFLAGS-scheck.c): Ditto.
25734 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25736         [BZ #19086]
25737         * manual/filesys.texi (Storage Allocation): Fix argument order for
25738         posix_fallocate64.
25740 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #19085]
25743         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25744         exponent below 48 inside case for non-overflowing exponent.
25745         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25747 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25749         * iconvdata/cp737.h (from_idx): Add const.
25750         * iconvdata/cp775.h (from_idx): Likewise.
25752 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25754         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25755         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25756         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25758         [BZ #19079]
25759         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25760         file, conditioned on [!_LP64].
25761         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25762         [!_LP64] (__lround): Do not define as function or alias.
25763         [!_LP64] (lround): Likewise.
25764         [!_LP64] (__lroundl): Likewise.
25765         [!_LP64] (lroundl): Likewise.
25766         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25767         macro.
25768         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25769         Likewise.
25771 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25773         * math/libm-test.inc (lrint_test_data): Add more tests.
25774         (llrint_test_data): Likewise.
25775         (lround_test_data): Likewise.
25776         (llround_test_data): Likewise.
25778         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25779         (llrint_test_data): Add tests used for lrint.
25781         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25782         test.
25783         * sysdeps/i386/configure: Regenerated.
25784         * sysdeps/i386/i686/multiarch/Makefile
25785         [$(config-cflags-sse4) = yes]: Make code unconditional.
25786         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25787         Likewise.
25788         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25789         Likewise.
25790         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25791         test.
25792         * sysdeps/x86_64/configure: Regenerated.
25793         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25794         Make code unconditional.
25795         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25796         Likewise.
25797         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25798         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25800         * scripts/rpm2dynsym.sh: Remove file.
25802 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25804         * configure.ac (libc_cv_cxx_thread_local): Define.
25805         * configure: Regenerate.
25806         * config.make.in (have-cxx-thread_local): Define.
25807         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25808         (LDLIBS-tst-thread_local1): Define.
25809         (tests): Add tst-thread_local1.
25810         [have-cxx-thread_local != yes] (tests-unsupported): Add
25811         tst-thread_local1.
25812         * nptl/tst-thread_local1.cc: New file.
25814 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25816         [BZ #19078]
25817         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25818         (u_thres): Likewise.
25819         (__expl): Determine whether to call __kernel_standard_l based on
25820         value of result, not argument.
25822         * math/libm-test.inc (scalb_test_data): Add more expectations for
25823         the "inexact" exception.
25825         [BZ #19077]
25826         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25827         0.0L for argument 1.0L.
25829         [BZ #19076]
25830         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25831         constant 0.0L when computing infinite result.
25833 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25835         [BZ #10432]
25836         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25837         malloc_usable_size.
25839 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25841         [BZ #19018]
25842         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25843         Mangle function pointer before storing it.
25844         (__call_tls_dtors): Demangle function pointer before calling it.
25846 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25848         [BZ #19012]
25849         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25850         Clean up on failure.
25852 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25854         [BZ #19071]
25855         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25856         long int variable to store possibly incremented high part of
25857         mantissa.
25858         * math/libm-test.inc (lround_test_data): Add tests used for
25859         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25860         for tests requiring 64-bit long.  Do not condition tests on
25861         [TEST_FLOAT] unnecessarily.
25862         (llround_test_data): Add tests used for lround.  Add another
25863         expectation for the "inexact" exception.  Do not condition tests
25864         on [TEST_FLOAT] unnecessarily.
25866         [BZ #887]
25867         [BZ #19049]
25868         [BZ #19050]
25869         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25870         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25871         <fix-int-fp-convert-zero.h>.
25872         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25873         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25874         <fix-int-fp-convert-zero.h>.
25875         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25876         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25877         <fix-int-fp-convert-zero.h>.
25878         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25879         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25880         <fix-int-fp-convert-zero.h>.
25881         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25882         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25883         <fix-int-fp-convert-zero.h>.
25884         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25885         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25886         <fix-int-fp-convert-zero.h>.
25887         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25888         * sysdeps/ieee754/flt-32/s_erff.c: Include
25889         <fix-int-fp-convert-zero.h>.
25890         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25891         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25892         <fix-int-fp-convert-zero.h>.
25893         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25895         <fix-int-fp-convert-zero.h>.
25896         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25898         <fix-int-fp-convert-zero.h>.
25899         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25900         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25901         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25902         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25903         file.
25904         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25906 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25910 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25912         [BZ #19059]
25913         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25914         overflowing computation.
25915         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25916         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25917         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25918         Likewise.
25919         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25920         Likewise.
25921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25922         Likewise.
25923         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25924         Likewise.
25925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25926         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25927         Likewise.
25928         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25929         Likewise.
25930         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25932         * nss/rewrite_field.c (__nss_rewrite_field): Use
25933         internal_function.
25934         * nss/valid_field.c (__nss_valid_field): Likewise.
25935         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25937 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25939         [BZ #18724]
25940         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25941         (__nss_invalid_field_characters, __nss_valid_field)
25942         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25943         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25944         tst-field.c: New file.
25945         * nss/Makefile (routines): Add valid_field, rewrite_field.
25946         (tests-static): Define unconditionally.
25947         (tests): Include tests-static.
25948         [build-static-nss] (tests-static): Use append.
25949         [build-static-nss] (tests): Remove modification.
25950         * nss/getent.c (print_group): Call putgrent.  Report error.
25951         (print_gshadow): Call putsgent.  Report error.
25952         (print_passwd): Call putpwent.  Report error.
25953         (print_shadow): Call putspent.  Report error.
25954         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25955         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25956         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25957         name, password, directory, shell fields for valid syntax.  Rewrite
25958         GECOS field to match syntax.
25959         * pwd/Makefile (tests): Add tst-putpwent.
25960         * pwd/tst-putpwent.c: New file.
25961         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25962         Check grName, grpasswd, gr_mem fields for valid syntax.
25963         Change loop variable i to size_t.
25964         * grp/Makefile (tests): Add tst-putgrent.
25965         * grp/tst-putgrent.c: New file.
25966         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25967         valid syntax.
25968         * shadow/Makefile (tests): Add tst-putspent.
25969         * shadow/tst-putspent.c: New file.
25970         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25971         sg_mem fields for valid syntax.
25972         * gshadow/Makefile (tests): Add tst-putsgent.
25973         * gshadow/tst-putsgent.c: New file.
25975 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25977         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25978         assembly instructions.
25980 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25982         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25983         prefix from operands.
25985 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25987         [BZ #16347]
25988         [BZ #19046]
25989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25990         <libc-internal.h>.
25991         (MAXLGM): Do not use diagnostic control macros.
25992         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25993         threshold for ldbl-128ibm.
25994         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25995         instead of multiplying by log then subtracting.
25996         * math/auto-libm-test-in: Add more tests of lgamma.
25997         * math/auto-libm-test-out: Regenerated.
25999         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26000         (TYPE_HEX_DIG): Likewise.
26001         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26002         precisions when printing floating-point numbers.
26003         (check_float_internal): Likewise.
26005 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26007         [BZ #16620]
26008         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26009         of log (10) rounded downward to 48 bits.
26010         (log10_low): Use corresponding low part of log (10).
26012         [BZ #19032]
26013         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26014         compute result as (x - x) / (x - x) not as 0 / 0.
26015         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26016         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26018         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26019         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26020         and expm1.
26021         * math/auto-libm-test-out: Regenerated.
26022         * math/libm-test.inc (acos_test_data): Add more tests.
26023         (asin_test_data): Likewise.
26024         (asinh_test_data): Likewise.
26025         (atan_test_data): Likewise.
26026         (atanh_test_data): Likewise.
26027         (atan2_test_data): Likewise.
26028         (cbrt_test_data): Likewise.
26029         (ceil_test_data): Likewise.
26030         (copysign_test_data): Likewise.
26031         (cos_test_data): Likewise.
26032         (cosh_test_data): Likewise.
26033         (erf_test_data): Likewise.
26034         (erfc_test_data): Likewise.
26035         (exp_test_data): Likewise.
26036         (exp10_test_data): Likewise.
26037         (exp2_test_data): Likewise.
26038         (expm1_test_data): Likewise.
26039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26041 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26043         [BZ #19006]
26044         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26045         to ...
26046         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26047         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26048         to ...
26049         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26050         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26051         to ...
26052         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26053         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26054         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26055         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26056         to ...
26057         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26058         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26059         Moved to ...
26060         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26062         Moved to ...
26063         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26064         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26065         to ...
26066         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26067         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26068         Moved to ...
26069         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26071         to ...
26072         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26073         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26074         Removed.
26075         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26076         Likewise.
26077         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26078         Likewise.
26079         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26080         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26081         Likewise.
26082         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26083         Likewise.
26084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26085         Likewise.
26086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26087         Likewise.
26088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26089         Likewise.
26090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26091         Likewise.
26092         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26093         Likewise.
26094         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26095         Likewise.
26096         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26097         Likewise.
26098         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26099         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26100         Likewise.
26101         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26102         Likewise.
26103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26104         Likewise.
26105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26106         Likewise.
26107         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26108         Likewise.
26109         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26110         Replace ../i486/pthread_cond_timedwait.S with
26111         ../pthread_cond_timedwait.S.
26113 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26115         * math/libm-test.inc (acos_test_data): Refine expectations for
26116         errno and "inexact" exceptions.
26117         (acosh_test_data): Likewise.
26118         (asin_test_data): Likewise.
26119         (asinh_test_data): Likewise.
26120         (atan_test_data): Likewise.
26121         (atanh_test_data): Likewise.
26122         (atan2_test_data): Likewise.
26123         (cbrt_test_data): Likewise.
26124         (ceil_test_data): Likewise.
26125         (copysign_test_data): Likewise.
26126         (cosh_test_data): Likewise.
26127         (erf_test_data): Likewise.
26128         (erfc_test_data): Likewise.
26129         (exp_test_data): Likewise.
26130         (exp10_test_data): Likewise.
26131         (exp2_test_data): Likewise.
26132         (expm1_test_data): Likewise.
26133         (fabs_test_data): Likewise.
26134         (floor_test_data): Likewise.
26135         (fma_test_data): Likewise.
26136         (fmax_test_data): Likewise.
26137         (fmin_test_data): Likewise.
26138         (fmod_test_data): Likewise.
26139         (fpclassify_test_data): Likewise.
26140         (frexp_test_data): Likewise.
26141         (hypot_test_data): Likewise.
26142         (ilogb_test_data): Likewise.
26143         (isgreater_test_data): Likewise.
26144         (isgreaterequal_test_data): Likewise.
26145         (isinf_test_data): Likewise.
26146         (isless_test_data): Likewise.
26147         (islessequal_test_data): Likewise.
26148         (islessgreater_test_data): Likewise.
26149         (isnan_test_data): Likewise.
26150         (isnormal_test_data): Likewise.
26151         (issignaling_test_data): Likewise.
26152         (isunordered_test_data): Likewise.
26153         (j0_test_data): Likewise.
26154         (j1_test_data): Likewise.
26155         (jn_test_data): Likewise.
26156         (lgamma_test_data): Likewise.
26157         (lrint_test_data): Likewise.
26158         (llrint_test_data): Likewise.
26159         (log_test_data): Likewise.
26160         (log10_test_data): Likewise.
26161         (log1p_test_data): Likewise.
26162         (log2_test_data): Likewise.
26163         (logb_test_data): Likewise.
26164         (lround_test_data): Likewise.
26165         (llround_test_data): Likewise.
26166         (modf_test_data): Likewise.
26167         (nearbyint_test_data): Likewise.
26168         (nextafter_test_data): Likewise.
26169         (nexttoward_test_data): Likewise.
26170         (pow_test_data): Likewise.
26171         (remainder_test_data): Likewise.
26172         (remquo_test_data): Likewise.
26173         (rint_test_data): Likewise.
26174         (round_test_data): Likewise.
26175         (signbit_test_data): Likewise.
26176         (sinh_test_data): Likewise.
26177         (sqrt_test_data): Likewise.
26178         (tanh_test_data): Likewise.
26179         (tgamma_test_data): Likewise.
26180         (trunc_test_data): Likewise.
26181         (y0_test_data): Likewise.
26182         (y1_test_data): Likewise.
26183         (yn_test_data): Likewise.
26184         (significand_test_data): Likewise.
26186 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26188         * manual/filesys.texi (Storage Allocation): Document that
26189         posix_fallocate emulation fails when fd is open with O_WRONLY.
26191 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26193         [BZ #19016]
26194         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26195         allow more cases with X^2 + Y^2 >= 0.5.
26196         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26197         normal element in sum instead of special-casing based on values of
26198         arguments.
26199         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26200         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26201         -1 as normal element in sum instead of special-casing based on
26202         values of arguments.
26203         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26204         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26205         (__x2y2m1): Update comment.
26206         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26207         as normal element in sum instead of special-casing based on values
26208         of arguments.
26209         * math/s_clog.c (__clog): Handle more cases using log1p without
26210         hypot.
26211         * math/s_clog10.c (__clog10): Likewise.
26212         * math/s_clog10f.c (__clog10f): Likewise.
26213         * math/s_clog10l.c (__clog10l): Likewise.
26214         * math/s_clogf.c (__clogf): Likewise.
26215         * math/s_clogl.c (__clogl): Likewise.
26216         * math/auto-libm-test-in: Add more tests of clog and clog10.
26217         * math/auto-libm-test-out: Regenerated.
26218         * sysdeps/i386/fpu/libm-test-ulps: Update.
26219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26221 2015-09-28  Martin Sebor  <msebor@redhat.com>
26223         [BZ #18969]
26224         * string/Makefile (LOCALES): Define.
26225         (gen-locales.mk): Include.
26226         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26227         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26228         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26229         on setlocale failure.
26231 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26233         [BZ #18985]
26234         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26235         (__strftime_internal): Likewise.
26236         * time/tst-strftime.c (do_bz18985): New test.
26237         (do_test): Call it.
26239 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26241         [BZ #18956]
26242         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26243         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26244         extracting high part.
26245         * math/auto-libm-test-in: Add another test of pow.
26246         * math/auto-libm-test-out: Regenerated.
26247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26249 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26251         [BZ #18825]
26252         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26253         New macro.
26254         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26255         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26256         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26257         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26258         DBL_NARROW_EVAL, reloading the PIC register as needed.
26259         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26260         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26261         FLT_NARROW_EVAL.  Use separate return path for case when first
26262         argument is NaN.
26263         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26264         DEFINE_LDBL_MIN.
26265         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26266         PIC register.
26267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26268         math_check_force_underflow_nonneg.
26269         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26270         underflow for subnormal result.
26271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26272         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26273         math_check_force_underflow_nonneg.
26274         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26275         math_check_force_underflow.
26276         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26277         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26278         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26279         DEFINE_LDBL_MIN.
26280         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26281         * math/auto-libm-test-in: Add more tests of pow.
26282         * math/auto-libm-test-out: Regenerated.
26284 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26286         * nss/bug17079.c (init_test_items): Add diagnostic for
26287         inconsistent entries.
26288         (test_buffer_size): Skip inconsistent entries.
26290 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26292         [BZ #13304]
26293         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26294         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26295         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26297         [BZ #13304]
26298         * sysdeps/microblaze/s_fma.c: New file.
26299         * sysdeps/microblaze/s_fmaf.c: Likewise.
26300         * sysdeps/microblaze/sfp-machine.h: Likewise.
26302 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26304         [BZ #17250]
26305         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26306         member.
26308 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26310         [BZ #18803]
26311         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26312         (MO): New macro.
26313         (__ieee754_hypot) [PIC]: Load PIC register.
26314         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26315         DBL_NARROW_EVAL.
26316         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26317         math_check_force_underflow_nonneg in case where result might be
26318         tiny.
26319         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26320         Likewise.
26321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26322         Likewise.
26323         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26324         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26325         * math/auto-libm-test-in: Add more tests of hypot.
26326         * math/auto-libm-test-out: Regenerated.
26328 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26330         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26332 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26334         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26335         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26336         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26337         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26338         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26339         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26340         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26342         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26343         LOAD_PIC_REG.
26345         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26346         (FLT_CHECK_FORCE_UFLOW): Likewise.
26347         (DBL_CHECK_FORCE_UFLOW): Likewise.
26348         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26349         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26350         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26351         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26352         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26353         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26354         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26355         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26356         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26357         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26358         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26359         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26360         (flt_min): Replace with use of DEFINE_FLT_MIN.
26361         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26362         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26364         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26365         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26366         (flt_min): Replace with use of DEFINE_FLT_MIN.
26367         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26368         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26369         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26370         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26371         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26372         (flt_min): Replace with use of DEFINE_FLT_MIN.
26373         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26374         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26375         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26376         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26377         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26378         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26379         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26380         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26381         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26382         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26383         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26384         (flt_min): Replace with use of DEFINE_FLT_MIN.
26385         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26386         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26388         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26389         main computation.
26390         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26391         (flt_min): Replace with use of DEFINE_FLT_MIN.
26392         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26393         main computation.
26394         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26395         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26396         (MO): New macro.
26397         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26398         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26399         (flt_min): Replace with use of DEFINE_FLT_MIN.
26400         (MO): New macro.
26401         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26402         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26403         (__log1pl): Use MO.
26405         [BZ #19003]
26406         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26407         $(config-cflags-nofma).
26409 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26411         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26413 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26415         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26416         (TWO127): Likewise.
26418         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26419         (min_of_type): Likewise.
26420         (math_check_force_underflow): Likewise.
26421         (math_check_force_underflow_nonneg): Likewise.
26422         (math_check_force_underflow_complex): Likewise.
26423         * math/e_exp2l.c (__ieee754_exp2l): Use
26424         math_check_force_underflow_nonneg.
26425         * math/k_casinh.c (__kernel_casinh): Likewise.
26426         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26427         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26428         * math/s_catan.c (__catan): Use
26429         math_check_force_underflow_complex.
26430         * math/s_catanf.c (__catanf): Likewise.
26431         * math/s_catanh.c (__catanh): Likewise.
26432         * math/s_catanhf.c (__catanhf): Likewise.
26433         * math/s_catanhl.c (__catanhl): Likewise.
26434         * math/s_catanl.c (__catanl): Likewise.
26435         * math/s_ccosh.c (__ccosh): Likewise.
26436         * math/s_ccoshf.c (__ccoshf): Likewise.
26437         * math/s_ccoshl.c (__ccoshl): Likewise.
26438         * math/s_cexp.c (__cexp): Likewise.
26439         * math/s_cexpf.c (__cexpf): Likewise.
26440         * math/s_cexpl.c (__cexpl): Likewise.
26441         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26442         * math/s_clog10.c (__clog10): Likewise.
26443         * math/s_clog10f.c (__clog10f): Likewise.
26444         * math/s_clog10l.c (__clog10l): Likewise.
26445         * math/s_clogf.c (__clogf): Likewise.
26446         * math/s_clogl.c (__clogl): Likewise.
26447         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26448         * math/s_csinf.c (__csinf): Likewise.
26449         * math/s_csinh.c (__csinh): Likewise.
26450         * math/s_csinhf.c (__csinhf): Likewise.
26451         * math/s_csinhl.c (__csinhl): Likewise.
26452         * math/s_csinl.c (__csinl): Likewise.
26453         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26454         * math/s_csqrtf.c (__csqrtf): Likewise.
26455         * math/s_csqrtl.c (__csqrtl): Likewise.
26456         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26457         * math/s_ctanf.c (__ctanf): Likewise.
26458         * math/s_ctanh.c (__ctanh): Likewise.
26459         * math/s_ctanhf.c (__ctanhf): Likewise.
26460         * math/s_ctanhl.c (__ctanhl): Likewise.
26461         * math/s_ctanl.c (__ctanl): Likewise.
26462         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26463         instead of volatile.
26464         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26465         math_check_force_underflow.
26466         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26467         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26468         volatile when forcing underflow.
26469         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26470         math_check_force_underflow_nonneg.
26471         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26472         Likewise.
26473         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26474         math_check_force_underflow.
26475         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26476         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26477         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26478         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26479         math_check_force_underflow_nonneg.
26480         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26481         math_check_force_underflow.
26482         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26484         instead of volatile.
26485         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26486         math_check_force_underflow.
26487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26488         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26489         math_check_force_underflow_nonneg.
26490         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26491         math_check_force_underflow.
26492         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26493         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26494         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26495         math_check_force_underflow_nonneg.
26496         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26497         Likewise.
26498         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26499         math_check_force_underflow.
26500         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26501         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26502         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26503         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26504         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26505         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26506         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26507         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26508         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26509         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26510         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26511         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26512         Likewise.
26513         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26514         math_check_force_underflow_nonneg.
26515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26516         Likewise.
26517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26518         math_check_force_underflow.
26519         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26520         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26521         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26522         Likewise.
26523         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26524         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26525         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26526         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26527         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26528         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26529         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26530         instead of volatile.
26531         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26532         math_check_force_underflow.
26533         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26535         math_check_force_underflow.
26536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26537         Likewise.
26538         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26539         Use math_check_force_underflow_nonneg.
26540         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26541         math_check_force_underflow.
26542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26543         Likewise.
26544         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26545         Likewise.
26546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26551         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26552         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26553         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26555         math_check_force_underflow_nonneg.
26556         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26557         math_check_force_underflow.
26558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26559         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26560         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26561         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26562         math_check_force_underflow_nonneg.
26563         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26564         math_check_force_underflow.
26565         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26567         instead of volatile.
26568         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26569         math_check_force_underflow.
26571         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26572         * stdlib/strtod_l.c: Include <math_private.h>.
26573         (overflow_value): Use math_narrow_eval.
26574         (underflow_value): Likewise.
26575         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26576         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26577         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26578         (__ieee754_gamma_r): Likewise.
26579         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26580         Likewise.
26581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26582         Likewise.
26583         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26584         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26585         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26586         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26587         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26588         (__ieee754_gammaf_r): Likewise.
26589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26590         Likewise.
26591         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26592         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26593         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26594         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26595         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26596         volatile.
26597         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26599         math_narrow_eval.
26600         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26601         Likewise.
26602         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26603         Likewise.
26604         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26605         Likewise.
26606         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26607         volatile.
26608         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26609         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26610         math_narrow_eval.
26611         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26612         Likewise.
26613         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26614         Likewise.
26616 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26618         * nptl/Versions: Remove ignored symbols.
26620 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26622         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26623         * nss/Makefile (tests): Update.
26625 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26627         * nss/bug18287.c: New file.
26628         * nss/Makefile (tests): Add bug18287.
26630 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26632         * mach/Versions (__mach_host_self_): Add symbol.
26634 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26636         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26637         vm_page_size.
26639 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26641         Really fix sysdeps/i386/fpu/s_scalbn.S build
26643         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26644         (libc: GLIBC_2_22): Remove unused version set.
26646 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26648         * config.make.in (enable-timezone-tools): New variable.
26649         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26650         (enable_timezone_tools): Export to generated files.
26651         * configure: Regenerate.
26652         * INSTALL: Regenerate.
26653         * manual/install.texi (--disable-timezone-tools): Document new flag.
26654         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26655         ifeq ($(enable-timezone-tools),yes) check.
26657 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26659         * timezone/Makefile: Revert previous change.
26661         [BZ #18980]
26662         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26663         (DEFINE_DBL_MIN): Likewise.
26664         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26665         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26666         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26667         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26668         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26669         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26670         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26671         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26672         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26674         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26675         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26676         (flt_min): Replace with use of DEFINE_FLT_MIN.
26677         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26678         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26680         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26681         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26682         (flt_min): Replace with use of DEFINE_FLT_MIN.
26683         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26684         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26685         (flt_min): Replace with use of DEFINE_FLT_MIN.
26686         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26687         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26688         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26689         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26690         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26691         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26692         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26693         (__ieee754_pow): Use DBL_NARROW_EVAL.
26694         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26695         (__ieee754_powf): Use FLT_NARROW_EVAL.
26696         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26697         (__ieee754_expf_sse2): Convert double-precision result to single
26698         precision.
26699         * sysdeps/i386/fpu/libm-test-ulps: Update.
26701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26703         * timezone/Makefile: Ignore unused variable errors due to private.h
26704         (time_t_min) and (time_t_max).
26705         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26706         Likewise.
26708 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26710         [BZ #18981]
26711         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26712         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26713         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26714         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26715         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26716         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26717         (__scalbn): Use DBL_NARROW_EVAL.
26718         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26719         (__scalbnf): Use FLT_NARROW_EVAL.
26721 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26723         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26724         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26725         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26726         * stdio-common/printf_fp.c (___printf_fp):
26727         Use signbit to get the sign. Use isinf macro to allow inlining.
26728         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26729         * stdio-common/printf_size.c (__printf_size): Likewise.
26731 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26733         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26735 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26737         [BZ #18980]
26738         * sysdeps/generic/math_private.h: Include <float.h>.
26739         (math_narrow_eval): New macro.
26740         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26741         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26742         math_narrow_eval on overflowing return value.
26743         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26744         Likewise.
26745         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26746         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26747         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26748         Likewise.
26749         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26751 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26753         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26754         * math/Makefile: Remove isinf_ns.c.
26755         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26756         * math/multc3.c (__multc3): Likewise.
26757         * math/s_casin.c (__casin): Likewise.
26758         * math/s_casinf.c (__casinf): Likewise.
26759         * math/s_casinl.c (__casinl): Likewise.
26760         * math/s_cproj.c (__cproj): Likewise.
26761         * math/s_cprojf.c (__cprojf): Likewise.
26762         * math/s_cprojl.c (__cprofl): Likewise.
26763         * math/s_ctan.c (__ctan): Likewise.
26764         * math/s_ctanf.c (__ctanf): Likewise.
26765         * math/s_ctanh.c (__ctanh): Likewise.
26766         * math/s_ctanhf.c (__ctanhf): Likewise.
26767         * math/s_ctanhl.c (__ctanhl): Likewise.
26768         * math/s_ctanl.c (__ctanl): Likewise.
26769         * math/w_fmod.c (__fmod): Likewise.
26770         * math/w_fmodf.c (__fmodf): Likewise.
26771         * math/w_fmodl.c (_fmodl): Likewise.
26772         * math/w_remainder.c (__remainder): Likewise.
26773         * math/w_remainderf.c (__remainderf): Likewise.
26774         * math/w_remainderl.c (__remainderl): Likewise.
26775         * math/w_scalb.c (__scalb): Likewise.
26776         * math/w_scalbf.c (__scalbf): Likewise.
26777         * math/w_scalbl.c (__scalbl): Likewise.
26778         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26779         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26780         with isinf.
26781         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26783         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26784         __isinf_nsf with isinf.
26785         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26786         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26787         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26788         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26789         with isinf.
26790         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26791         __isinf_nsl with isinf.
26792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26793         with isinf.
26794         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26795         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26796         __isinf_nsl with isinf.
26797         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26798         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26799         with isinf.
26801 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26803         * resolv/base64.c (rcsid): Remove unused static.
26804         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26805         static.  (tqpi1): Likewise.
26806         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26807         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26808         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26809         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26811         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26813         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26814         Likewise.
26816 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26818         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26819         <nptl/pthreadP.h>.
26820         (_longjmp_unwind): Use __libc_ptf_call.
26821         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26823 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26825         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26826         * sysdeps/arm/__longjmp.S: Likewise.
26828 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26830         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26831         Use __builtin_signbit.
26832         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26833         Use __builtin_signbitf.
26834         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26835         Use __builtin_signbitl.
26836         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26837         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26839 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26841         [BZ #15367]
26842         [BZ #17441]
26844         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26845         * math/math.h (fpclassify): Use __builtin_fpclassify when
26846         available.  (signbit): Use __builtin_signbit(f/l).
26847         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26848         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26849         (isinf): Use __builtin_isinf_sign.
26851 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26853         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26854         * benchtests/bench-math-inlines.c: New benchmark.
26855         * benchtests/bench-util.h: New file.
26856         * benchtests/bench-util.c: New file.
26857         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26859 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26861         * elf/tst-dlmopen1.c: Define TEST_SO.
26862         (do_test): Use TEST_SO.
26864         * elf/dl-load.c: Include libc-internal.h.
26865         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26867 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26869         [BZ #17887]
26870         * time/strptime_l.c (__strptime_internal): Make %z accept
26871         [+-]HH:MM time zones.
26873 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26875         [BZ #17886]
26876         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26877         valid time zone.
26879 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26881         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26882         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26883         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26884         (__ASSUME_FDATASYNC): Delete.
26886 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26888         * conform/linknamespace.pl: Require weak undefined symbols to be
26889         in the standard namespace.
26890         (%strong_syms): Rename to %seen_syms.
26891         (%strong_seen): Rename to %seen_where.
26893 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26895         [BZ #18970]
26896         * misc/error.c (error): Replace pthread_setcancelstate with
26897         __pthread_setcancelstate.
26898         (error_at_line): Likewise.
26899         * posix/wordexp.c (parse_comm): Likewise.
26900         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26901         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26902         (__pthread_setcancelstate): This.
26903         (pthread_setcancelstate): Add an alias.
26904         * nptl/nptl-init.c (pthread_functions): Replace
26905         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26906         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26907         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26908         hidden_proto.
26909         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26910         it with hidden_def.
26911         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26912         (pthread_setcancelstate): Renamed to ...
26913         (__pthread_setcancelstate): This.
26914         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26915         __libc_ptf_call with __pthread_setcancelstate.
26917 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26918             Andreas Schwab  <schwab@suse.de>
26920         [BZ #17118]
26921         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26922         result when imaginary part of argument is infinite using sine and
26923         cosine.
26924         * math/s_ctanf.c (__ctanf): Likewise.
26925         * math/s_ctanl.c (__ctanl): Likewise.
26926         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26927         of result when real part of argument is infinite using sine and
26928         cosine.
26929         * math/s_ctanhf.c (__ctanhf): Likewise.
26930         * math/s_ctanhl.c (__ctanhl): Likewise.
26931         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26932         (ctanh_test_data): Add more tests of ctanh.
26934 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26936         [BZ #15384]
26937         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26938         bit-mask as in subtraction.
26939         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26940         Likewise.
26941         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26942         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26943         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26945         [BZ #18951]
26946         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26947         underflow exception for small results.
26948         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26949         Likewise.
26950         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26951         Likewise.
26952         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26953         Likewise.
26954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26955         Likewise.
26956         * math/auto-libm-test-in: Add more tests of tgamma.
26957         * math/auto-libm-test-out: Regenerated.
26959 2015-09-17  Andreas Schwab  <schwab@suse.de>
26961         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26963 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26965         [BZ #18977]
26966         * math/bits/mathcalls.h
26967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26968         not declare.
26969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26970         Likewise.
26971         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26972         Likewise.
26973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26974         Likewise.
26975         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26976         Likewise.
26977         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26978         Likewise.
26979         * conform/data/math.h-data
26980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26981         function.
26982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26994         [BZ #6803]
26995         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26996         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26997         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26998         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26999         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27000         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27001         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27002         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27003         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27004         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27005         Likewise.
27006         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27007         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27008         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27010         long_double_symbol calls.
27011         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27012         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27013         strong alias of __ldexpl.
27014         (scalbnl): Define using long_double_symbol.
27015         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27016         Remove alias.
27017         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27018         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27019         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27020         (scalbln_test_data): Add more errno expectations.
27022 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27024         Cache the host port like we cache the task port.  This way we do not
27025         need to call the kernel just to get the port.  Furthermore, we no
27026         longer increase the reference count on every invocation of
27027         `mach_host_self'.
27029         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27030         Protect declarations against the macro expansion.
27031         * mach/mach_init.c (__mach_host_self_): New variable.
27032         (mach_init): Initialize `__mach_host_self_'.
27033         * mach/mach_init.h (__mach_host_self_): New declaration.
27034         (__mach_host_self, mach_host_self): New macros.
27035         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27036         Release reference.
27038 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27040         [BZ #4404]
27041         * po/de.po: Update from Translation Project.
27043         [BZ #16415]
27044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27045         (__expm1l): Remove code to handle positive infinity and overflow.
27046         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27047         variable.
27048         (__expm1l): Remove code to handle positive infinity and overflow.
27050 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27051             Paul Pluzhnikov  <ppluzhnikov@google.com>
27053         [BZ #18872]
27054         * stdio-common/Makefile (tst-printf-bz18872): New test.
27055         (tst-printf-bz18872-mem.out): Likewise.
27056         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27057         * stdio-common/vfprintf.c: Fix memory leaks.
27059 2015-09-16  Andreas Schwab  <schwab@suse.de>
27061         [BZ #17244]
27062         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27063         Remove extra va_start/va_end calls.
27065         [BZ #17243]
27066         * posix/execl.c (execl): Add missing va_end.
27067         * posix/execle.c (execle): Likewise.
27068         * posix/execlp.c (execlp): Likewise.
27070 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27072         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27073         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27075 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27077         [BZ #18967]
27078         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27079         undefine around includes of <bits/mathcalls.h>.
27080         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27081         not declare function.
27082         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27083         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27084         (scalb): Likewise.
27085         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27086         not define macro.
27087         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27088         variable.
27089         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27090         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27091         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27093         [BZ #18857]
27094         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27095         return non-finite argument without doing ordered comparisons on
27096         it.
27098         [BZ #16296]
27099         * math/fenv.h (fegetround): Use __attribute_pure__.
27100         * include/fenv.h (__fegetround): Likewise.
27102         [BZ #18595]
27103         * math/s_ctan.c (__ctan): Force underflow exception for results
27104         whose real or imaginary part has small absolute value.
27105         * math/s_ctanf.c (__ctanf): Likewise.
27106         * math/s_ctanh.c (__ctanh): Likewise.
27107         * math/s_ctanhf.c (__ctanhf): Likewise.
27108         * math/s_ctanhl.c (__ctanhl): Likewise.
27109         * math/s_ctanl.c (__ctanl): Likewise.
27110         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27111         and ctanh.  Add more tests of ctan and ctanh.
27113         [BZ #15918]
27114         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27115         handling of cases where one argument is an infinity.
27117         [BZ #18875]
27118         [BZ #18966]
27119         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27120         (MO): New macro.
27121         (__ieee754_exp10): For small results, force underflow exception
27122         and remove excess range and precision from return value.
27123         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27124         (MO): New macro.
27125         (__ieee754_exp10f): For small results, force underflow exception
27126         and remove excess range and precision from return value.
27127         * math/auto-libm-test-in: Add more tests of exp10.
27128         * math/auto-libm-test-out: Regenerated.
27130 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #18875]
27133         [BZ #18961]
27134         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27135         (MO): New macro.
27136         (__ieee754_exp): For small results, force underflow exception and
27137         remove excess range and precision from return value.
27138         (__exp_finite): Likewise.
27139         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27140         (MO): New macro.
27141         (__ieee754_expf): For small results, force underflow exception and
27142         remove excess range and precision from return value.
27143         (__expf_finite): Likewise.
27144         * math/auto-libm-test-in: Add more tests of exp.
27145         * math/auto-libm-test-out: Regenerated.
27147         [BZ #16521]
27148         [BZ #18875]
27149         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27150         small results.
27151         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27152         (MO): New macro.
27153         (__ieee754_exp2): For small results, force underflow exception and
27154         remove excess range and precision from return value.
27155         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27156         (MO): New macro.
27157         (__ieee754_exp2f): For small results, force underflow exception
27158         and remove excess range and precision from return value.
27159         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27160         (MO): New macro.
27161         (__ieee754_exp2l): Force underflow exception for small results.
27162         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27163         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27164         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27165         (MO): New macro.
27166         (__ieee754_exp2l): Force underflow exception for small results.
27167         * math/auto-libm-test-in: Add more tests or exp2.
27168         * math/auto-libm-test-out: Regenerated.
27170 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27172         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27174         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27175         /dev/null.
27177 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27179         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27180         io fs process)): Drop spurious backslash.
27182 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27184         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27185         Use sysinfo system call instead of parsing /proc/meminfo.
27186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27187         Likewise.
27189 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27191         [BZ #16985]
27192         * programs/localedef.c (main): Display argv[remaining] when
27193         output_path is NULL.
27195 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27197         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27198         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27199         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27200         tanh.
27201         * math/auto-libm-test-out: Regenerated.
27202         * sysdeps/i386/fpu/libm-test-ulps: Update.
27203         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27207 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27209         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27210         Use 'override' keyword to freeze the value here, preventing
27211         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27213 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27215         [BZ #14912]
27216         * sysdeps/aarch64/bits/atomic.h: Move to ...
27217         * sysdeps/aarch64/atomic-machine.h: ...here.
27218         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27219         _AARCH64_ATOMIC_MACHINE_H.
27220         * sysdeps/alpha/bits/atomic.h: Move to ...
27221         * sysdeps/alpha/atomic-machine.h: ...here.
27222         * sysdeps/arm/bits/atomic.h: Move to ...
27223         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27224         * bits/atomic.h: Move to ...
27225         * sysdeps/generic/atomic-machine.h: ...here.
27226         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27227         * sysdeps/i386/bits/atomic.h: Move to ...
27228         * sysdeps/i386/atomic-machine.h: ...here.
27229         * sysdeps/ia64/bits/atomic.h: Move to ...
27230         * sysdeps/ia64/atomic-machine.h: ...here.
27231         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27232         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27233         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27234         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27235         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27236         * sysdeps/microblaze/bits/atomic.h: Move to ...
27237         * sysdeps/microblaze/atomic-machine.h: ...here.
27238         * sysdeps/mips/bits/atomic.h: Move to ...
27239         * sysdeps/mips/atomic-machine.h: ...here.
27240         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27241         * sysdeps/powerpc/bits/atomic.h: Move to ...
27242         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27243         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27244         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27245         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27246         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27247         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27248         <atomic-machine.h> instead of <bits/atomic.h>.
27249         * sysdeps/s390/bits/atomic.h: Move to ...
27250         * sysdeps/s390/atomic-machine.h: ...here.
27251         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27252         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27253         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27255         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27256         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27257         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27258         * sysdeps/tile/bits/atomic.h: Move to ...
27259         * sysdeps/tile/atomic-machine.h: ...here.
27260         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27261         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27262         <sysdeps/tile/atomic-machine.h> instead of
27263         <sysdeps/tile/bits/atomic.h>.
27264         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27265         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27266         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27267         <sysdeps/tile/atomic-machine.h> instead of
27268         <sysdeps/tile/bits/atomic.h>.
27269         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27270         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27271         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27272         <sysdeps/arm/atomic-machine.h> instead of
27273         <sysdeps/arm/bits/atomic.h>.
27274         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27275         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27276         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27277         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27278         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27279         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27280         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27281         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27282         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27283         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27284         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27285         * sysdeps/x86_64/bits/atomic.h: Move to ...
27286         * sysdeps/x86_64/atomic-machine.h: ...here.
27287         * include/atomic.h: Include <atomic-machine.h> instead of
27288         <bits/atomic.h>.
27290         * sysdeps/mips/mips32/libm-test-ulps: Update.
27291         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27293         [BZ #18952]
27294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27295         not convert non-integer negative arguments to int to determine the
27296         value of signgam.
27297         * math/auto-libm-test-in: Add more tests of lgamma.
27298         * math/auto-libm-test-out: Regenerated.
27300         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27301         cosh, csqrt, erfc, expm1 and lgamma.
27302         * math/auto-libm-test-out: Regenerated.
27303         * sysdeps/i386/fpu/libm-test-ulps: Update.
27304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27306 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27308         [BZ #2542]
27309         [BZ #2543]
27310         [BZ #2558]
27311         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27312         __lgamma_neg for arguments from -28.0 to -2.0.
27313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27314         __lgamma_negf for arguments from -15.0 to -2.0.
27315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27316         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27317         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27318         Call __lgamma_negl for arguments from -33.0 to -2.0.
27319         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27320         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27321         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27322         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27323         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27324         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27325         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27326         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27327         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27328         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27329         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27330         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27331         (__lgamma_neg): Likewise.
27332         (__lgamma_negl): Likewise.
27333         (__lgamma_product): Likewise.
27334         (__lgamma_productl): Likewise.
27335         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27336         * math/auto-libm-test-in: Add more tests of lgamma.
27337         * math/auto-libm-test-out: Regenerated.
27338         * sysdeps/i386/fpu/libm-test-ulps: Update.
27339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27343         [BZ #18675]
27344         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27346 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27348         [BZ #14912]
27349         * bits/libc-lock.h: Move to ...
27350         * sysdeps/generic/libc-lock.h: ...here.
27351         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27352         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27353         * sysdeps/mach/hurd/libc-lock.h: ...here.
27354         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27355         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27356         * sysdeps/mach/bits/libc-lock.h: Move to ...
27357         * sysdeps/mach/libc-lock.h: ...here.
27358         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27359         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27360         * sysdeps/nptl/libc-lock.h: ...here.
27361         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27362         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27363         * sysdeps/nptl/libc-lockP.h: ...here.
27364         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27365         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27366         <bits/libc-lock.h>.
27367         * dirent/scandir-tail.c: Likewise.
27368         * dlfcn/dlerror.c: Likewise.
27369         * elf/dl-close.c: Likewise.
27370         * elf/dl-iteratephdr.c: Likewise.
27371         * elf/dl-lookup.c: Likewise.
27372         * elf/dl-open.c: Likewise.
27373         * elf/dl-support.c: Likewise.
27374         * elf/dl-writev.h: Likewise.
27375         * elf/rtld.c: Likewise.
27376         * grp/fgetgrent.c: Likewise.
27377         * gshadow/fgetsgent.c: Likewise.
27378         * gshadow/sgetsgent.c: Likewise.
27379         * iconv/gconv_conf.c: Likewise.
27380         * iconv/gconv_db.c: Likewise.
27381         * iconv/gconv_dl.c: Likewise.
27382         * iconv/gconv_int.h: Likewise.
27383         * iconv/gconv_trans.c: Likewise.
27384         * include/link.h: Likewise.
27385         * inet/getnameinfo.c: Likewise.
27386         * inet/getnetgrent.c: Likewise.
27387         * inet/getnetgrent_r.c: Likewise.
27388         * intl/bindtextdom.c: Likewise.
27389         * intl/dcigettext.c: Likewise.
27390         * intl/finddomain.c: Likewise.
27391         * intl/gettextP.h: Likewise.
27392         * intl/loadmsgcat.c: Likewise.
27393         * intl/localealias.c: Likewise.
27394         * intl/textdomain.c: Likewise.
27395         * libidn/idn-stub.c: Likewise.
27396         * libio/libioP.h: Likewise.
27397         * locale/duplocale.c: Likewise.
27398         * locale/freelocale.c: Likewise.
27399         * locale/newlocale.c: Likewise.
27400         * locale/setlocale.c: Likewise.
27401         * login/getutent_r.c: Likewise.
27402         * login/getutid_r.c: Likewise.
27403         * login/getutline_r.c: Likewise.
27404         * login/utmp-private.h: Likewise.
27405         * login/utmpname.c: Likewise.
27406         * malloc/mtrace.c: Likewise.
27407         * misc/efgcvt.c: Likewise.
27408         * misc/error.c: Likewise.
27409         * misc/fstab.c: Likewise.
27410         * misc/getpass.c: Likewise.
27411         * misc/mntent.c: Likewise.
27412         * misc/syslog.c: Likewise.
27413         * nis/nis_call.c: Likewise.
27414         * nis/nis_callback.c: Likewise.
27415         * nis/nss-default.c: Likewise.
27416         * nis/nss_compat/compat-grp.c: Likewise.
27417         * nis/nss_compat/compat-initgroups.c: Likewise.
27418         * nis/nss_compat/compat-pwd.c: Likewise.
27419         * nis/nss_compat/compat-spwd.c: Likewise.
27420         * nis/nss_nis/nis-alias.c: Likewise.
27421         * nis/nss_nis/nis-ethers.c: Likewise.
27422         * nis/nss_nis/nis-grp.c: Likewise.
27423         * nis/nss_nis/nis-hosts.c: Likewise.
27424         * nis/nss_nis/nis-network.c: Likewise.
27425         * nis/nss_nis/nis-proto.c: Likewise.
27426         * nis/nss_nis/nis-pwd.c: Likewise.
27427         * nis/nss_nis/nis-rpc.c: Likewise.
27428         * nis/nss_nis/nis-service.c: Likewise.
27429         * nis/nss_nis/nis-spwd.c: Likewise.
27430         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27431         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27432         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27433         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27434         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27435         * nis/nss_nisplus/nisplus-network.c: Likewise.
27436         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27437         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27438         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27439         * nis/nss_nisplus/nisplus-service.c: Likewise.
27440         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27441         * nis/ypclnt.c: Likewise.
27442         * nptl/libc_pthread_init.c: Likewise.
27443         * nss/getXXbyYY.c: Likewise.
27444         * nss/getXXent.c: Likewise.
27445         * nss/getXXent_r.c: Likewise.
27446         * nss/nss_db/db-XXX.c: Likewise.
27447         * nss/nss_db/db-netgrp.c: Likewise.
27448         * nss/nss_db/nss_db.h: Likewise.
27449         * nss/nss_files/files-XXX.c: Likewise.
27450         * nss/nss_files/files-alias.c: Likewise.
27451         * nss/nsswitch.c: Likewise.
27452         * posix/regex_internal.h: Likewise.
27453         * posix/wordexp.c: Likewise.
27454         * pwd/fgetpwent.c: Likewise.
27455         * resolv/res_hconf.c: Likewise.
27456         * resolv/res_libc.c: Likewise.
27457         * shadow/fgetspent.c: Likewise.
27458         * shadow/lckpwdf.c: Likewise.
27459         * shadow/sgetspent.c: Likewise.
27460         * socket/opensock.c: Likewise.
27461         * stdio-common/reg-modifier.c: Likewise.
27462         * stdio-common/reg-printf.c: Likewise.
27463         * stdio-common/reg-type.c: Likewise.
27464         * stdio-common/vfprintf.c: Likewise.
27465         * stdio-common/vfscanf.c: Likewise.
27466         * stdlib/abort.c: Likewise.
27467         * stdlib/cxa_atexit.c: Likewise.
27468         * stdlib/fmtmsg.c: Likewise.
27469         * stdlib/random.c: Likewise.
27470         * stdlib/setenv.c: Likewise.
27471         * string/strsignal.c: Likewise.
27472         * sunrpc/auth_none.c: Likewise.
27473         * sunrpc/bindrsvprt.c: Likewise.
27474         * sunrpc/create_xid.c: Likewise.
27475         * sunrpc/key_call.c: Likewise.
27476         * sunrpc/rpc_thread.c: Likewise.
27477         * sysdeps/arm/backtrace.c: Likewise.
27478         * sysdeps/generic/ldsodefs.h: Likewise.
27479         * sysdeps/generic/stdio-lock.h: Likewise.
27480         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27481         * sysdeps/i386/backtrace.c: Likewise.
27482         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27483         * sysdeps/m68k/backtrace.c: Likewise.
27484         * sysdeps/mach/hurd/cthreads.c: Likewise.
27485         * sysdeps/mach/hurd/dirstream.h: Likewise.
27486         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27487         * sysdeps/nptl/malloc-machine.h: Likewise.
27488         * sysdeps/nptl/stdio-lock.h: Likewise.
27489         * sysdeps/posix/dirstream.h: Likewise.
27490         * sysdeps/posix/getaddrinfo.c: Likewise.
27491         * sysdeps/posix/system.c: Likewise.
27492         * sysdeps/pthread/aio_suspend.c: Likewise.
27493         * sysdeps/s390/s390-32/backtrace.c: Likewise.
27494         * sysdeps/s390/s390-64/backtrace.c: Likewise.
27495         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27496         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27497         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27498         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27499         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27500         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27501         * sysdeps/unix/sysv/linux/system.c: Likewise.
27502         * sysdeps/x86_64/backtrace.c: Likewise.
27503         * time/alt_digit.c: Likewise.
27504         * time/era.c: Likewise.
27505         * time/tzset.c: Likewise.
27506         * wcsmbs/wcsmbsload.c: Likewise.
27507         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27508         instead of <bits/libc-lock.h> in comment.
27510 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
27512         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27513         Only use .set mips2 if the current ISA is below mips2.
27514         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27515         Likewise.
27516         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27517         mips32r2 if the current ISA is below mips32r2.
27518         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27519         (TLS_IE): Updated to use the TLD_RDHWR macro.
27520         (TLS_LE): Likewise.
27521         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27522         __ASSEMBLER__ condition.
27524 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27526         Fix parallel build of before-compile targets.
27528         * sysdeps/mach/Makefile ($(patsubst
27529         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27530         mach-before-compile target.
27531         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27532         io fs process)): Move rule to dedicated hurd-before-compile target.
27534 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27536         Fix rules generating headers in hurd/ and mach/ when initial make call
27537         has subdir= explicitly set.
27539         * sysdeps/mach/Makefile ($(patsubst
27540         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27541         calling $(MAKE).
27542         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27543         io fs process)): Force subdir to hurd when calling $(MAKE).
27544         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27545         subdir to mach when calling $(MAKE).
27547 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27549         Check sysheaders when looking for Mach and Hurd headers
27551         * sysdeps/mach/configure.ac: Add sysheaders check.
27552         * sysdeps/mach/configure: Regenerate.
27553         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27554         * sysdeps/mach/hurd/configure: Regenerate.
27556 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27558         [BZ #18921]
27559         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27560         Fix inverted sense of test of 'o_directory_works' value.
27561         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27562         Bernhard Voelker <mail@bernhard-voelker.de>.
27564 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27566         [BZ #14912]
27567         * bits/linkmap.h: Move to ...
27568         * sysdeps/generic/linkmap.h: ...here.
27569         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27570         * sysdeps/aarch64/linkmap.h: ...here.
27571         * sysdeps/arm/bits/linkmap.h: Move to ...
27572         * sysdeps/arm/linkmap.h: ...here.
27573         * sysdeps/hppa/bits/linkmap.h: Move to ...
27574         * sysdeps/hppa/linkmap.h: ...here.
27575         * sysdeps/ia64/bits/linkmap.h: Move to ...
27576         * sysdeps/ia64/linkmap.h: ...here.
27577         * sysdeps/mips/bits/linkmap.h: Move to ...
27578         * sysdeps/mips/linkmap.h: ...here.
27579         * sysdeps/s390/bits/linkmap.h: Move to ...
27580         * sysdeps/s390/linkmap.h: ...here.
27581         * sysdeps/sh/bits/linkmap.h: Move to ...
27582         * sysdeps/sh/linkmap.h: ...here.
27583         * sysdeps/x86/bits/linkmap.h: Move to ...
27584         * sysdeps/x86/linkmap.h: ...here.
27585         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27587 2015-09-04  Andreas Schwab  <schwab@suse.de>
27589         [BZ #18635]
27590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27591         (__makecontext): Terminate FDE before return label.
27592         (__novec_makecontext): Likewise.
27594 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27596         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27597         first member of struct sv in syscall macro.
27599 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27601         [BZ #14912]
27602         * bits/stdio-lock.h: Move to ...
27603         * sysdeps/generic/stdio-lock.h: ...here.
27604         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27605         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27606         * sysdeps/nptl/stdio-lock.h: ...here.
27607         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27608         * include/libio.h: Include <stdio-lock.h> instead of
27609         <bits/stdio-lock.h>.
27610         * sysdeps/nptl/fork.c: Likewise.
27611         * sysdeps/pthread/flockfile.c: Likewise.
27612         * sysdeps/pthread/ftrylockfile.c: Likewise.
27613         * sysdeps/pthread/funlockfile.c: Likewise.
27615         [BZ #14912]
27616         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27617         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27618         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27619         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27620         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27621         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27622         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27624 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27626         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27627         (test-xfail-tst-protected1b): New variable.
27629 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27631         [BZ #14912]
27632         * bits/libc-tsd.h: Move to ...
27633         * sysdeps/generic/libc-tsd.h: ...here.
27634         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27635         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27636         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27637         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27638         * include/ctype.h: Include <libc-tsd.h> instead of
27639         <bits/libc-tsd.h>.
27640         * include/rpc/rpc.h: Likewise.
27641         * locale/localeinfo.h: Likewise.
27642         * sunrpc/rpc_thread.c: Likewise.
27643         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27644         * sysdeps/nptl/malloc-machine.h: Likewise.
27646         * Makefile (headers): Remove bits/libc-lock.h.
27647         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27649         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27650         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27651         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27652         <bits/stdio-lock.h>.
27653         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27654         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27656 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27658         [BZ #18757]
27659         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27660         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27661         BZ #18757.
27663 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27665         * malloc/mtrace.pl: Filter out NULL entries.
27667 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27669         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27670         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27671         macro.
27673         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27674         (TCP_CC_INFO): Likewise.
27675         (TCP_SAVE_SYN): Likewise.
27676         (TCP_SAVED_SYN): Likewise.
27678 2015-08-31  Brett Neumeier <brett@neumeier.us>
27680         [BZ #18870]
27681         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27683 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27685         [BZ #18873]
27686         Fix broken overflow check in posix_fallocate
27687         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27688         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27689         Fix parenthesization typo.
27691 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27693         [BZ #18887]
27694         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27695         tst-mntent-blank-passno.
27696         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27697         * misc/tst-mntent-blank-corrupt.c: New test.
27698         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27699         * misc/tst-mntent.c (do_test): ... here.
27701 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27703         [BZ #4404]
27704         * po/de.po: Fix SIGALRM typo.
27706 2015-08-28  James Perkins  <james@loowit.net>
27708         * time/tst-strptime2.c (tests): Replace short list of test
27709         strings for strptime %z specifier with code which exhaustively
27710         tests every combination of sign and 0 to 5 digits. Tests for
27711         rejection of invalid strings.
27713 2015-08-28  James Perkins  <james@loowit.net>
27715         [BZ #16141]
27716         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27717         calculation, removing incorrect decimal time rounding, so that
27718         all minute values result in a valid seconds value.
27719         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27720         offset range limits to UTC-99:59 through UTC+99:59 to parse
27721         current and historical use cases.
27722         * time/tst-strptime2.c (tests): Modify and add tests for the
27723         strptime %z input field descriptor, specifically conversion of
27724         minutes to seconds and validating an offset range of -9959 to
27725         +9959.
27727 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27728             Dmitry V. Levin  <ldv@altlinux.org>
27730         [BZ #18877]
27731         * posix/Makefile (tests): Add tst-mmap-offset.
27732         * posix/tst-mmap.c: New file.
27733         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27734         offset calculation for negative values.
27736 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27738         * sysdeps/i386/init-arch.h: New file.
27739         * sysdeps/i386/i586/init-arch.h: Likewise.
27740         * sysdeps/i386/i686/init-arch.h: Likewise.
27741         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27742         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27743         * sysdeps/x86/cpu-features.h (bit_I586): New.
27744         (bit_I686): Likewise.
27745         (bit_CX8): Likewise.
27746         (bit_CMOV): Likewise.
27747         (index_CX8): Likewise.
27748         (index_CMOV): Likewise.
27749         (index_I586): Likewise.
27750         (index_I686): Likewise.
27751         (reg_CX8): Likewise.
27752         (reg_CMOV): Likewise.
27753         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27754         available at compile-time.
27755         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27756         available at compile-time.
27757         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27758         (USE_I686): Likewise.
27760 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27762         * sysdeps/i386/bcopy.S: New file.
27763         * sysdeps/i386/bzero.S: Likewise.
27764         * sysdeps/i386/memcpy.S: Likewise.
27765         * sysdeps/i386/memmove.S: Likewise.
27766         * sysdeps/i386/mempcpy.S: Likewise.
27767         * sysdeps/i386/memset.S: Likewise.
27768         * sysdeps/i386/bzero.c: Removed.
27769         * sysdeps/i386/memset.c: Likewise.
27770         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27771         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27772         * sysdeps/i386/i586/memset_chk.S: Likewise.
27773         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27774         * sysdeps/i386/memcpy_chk.S: Here.
27775         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27776         * sysdeps/i386/memmove_chk.S: Here.
27777         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27778         * sysdeps/i386/mempcpy_chk.S: Likewise.
27779         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27780         * sysdeps/i386/memset_chk.S: Likewise.
27782 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27784         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27785         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27786         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27787         * soft-fp/fmadf4.c: Ditto.
27788         * soft-fp/fmatf4.c: Ditto.
27790 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27792         * sysdeps/i386/i586/Implies: Removed.
27793         * sysdeps/i386/i686/Implies: Likewise.
27795 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27797         * sysdeps/i386/i486/strlen.S: Moved to ...
27798         * sysdeps/i386/strlen.S: Here.
27800 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27802         * sysdeps/i386/i486/strcat.S: Moved to ...
27803         * sysdeps/i386/strcat.S: Here.
27805 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27807         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27808         * sysdeps/i386/pthread_spin_trylock.S: Here.
27809         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27810         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27812 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27814         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27815         * sysdeps/i386/string-inlines.c: Here.
27817 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27819         * sysdeps/i386/i486/htonl.S: Moved ...
27820         * sysdeps/i386/htonl.S: here.
27822 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27824         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27825         * sysdeps/i386/bits/atomic.h: Here.
27827 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27829         * sysdeps/i386/i486/Versions: Removed.
27831 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27833         [BZ #2898]
27834         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27835         Based on patch by Aurelien Jarno.
27837 2015-08-26  Stan Shebs  <stanshebs@google.com>
27839         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27840         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27842 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27844         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27845         * sysdeps/powerpc/dl-procinfo.c:
27846         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27847         feature so it shows when LD_SHOW_AUXV=1.
27849 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27851         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27852         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27853         definition.  ISA 2.07B no longer requires full sync.
27855 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27857         [BZ #18863]
27858         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27859         (si_call_addr): Define.
27860         (si_syscall): Define.
27861         (si_arch): Define.
27863 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27865         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27866         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27867         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27868         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27869         (__memset_zero_constant_len_parameter): New.
27870         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27871         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27872         (__memset_zero_constant_len_parameter): Don't define if
27873         __memset_chk or USE_AS_BZERO are defined.
27875         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27876         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27877         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27879         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27880         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27881         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27882         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27883         comments.
27884         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27885         -mno-mmx for $(all-rtld-routines).
27886         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27887         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27888         i386.
27890 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27892         * sysdeps/generic/unwind.h
27893         (_Unwind_Word): Use __mode__(__unwind_word__)
27894         instead of __mode__(__word__).
27895         (_Unwind_Sword): Likewise.
27897         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27898         (MAX_NEEDED_INPUT): New define.
27899         (MAX_NEEDED_OUTPUT): New define.
27901         * NEWS: New item for IBM z13 string optimizations.
27903         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27904         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27905         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27906         * sysdeps/s390/multiarch/Makefile
27907         (sysdep_routines): Add memrchr functions.
27908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27909         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27911         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27912         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27913         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27914         * sysdeps/s390/multiarch/Makefile
27915         (sysdep_routines): Add wmemcmp functions.
27916         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27917         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27918         * benchtests/bench-wmemcmp.c: New File.
27919         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27921         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27922         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27923         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27924         * sysdeps/s390/multiarch/Makefile
27925         (sysdep_routines): Add wmemset functions.
27926         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27927         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27928         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27929         * string/test-memset.c: Add wmemset support.
27930         * wcsmbs/test-wmemset.c: New File.
27931         * wcsmbs/Makefile (strop-tests): Add wmemset.
27932         * benchtests/bench-memset.c: Add wmemset support.
27933         * benchtests/bench-wmemset.c: New File.
27934         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27936         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27937         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27938         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27939         * sysdeps/s390/multiarch/Makefile
27940         (sysdep_routines): Add memccpy functions.
27941         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27942         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27943         * string/memccpy.c: Use MEMCCPY if defined.
27945         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27946         * sysdeps/s390/multiarch/memchr.c: Likewise.
27947         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27948         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27949         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27950         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27951         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27952         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27953         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27954         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27956         and rawmemchr functions.
27957         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27958         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27959         and wmemchr.
27960         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27961         * string/test-memchr.c: Add wmemchr support.
27962         * wcsmbs/test-wmemchr.c: New File.
27963         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27964         * benchtests/bench-memchr.c: Add wmemchr support.
27965         * benchtests/bench-wmemchr.c: New File.
27966         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27968         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27969         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27970         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27971         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27972         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27973         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27975         wcscspn functions.
27976         * sysdeps/s390/multiarch/ifunc-impl-list.c
27977         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27978         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27979         * string/test-strcspn.c: Add wcscspn support.
27980         * wcsmbs/test-wcscspn.c: New File.
27981         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27982         * benchtests/bench-strcspn.c: Add wcscspn support.
27983         * benchtests/bench-wcscspn.c: New File.
27984         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27986         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27987         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27988         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27989         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27990         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27991         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27993         wcspbrk functions.
27994         * sysdeps/s390/multiarch/ifunc-impl-list.c
27995         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27996         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27997         * string/test-strpbrk.c: Add wcspbrk support.
27998         * wcsmbs/test-wcspbrk.c: New File.
27999         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28000         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28001         * benchtests/bench-wcspbrk.c: New File.
28002         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28004         * sysdeps/s390/multiarch/strspn-c.c: New File.
28005         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28006         * sysdeps/s390/multiarch/strspn.c: Likewise.
28007         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28008         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28009         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28010         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28012         wcsspn functions.
28013         * sysdeps/s390/multiarch/ifunc-impl-list.c
28014         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28015         * string/test-strspn.c: Add wcsspn support.
28016         * wcsmbs/test-wcsspn.c: New File.
28017         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28018         * benchtests/bench-strspn.c: Add wcsspn support.
28019         * benchtests/bench-wcsspn.c: New File.
28020         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28022         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28023         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28024         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28025         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28026         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28027         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28029         wcsrchr functions.
28030         * sysdeps/s390/multiarch/ifunc-impl-list.c
28031         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28032         * benchtests/bench-wcsrchr.c: New File.
28033         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28035         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28036         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28037         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28038         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28039         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28040         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28042         wcschrnul functions.
28043         * sysdeps/s390/multiarch/ifunc-impl-list.c
28044         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28045         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28046         * string/test-strchr.c: Add wcschrnul support.
28047         * wcsmbs/test-wcschrnul.c: New File.
28048         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28049         * benchtests/bench-strchr.c: Add wcschrnul support.
28050         * benchtests/bench-wcschrnul.c: New File.
28051         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28053         * sysdeps/s390/multiarch/strchr-c.c: New File.
28054         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28055         * sysdeps/s390/multiarch/strchr.c: Likewise.
28056         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28057         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28058         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28060         wcschr functions.
28061         * sysdeps/s390/multiarch/ifunc-impl-list.c
28062         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28063         * string/strchr.c (STRCHR): Define and use macro.
28064         * benchtests/bench-wcschr.c: New File.
28065         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28067         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28068         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28069         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28070         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28071         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28072         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28074         wcsncmp functions.
28075         * sysdeps/s390/multiarch/ifunc-impl-list.c
28076         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28077         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28078         * benchtests/bench-strncmp.c: Add wcsncmp support.
28079         * benchtests/bench-wcsncmp.c: New File.
28080         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28082         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28083         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28084         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28085         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28086         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28087         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28088         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28089         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28090         wcscmp functions.
28091         * sysdeps/s390/multiarch/ifunc-impl-list.c
28092         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28093         * string/strcmp.c (STRCMP): Define and use macro.
28094         * benchtests/bench-wcscmp.c: New File.
28095         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28096         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28097         instead of _HAVE_STRING_ARCH_memchr.
28099         * sysdeps/s390/multiarch/strncat-c.c: New File.
28100         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28101         * sysdeps/s390/multiarch/strncat.c: Likewise.
28102         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28103         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28104         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28106         wcsncat functions.
28107         * sysdeps/s390/multiarch/ifunc-impl-list.c
28108         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28109         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28110         * string/test-strncat.c: Add wcsncat support.
28111         * wcsmbs/test-wcsncat.c: New File.
28112         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28113         * benchtests/bench-strncat.c: Add wcsncat support.
28114         * benchtests/bench-wcsncat.c: New File.
28115         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28117         * sysdeps/s390/multiarch/strcat-c.c: New File.
28118         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28119         * sysdeps/s390/multiarch/strcat.c: Likewise.
28120         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28121         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28122         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28124         wcscat functions.
28125         * sysdeps/s390/multiarch/ifunc-impl-list.c
28126         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28127         * string/strcat.c (STRCAT): Define and use macro.
28128         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28129         * string/test-strcat.c: Add wcscat support.
28130         * wcsmbs/test-wcscat.c: New File.
28131         * wcsmbs/Makefile (strop-tests): Add wcscat.
28132         * benchtests/bench-strcat.c: Add wcscat support.
28133         * benchtests/bench-wcscat.c: New File.
28134         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28136         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28137         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28138         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28139         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28140         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28141         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28143         wcpncpy functions.
28144         * sysdeps/s390/multiarch/ifunc-impl-list.c
28145         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28146         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28147         * string/test-stpncpy.c: Add wcpncpy support.
28148         * wcsmbs/test-wcpncpy.c: New File.
28149         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28150         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28151         * benchtests/bench-wcpncpy.c: New File.
28152         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28154         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28155         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28156         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28157         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28158         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28159         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28160         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28161         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28162         wcsncpy functions.
28163         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28164         * sysdeps/s390/multiarch/ifunc-impl-list.c
28165         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28166         * string/test-strncpy.c: Add wcsncpy support.
28167         * wcsmbs/test-wcsncpy.c: New File.
28168         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28169         * benchtests/bench-strncpy.c: Add wcsncpy support.
28170         * benchtests/bench-wcsncpy.c: New File.
28171         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28173         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28174         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28175         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28176         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28177         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28178         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28180         wcpcpy functions.
28181         * string/stpcpy.c: Use STPCPY if defined.
28182         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28183         * sysdeps/s390/multiarch/ifunc-impl-list.c
28184         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28185         * string/test-stpcpy.c: Add wcpcpy support.
28186         * wcsmbs/test-wcpcpy.c: New File.
28187         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28188         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28189         * benchtests/bench-wcpcpy.c: New File.
28190         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28192         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28193         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28194         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28195         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28196         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28197         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28198         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28200         wcscpy functions.
28201         * sysdeps/s390/multiarch/ifunc-impl-list.c
28202         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28203         * benchtests/bench-wcscpy.c: New File.
28204         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28206         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28207         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28208         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28209         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28210         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28211         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28213         wcsnlen functions.
28214         * sysdeps/s390/multiarch/ifunc-impl-list.c
28215         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28216         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28217         * string/test-strnlen.c: Add wcsnlen support.
28218         * wcsmbs/test-wcsnlen.c: New File.
28219         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28220         * benchtests/bench-strnlen.c: Add wcsnlen support.
28221         * benchtests/bench-wcsnlen.c: New File.
28222         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28224         * sysdeps/s390/multiarch/Makefile: New File.
28225         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28226         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28227         * sysdeps/s390/multiarch/strlen.c: Likewise.
28228         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28229         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28230         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28231         * string/strlen.c (STRLEN): Define and use macro.
28232         * sysdeps/s390/multiarch/ifunc-impl-list.c
28233         (IFUNC_VX_IMPL): New macro function.
28234         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28235         * benchtests/Makefile (wcsmbs-bench): New variable.
28236         (string-bench-all): Added wcsmbs-bench.
28237         * benchtests/bench-wcslen.c: New File.
28239         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28240         s390_vx_libc_ifunc2): New macro function.
28242         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28243         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28244         assembler support.
28245         * sysdeps/s390/configure: Regenerated.
28247         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28248         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28250         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28251         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28252         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28254         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28255         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28257         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28258         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28259         (memcmp, bcmp): Use __memcmp_default as alias source.
28260         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28261         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28262         Rename to __memcmp_default.
28263         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28264         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28265         (memcpy): Use __memcpy_default as alias source.
28266         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28267         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28268         Rename to __memcpy_default.
28269         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28270         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28271         (memset): Use __memset_default as alias source.
28272         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28273         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28274         Rename to __memset_default.
28275         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28276         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28277         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28278         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28279         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28280         (memcmp, bcmp): Use __memcmp_default as alias source.
28281         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28282         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28283         Rename to __memcmp_default.
28284         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28285         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28286         (memcpy): Use __memcpy_default as alias source.
28287         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28288         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28289         Rename to __memcpy_default.
28290         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28291         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28292         (memset): Use __memset_default as alias source.
28293         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28294         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28295         Rename to __memset_default.
28296         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28297         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28299         [BZ #18610]
28300         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28301         __ieee_instruction_pointer to __unused.
28302         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28303         __ieee_instruction_pointer.
28304         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28305         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28306         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28307         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28308         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28309         Mark dxc-field as reserved.
28311 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28313         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28314         if the weak reference is not null.
28316 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28318         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28320         [BZ #11214]
28321         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28323 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28325         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28326         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28327         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28328         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28329         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28330         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28331         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28332         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28333         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28334         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28335         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28336         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28337         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28338         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28339         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28340         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28341         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28342         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28344 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28346         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28347         register other than r0 for tabort, it has special meaning.
28348         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28349         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28350         transaction before starting syscall.
28352 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28354         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28356 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28358         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28360         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28361         * sysdeps/x86_64/rtld-memset.S: Likewise.
28362         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28363         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28364         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28365         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28367         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28369 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28371         * debug/strcpy_chk.c: Improve performance.
28372         * debug/stpcpy_chk.c: Likewise.
28373         * sysdeps/x86_64/strcpy_chk.S: Remove.
28374         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28376         [BZ #18240]
28377         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28379 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28381         [BZ #15128]
28382         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28383         ifuncmain8.
28384         (modules-names): Add ifuncmod8.
28385         ($(objpfx)ifuncmain8): New rule.
28386         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28387         <cpuid.h>.
28388         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28389         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28390         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28391         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28392         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28393         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28394         * sysdeps/x86_64/ifuncmain8.c: New file.
28395         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28396         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28397         Removed.
28398         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28399         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28400         Change rtld_savespace_sse to __glibc_unused2.
28401         (RTLD_CHECK_FOREIGN_CALL): Removed.
28402         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28403         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28404         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28406 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28408         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28410 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28412         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28413         Unconditionally set __fpcr to avoid uninialized warning.
28414         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28416 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28418         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28419         is corrupt.
28421         * malloc/arena.c (arena_get2): Drop unused argument.
28422         (arena_lock): Adjust.
28423         (arena_get_retry): Likewise.
28425 2015-08-24  Andreas Schwab  <schwab@suse.de>
28427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28428         Don't define.
28429         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28430         (__ASSUME_IPC64): Don't undef.
28431         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28432         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28433         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28435         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28436         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28437         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28438         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28439         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28440         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28441         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28442         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28443         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28444         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28445         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28446         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28447         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28448         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28449         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28450         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28451         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28453 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28455         * manual/Makefile (install): Only build manual when perl is available.
28457 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28460         '#undef memcpy' by '#undef memchr'.
28462 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28464         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28465         memchr not point to the internal __GI_memchr implementation.
28467 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28469         * timezone/Makefile (CFLAGS-zdump.c): Remove
28470         -Wno-strict-prototypes.
28471         (CFLAGS-zic.c): Likewise.
28472         (CFLAGS-ialloc.c): Likewise.
28473         (CFLAGS-scheck.c): Likewise.
28475         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28476         -Wno-error=undef.
28478 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28480         * i386/i686/multiarch/strcasestr-c.c: Removed.
28481         * x86_64/multiarch/strcasestr.c: Likewise.
28482         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28483         Remove strcasestr.
28485 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28487         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28490         variables for high and low parts before possibly modifying them.
28492 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28494         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28495         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28496         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28497         of "multiarch/init-arch.h".
28498         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28499         * sysdeps/x86/init-arch.h: This.
28501 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28503         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28504         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28506 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
28508         [BZ #17787]
28509         * manual/macros.texi: Add twoexp macro.
28510         * manual/filesys.texi: Fix exponents.
28511         * manual/llio.texi: Likewise.
28512         * manual/stdio.texi: Likewise.
28514 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28516         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28517         incorrect use.
28519 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28521         [BZ #18370]
28522         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28523         whose real or imaginary part has small absolute value.
28524         * math/s_csqrtf.c (__csqrtf): Likewise.
28525         * math/s_csqrtl.c (__csqrtl): Likewise.
28526         * math/auto-libm-test-in: Add more tests of csqrt.
28527         * math/auto-libm-test-out: Regenerated.
28528         * sysdeps/i386/fpu/libm-test-ulps: Update.
28530 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28532         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28533         __ppc_set_ppr_very_low): New functions.
28534         * manual/platform.texi: Add documentation about
28535         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28537 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28539         * string/stpncpy.c (stpncpy): Improve performance using
28540         __strnlen/memcpy/memset.
28542 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28544         [BZ #18796]
28545         * scripts/test-installation.pl: Don't add -lmvec to build options if
28546         libmvec wasn't built.
28548 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28550         [BZ #14341]
28551         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28552         case when there is a gap between DT_REL and DT_JMPREL sections.
28553         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28554         (LDFLAGS-tst-split-dynreloc): New.
28555         (tst-split-dynreloc-ENV): Likewise.
28556         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28557         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28559 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28561         [BZ #18822]
28562         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28563         attribute_hidden.
28564         (__xstat64_conv): Likewise.
28565         (__xstat32_conv): Likewise.
28567 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28569         [BZ #18822]
28570         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28571         Don't load %ebx when calling __setcontext.  Call __setcontext
28572         with HIDDEN_JUMPTARGET.
28573         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28574         libc_hidden_def.
28576 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28578         * sysdeps/i386/i686/Makefile
28579         [$(subdir) == string] (sysdep_routines): Moved to ...
28580         * sysdeps/i386/Makefile: Here.
28581         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28582         * sysdeps/i386/cacheinfo.c: Here.
28583         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28584         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28585         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28586         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28588 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28590         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28591         __i586__ is defined.
28592         (HAS_I686): Defined to 1 if __i686__ is defined.
28594 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28596         * elf/Makefile [$(have-z-execstack) = yes]
28597         (CPPFLAGS-tst-execstack.c): New variable.
28599         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28600         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28601         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28602         UTMPX || _HAVE_UT_TV].
28603         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28604         UTMPX || _HAVE_UT_TV - 0].
28606 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28608         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28609         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28610         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28612 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28614         * sysdeps/powerpc/dl-procinfo.c:
28615         (_dl_powerpc_cap_flags): Added missing strings for some
28616         hwcap features.
28617         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28619 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28621         Port the 0x7efe...feff pattern to GCC 6.
28622         See Steve Ellcey's bug report in:
28623         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28624         * string/memrchr.c (MEMRCHR):
28625         * string/rawmemchr.c (RAWMEMCHR):
28626         * string/strchr.c (strchr):
28627         * string/strchrnul.c (STRCHRNUL):
28628         Rewrite code to avoid issues with signed shift overflow.
28630 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28632         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28633         whether cpuid is available only if HAS_CPUID is 0.
28634         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28635         (HAS_I586): Likewise.
28636         (HAS_I686): Likewise.
28638 2015-08-18  Zack Weinberg  <zackw@panix.com>
28640         * misc/Versions (libc): Add GLIBC_2.23.
28642 2015-08-18  Alan Modra  <amodra@gmail.com>
28644         [BZ #18421]
28645         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28646         .Lp__global.
28647         (_start): Load %dp via .Lp__global.
28648         [!SHARED]: Use .section .rodata.
28650 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28652         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28653         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28655 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28657         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28658         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28660 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28662         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28663         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28665 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28667         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28668         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28670 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28672         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28673         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28677         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28678         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28680 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28682         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28684 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28687         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28689         (__ASSUME_LWS_CAS): Delete.
28691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28693         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28694         * sysdeps/hppa/configure: Regenerated.
28695         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28696         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28697         * sysdeps/hppa/nptl/tls.h: Likewise.
28699 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28701         [BZ #18823]
28702         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28703         for scaling up small arguments.
28704         * math/s_csqrtf.c (__csqrtf): Likewise.
28705         * math/s_csqrtl.c (__csqrtl): Likewise.
28706         * math/auto-libm-test-in: Add more tests of csqrt.
28707         * math/auto-libm-test-out: Regenerated.
28709 2015-08-17  Andreas Schwab  <schwab@suse.de>
28711         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28712         version set GLIBC_2.19.
28714 2015-08-16  Zack Weinberg  <zackw@panix.com>
28716         [BZ #18681]
28717         * misc/regexp.h: This interface is no longer supported.
28718         Remove all contents, leaving only an #error directive.
28719         * misc/regexp.c (loc1, loc2, locs, step, advance):
28720         Demote to compatibility symbols.
28722 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28724         [BZ #18084]
28725         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28726         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28727         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28728         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28729         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28730         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28731         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28732         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28733         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28735 2015-08-15  Zack Weinberg  <zackw@panix.com>
28737         [BZ #18795]
28738         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28739         buffer length is known to be too large, not if it's known to be
28740         small enough.
28741         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28742         overflow at runtime, involving a length parameter, twice: once
28743         with a compile-time constant length parameter, once without.
28745 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28747         [BZ #18824]
28748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28749         scaling x * y up instead of down.
28750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28752         * math/auto-libm-test-in: Add more tests of fma.
28753         * math/auto-libm-test-out: Regenerated.
28755 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28757         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28759 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28761         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28762         unnecessary movq.
28763         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28764         Likewise.
28766 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28768         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28769         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28770         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28771         and tgamma.
28772         * math/auto-libm-test-out: Regenerated.
28773         * sysdeps/i386/fpu/libm-test-ulps: Update.
28774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28776         [BZ #16520]
28777         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28778         (__tanh): Force underflow exception for arguments with small
28779         absolute value.
28780         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28781         (__tanhf): Force underflow exception for arguments with small
28782         absolute value.
28783         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28784         (__tanhl): Force underflow exception for arguments with small
28785         absolute value.
28786         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28787         (__tanhl): Force underflow exception for arguments with small
28788         absolute value.
28789         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28790         (__tanhl): Force underflow exception for arguments with small
28791         absolute value.
28792         * math/auto-libm-test-in: Add more tests of tanh.
28793         * math/auto-libm-test-out: Regenerated.
28794         * sysdeps/i386/fpu/libm-test-ulps: Update.
28796 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28798         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28799         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28801 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28803         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28804         <cpuid.h>.
28806 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28808         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28809         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28813         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28814         Remove $(objpfx)init-arch.o.
28815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28816         init-arch.
28817         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28818         (INIT_ARCH_EXT): Defined as empty.
28819         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28821         __init_cpu_features call.  Replace HAS_XXX with
28822         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28823         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28828         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28829         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28830         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28839         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28859 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28861         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28862         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28863         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28864         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28865         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28866         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28867         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28868         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28869         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28870         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28871         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28872         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28873         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28875         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28877         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28878         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28879         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28880         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28881         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28883         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28884         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28885         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28886         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28887         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28888         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28889         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28890         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28891         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28892         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28893         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28894         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28895         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28896         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28897         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28898         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28899         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28900         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28901         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28902         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28903         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28905 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28907         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28908         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28910         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28911         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28912         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28913         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28914         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28915         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28916         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28917         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28918         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28919         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28920         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28921         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28922         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28923         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28924         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28925         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28926         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28928         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28929         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28930         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28931         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28932         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28933         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28934         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28935         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28936         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28937         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28938         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28939         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28940         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28942         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28943         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28944         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28945         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28946         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28947         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28948         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28949         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28951 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28953         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28954         (dl_platform_init): Call init_cpu_features.
28955         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28956         * sysdeps/i386/i686/cacheinfo.c
28957         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28958         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28959         * sysdeps/i386/i686/multiarch/Versions: Removed.
28960         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28961         Removed.
28962         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28963         * sysdeps/unix/sysv/linux/x86/Makefile
28964         (libpthread-sysdep_routines): Remove init-arch.
28965         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28966         <sysdeps/x86_64/dl-procinfo.c> instead of
28967         sysdeps/generic/dl-procinfo.c>.
28968         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28969         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28970         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28971         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28972         [$(subdir) == elf] (tests-static): Add
28973         tst-get-cpu-features-static.
28974         * sysdeps/x86/Versions: New file.
28975         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28976         * sysdeps/x86/cpu-features.c: Likewise.
28977         * sysdeps/x86/cpu-features.h: Likewise.
28978         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28979         * sysdeps/x86/libc-start.c: Likewise.
28980         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28981         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28982         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28983         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28984         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28985         Assume USE_MULTIARCH is defined and don't check it.
28986         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28987         (is_amd): Likewise.
28988         (max_cpuid): Likewise.
28989         (intel_check_word): Likewise.
28990         (__cache_sysconf): Don't call __init_cpu_features.
28991         (__x86_preferred_memory_instruction): Removed.
28992         (init_cacheinfo): Don't call __init_cpu_features. Replace
28993         __cpu_features with GLRO(dl_x86_cpu_features).
28994         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28995         (dl_platform_init): Call init_cpu_features.
28996         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28997         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28998         * sysdeps/x86_64/multiarch/Versions: Removed.
28999         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29000         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29001         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29002         Removed.
29003         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29005 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29007         [BZ #18820]
29008         * libio/Makefile (test-fmemopen-mem): New test.
29009         * libio/test-fmemopen.c (do_bz18820): New test.
29010         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29011         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29013 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29015         [BZ #16734]
29016         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29017         (FREE_BUF): Delete.
29018         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29019         * libio/genops.c (_IO_setb): Use malloc and free directly.
29020         (_IO_default_doallocate, _IO_default_finish): Likewise.
29021         ( _IO_unbuffer_all): Likewise.
29022         ( libc_freeres_fn): Likewise.
29023         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29024         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29025         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29026         (_IO_wdefault_doallocate): Likewise.
29028 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29030         [BZ #18086]
29031         * sysdeps/posix/nice.c (nice): Restore old errno.
29032         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29034 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29038 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29040         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29041         __bcopy and add a weak_alias to bcopy.
29042         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29043         for static build.
29045         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29046         cleanup macro usage.
29047         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29050         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29051         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29052         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29053         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29054         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29055         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29056         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29058         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29060         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29063         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29065         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29067         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29068         libc_hidden_def.
29069         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29071         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29072         (sysdep_routines): Add strstr-ppc64.
29073         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29075 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29077         [BZ #18778]
29078         * elf/Makefile (tests): Add Add tst-nodelete2.
29079         (modules-names): Add tst-nodelete2mod.
29080         (tst-nodelete2mod.so-no-z-defs): New.
29081         ($(objpfx)tst-nodelete2): Likewise.
29082         ($(objpfx)tst-nodelete2.out): Likewise.
29083         (LDFLAGS-tst-nodelete2): Likewise.
29084         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29085         out of loop through all loaded libraries.
29086         * elf/tst-nodelete2.c: New file.
29087         * elf/tst-nodelete2mod.c: Likewise.
29088         * elf/tst-znodelete-zlib.cc: Delete.
29090 2015-08-11  Andreas Schwab  <schwab@suse.de>
29092         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29093         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29094         (__openat64_nocancel): Likewise.
29096 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29098         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29099         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29100         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29101         * math/auto-libm-test-out: Regenerated.
29102         * sysdeps/i386/fpu/libm-test-ulps: Update.
29103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29105 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29107         [BZ #18790]
29108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29109         threshold for returning +/- 1.
29110         * math/auto-libm-test-in: Add more tests of tanh.
29111         * math/auto-libm-test-out: Regenerated.
29112         * sysdeps/i386/fpu/libm-test-ulps: Update.
29114 2015-08-10  Andreas Schwab  <schwab@suse.de>
29116         [BZ #18781]
29117         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29118         MORE_OFLAGS to oflag.
29119         * io/test-lfs.c (do_test): Test openat64.
29121 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29123         [BZ #18789]
29124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29125         smaller threshold for returning the argument.
29126         * math/auto-libm-test-in: Add more tests of sinh.
29127         * math/auto-libm-test-out: Regenerated.
29128         * sysdeps/i386/fpu/libm-test-ulps: Update.
29130 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29132         [BZ #18674]
29133         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29134         break.
29136 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29138         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29139         (generated): Don't add $(addprefix z.,$(tzfiles)).
29141 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29143         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29144         * scripts/sysd-rules.awk: Likewise.
29146 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29148         * iconvdata/tst-tables.sh: Change echo -n to printf.
29149         * nss/db-Makefile: Likewise.
29150         * posix/tst-getconf.sh: Likewise.
29151         * stdio-common/tst-unbputc.sh: Likewise.
29153 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29155         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29156         MADV_*_PAGES defines behind this feature check.
29158 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29160         [BZ #18480]
29161         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29162         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29163         Define.
29164         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29165         LOAD_REGS_5, LOAD_REGS_6): Update.
29166         (INTERNAL_SYSCALL): Update using new LOAD defines.
29167         (INTERNAL_SYSCALL_NCS): Likewise.
29168         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29170 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29172         [BZ #16734]
29173         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29175 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29177         [BZ #17905]
29178         * catgets/Makefile (tst-catgets-mem): New test.
29179         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29180         * catgets/open_catalog.c (__open_catalog): Likewise.
29181         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29183 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29185         [BZ #18787]
29186         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29187         clobber registers.
29188         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29189         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29190         Cast return to __typeof (oldval).
29192 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29194         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29195         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29196         and delete sys/syscall.h include.
29198 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29200         [BZ #16517]
29201         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29202         (tan): Force underflow exception for arguments with small absolute
29203         value.
29204         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29205         (__kernel_tanf): Force underflow exception for arguments with
29206         small absolute value.
29207         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29208         (__kernel_tanl): Force underflow exception for arguments with
29209         small absolute value.
29210         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29211         (__kernel_tanl): Force underflow exception for arguments with
29212         small absolute value.
29213         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29214         (__kernel_tanl): Force underflow exception for arguments with
29215         small absolute value.
29216         * math/auto-libm-test-in: Add more tests of tan.
29217         * math/auto-libm-test-out: Regenerated.
29219 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29221         Fix sysdeps/i386/fpu/s_scalbn.S build
29223         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29225 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29227         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29229 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29231         Fix gcrt0.o compilation
29233         When static-start-installed-name is different from
29234         start-installed-name, we must not use the shared objects.
29236         * csu/Makefile
29237         (extra-objs): Add gmon-start.o when building shared library and
29238         $(static-start-installed-name) is different from
29239         $(start-installed-name).
29240         $(objpfx)g$(static-start-installed-name): When building shared
29241         library and $(static-start-installed-name) is different from
29242         $(static-start-installed-name), revert to non-shared rule,
29243         i.e. using $(objpfx)% and gmon-start.o.
29245 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29247         [BZ #16519]
29248         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29249         (__ieee754_sinh): Force underflow exception for arguments with
29250         small absolute value.
29251         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29252         (__ieee754_sinhf): Force underflow exception for arguments with
29253         small absolute value.
29254         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29255         (__ieee754_sinhl): Force underflow exception for arguments with
29256         small absolute value.
29257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29258         (__ieee754_sinhl): Force underflow exception for arguments with
29259         small absolute value.
29260         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29261         (__ieee754_sinhl): Force underflow exception for arguments with
29262         small absolute value.
29263         * math/auto-libm-test-in: Add more tests of sinh.
29264         * math/auto-libm-test-out: Regenerated.
29265         * sysdeps/i386/fpu/libm-test-ulps: Update.
29267 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29269         * libio/oldfileops.c: Include unistd.h.
29271 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29273         * stdlib/isomac.c: Include ctype.h.
29275 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29277         * dirent/tst-seekdir.c (main): Converted to ...
29278         (do_test): ... this.
29279         (TEST_FUNCTION): New macro.
29280         Include test-skeleton.c.
29281         * elf/tst-dlmodcount.c (main): Converted to ...
29282         (do_test): ... this.
29283         (TEST_FUNCTION): New macro.
29284         Include test-skeleton.c.
29285         * elf/tst-order-main.c (main): Converted to ...
29286         (do_test): ... this.
29287         (TEST_FUNCTION): New macro.
29288         Include test-skeleton.c.
29289         * elf/tst-pie2.c (main): Converted to ...
29290         (do_test): ... this.
29291         (TEST_FUNCTION): New macro.
29292         Include test-skeleton.c.
29293         * inet/tst-ether_aton.c (main): Converted to ...
29294         (do_test): ... this.
29295         (TEST_FUNCTION): New macro.
29296         Include test-skeleton.c.
29297         * misc/tst-mntent.c (main): Converted to ...
29298         (do_test): ... this.
29299         (TEST_FUNCTION): New macro.
29300         Include test-skeleton.c.
29301         * misc/tst-tsearch.c (main): Converted to ...
29302         (do_test): ... this.
29303         (TEST_FUNCTION): New macro.
29304         Include test-skeleton.c.
29305         * posix/tst-regexloc.c (main): Converted to ...
29306         (do_test): ... this.
29307         (TEST_FUNCTION): New macro.
29308         Include test-skeleton.c.
29309         * resolv/tst-aton.c (main): Converted to ...
29310         (do_test): ... this.
29311         (TEST_FUNCTION): New macro.
29312         Include test-skeleton.c.
29313         * stdio-common/test-fwrite.c (main): Converted to ...
29314         (do_test): ... this.
29315         (TEST_FUNCTION): New macro.
29316         Include test-skeleton.c.
29317         * stdio-common/tst-ferror.c (main): Converted to ...
29318         (do_test): ... this.
29319         (TEST_FUNCTION): New macro.
29320         Include test-skeleton.c.
29321         * stdio-common/tst-printf.c (main): Converted to ...
29322         (do_test): ... this.
29323         (TEST_FUNCTION): New macro.
29324         Include test-skeleton.c.
29325         * stdio-common/tst-printfsz.c (main): Converted to ...
29326         (do_test): ... this.
29327         (TEST_FUNCTION): New macro.
29328         Include test-skeleton.c.
29329         * stdlib/tst-strtod.c (main): Converted to ...
29330         (do_test): ... this.
29331         (TEST_FUNCTION): New macro.
29332         Include test-skeleton.c.
29333         * string/tst-strlen.c (main): Converted to ...
29334         (do_test): ... this.
29335         (TEST_FUNCTION): New macro.
29336         Include test-skeleton.c.
29337         * string/tst-svc.c (main): Converted to ...
29338         (do_test): ... this.
29339         (TEST_FUNCTION): New macro.
29340         Include test-skeleton.c.
29341         * time/tst-strptime.c (main): Converted to ...
29342         (do_test): ... this.
29343         (TEST_FUNCTION): New macro.
29344         Include test-skeleton.c.
29345         * timezone/tst-timezone.c (main): Converted to ...
29346         (do_test): ... this.
29347         (TEST_FUNCTION): New macro.
29348         Include test-skeleton.c.
29350 2015-08-05  Zack Weinberg  <zackw@panix.com>
29352         * misc/regexp.h: Update comments.
29354 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29356         [BZ #18635]
29357         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29358         before return label.
29360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29362         [BZ #18661]
29363         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29364         when calling __errno_location.
29365         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29366         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29368 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29370         [BZ #18661]
29371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29372         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29373         __gettimeofday.
29375 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29377         [BZ #18661]
29378         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29379         (__start_context): Don't use pop to restore %rdi so that stack
29380         is aligned to 16 bytes when calling __setcontext.
29382 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29384         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29385         only for libc.
29386         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29388 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29390         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29391         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29392         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29394 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29396         * string/memccpy.c (memccpy):
29397         Improve performance by using memchr/memcpy/__mempcpy.
29399 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29401         * string/strncpy.c (strncpy):
29402         Improve performance by using __strnlen/memcpy.
29404 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29406         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29407         Optimize to avoid an unnecessary FPCR read.
29409 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29411         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29412         Optimize to reduce FPCR/FPSR accesses.
29414 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29416         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29417         dead->data[category] != NULL.
29419 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29421         [BZ #18647]
29422         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29423         and |x| close to 1, use absolute value of x when computing log.
29424         * math/auto-libm-test-in: Add more tests of pow.
29425         * math/auto-libm-test-out: Regenerated.
29427 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29429         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29430         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29431         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29433 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29435         [BZ #18525]
29436         * locales/km_KH: Remove timezone definition.
29437         * locales/lo_LA: Likewise.
29438         * locales/my_MM: Likewise.
29439         * locales/nan_TW@latin: Likewise.
29440         * locales/th_TH: Likewise.
29441         * locales/uk_UA: Likewise.
29443 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29445         [BZ #18265]
29446         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29447         (wcsncat): Likewise.
29448         (wcscmp): Likewise.
29449         (wcsncmp): Likewise.
29451 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29453         * test-skeleton.c (usage): New function.
29454         (main): Call usage when opt is '?'.
29456 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29458         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29459         before first use.
29461 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29463         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29464         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29465         in there too.
29467 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29469         * version.h (RELEASE): Set to "development".
29470         (VERSION): Set to "2.22.90"
29472         * version.h (RELEASE): Set to "stable".
29473         (VERSION): Set to "2.22"
29474         * include/features.h (__GLIBC_MINOR__): Set to 22.
29476 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
29478         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29479         Restructure macro to avoid "value computed is not used" warning.
29480         (atomic_compare_and_exchange_val_acq): Likewise.
29482 2015-08-04  Andreas Schwab  <schwab@suse.de>
29484         [BZ #18635]
29485         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29486         ret.
29487         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29489 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
29491         * po/pl.po: Updated translation.
29492         * po/uk.po: Likewise.
29493         * po/fi.po: Likewise.
29494         * po/ko.po: Likewise.
29495         * po/ru.po: Likewise.
29496         * po/vi.po: Likewise.
29498 2015-07-31  Zack Weinberg  <zackw@panix.com>
29500         [BZ #18681]
29501         * regexp.h: Add unconditional #warning stating that this header
29502         will be removed soon.  Revise banner comment to match.
29503         (compile): Consistently use ERROR instead of RETURN to report
29504         errors (partial fix for BZ #18681).
29505         * regexp.c: Don't include regexp.h. Remove some unnecessary
29506         declarations.
29508 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
29510         * po/libc.pot: Regenerated.
29512 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29514         [BZ #18740]
29515         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29516         float-vlen4-arch-ext-cflags): Removed.
29517         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29518         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29520 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29522         [BZ #14113]
29523         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29524         aligned to __aligned__.
29525         (pthread_cond_t, pthread_rwlock_t): Likewise.
29527 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29529         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29531 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29533         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29534         (struct sigaction): Change sa_flags from a long to an int, and add
29535         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29537 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29539         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29540         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29541         sysdeps/generic/sysdep.h include.
29542         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29543         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29544         sysdeps/hppa/sysdep.h.
29545         (ENTRY, PSEUDO): Undefine before defining.
29547 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29549         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29550         from scratch to use INTERNAL_SYSCALL.
29552 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29554         [BZ #18078]
29555         * scripts/check-localplt.awk: Support alternate relocations.
29556         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29557         sections.
29558         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29559         malloc entries with + REL R_386_GLOB_DAT.
29560         * sysdeps/x86_64/localplt.data: New file.
29562 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29564         [BZ #18731]
29565         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29566         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29567         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29569 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29571         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29573 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29575         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29576         directly in terms of __sync_fetch_and_add and delete (int) cast.
29578 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29580         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29581         the -D_ASM_IA64_CURRENT_H flag.
29583 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29585         [BZ #18641]
29586         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29588 2015-07-27  Andreas Schwab  <schwab@suse.de>
29590         * conform/conformtest.pl (checknamespace): Filter out string
29591         literals while tokenizing.
29593 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29595         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29596         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29597         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29599 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29601         * nptl/tst-join7mod.c: Add #include <string.h>.
29603 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29605         * sysdeps/nios2/libm-test-ulps: Update.
29607 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29609         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29610         Fix order of arguments to the rt_sigprocmask syscall.
29611         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29612         Likewise.
29614 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29616         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29618 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29620         [BZ #18457]
29621         * nptl/Makefile (tests): New test case tst-join7.
29622         (modules-names): New test case module tst-join7mod.
29623         * nptl/tst-join7.c: New file.
29624         * nptl/tst-join7mod.c: New file.
29625         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29626         all translation units in libc.so, libpthread.so and rtld.
29628 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29632 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29636         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29637         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29644         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29646         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29647         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29649         implementation.
29651 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29653         [BZ #17711]
29654         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29655         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29656         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29657         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29658         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29659         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29661 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29663         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29664         instead of just saying load lock in the comments.
29666 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29668         * sysdeps/unix/Subdirs: Moved ...
29669         * sysdeps/posix/Subdirs: ... here.
29670         * login/pty.h (struct termios, struct winsize): Add forward decls.
29671         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29672         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29673         * sysdeps/arm/nacl/libc.abilist: Updated.
29674         * sysdeps/nacl/libutil.abilist: New file.
29676         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29677         (SIGWINCH): New macro.
29679         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29680         * sysdeps/arm/nacl/libc.abilist: Add it.
29682 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29684         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29686 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29688         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29689         Swap __glibc_reserved0 and sa_flags order.
29691 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29693         [BZ #18657]
29694         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29695         are pending TLS destructor calls.
29696         * include/link.h (struct link_map): Add concurrency note for
29697         L_TLS_DTOR_COUNT.
29698         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29699         Don't touch the link map flag.  Atomically increment
29700         l_tls_dtor_count.
29701         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29702         Avoid taking the load lock and don't touch the link map flag.
29703         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29704         * stdlib/Makefile (tests): Use it.
29705         * stdlib/tst-tls-atexit.c (do_test): dlopen
29706         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29707         to allow tst-tls-atexit-nodelete test case to use it.
29709 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29711         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29712         to bits/types.h.
29713         (msgqnum_t): New typedef.
29714         (msglen_t): Likewise.
29715         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29716         and msg_qbytes type to msglen_t.
29718 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29720         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29721         pad0 to __glibc_reserved0.
29722         (struct stat64): Likewise.
29724 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29726         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29727         Change sa_flags from a long to an int and add __glibc_reserved0 before
29728         it for padding.
29730 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29732         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29733         anonymous by deleting "siginfo" name.
29735 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29737         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29738         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29739         rather than __nacl_irt_filename.
29740         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29742         * NEWS: New item for arm-nacl port.
29743         * sysdeps/arm/nacl/libc.abilist: New file.
29744         * sysdeps/nacl/ld.abilist: New file.
29745         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29746         * sysdeps/nacl/libanl.abilist: New file.
29747         * sysdeps/nacl/libcrypt.abilist: New file.
29748         * sysdeps/nacl/libdl.abilist: New file.
29749         * sysdeps/nacl/libm.abilist: New file.
29750         * sysdeps/nacl/libpthread.abilist: New file.
29751         * sysdeps/nacl/libresolv.abilist: New file.
29752         * sysdeps/nacl/librt.abilist: New file.
29754 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29756         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29757         __startcontext to initialize the new context.
29758         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29759         up CFI directive to forbid further backtracing.
29761 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29763         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29764         reference.
29765         * charmaps/ANSI_X3.4-1968: Likewise.
29766         * charmaps/BS_4730: Likewise.
29767         * charmaps/BS_VIEWDATA: Likewise.
29768         * charmaps/CP1250: Likewise.
29769         * charmaps/CP1251: Likewise.
29770         * charmaps/CP1252: Likewise.
29771         * charmaps/CP1253: Likewise.
29772         * charmaps/CP1254: Likewise.
29773         * charmaps/CP1255: Likewise.
29774         * charmaps/CP1256: Likewise.
29775         * charmaps/CSN_369103: Likewise.
29776         * charmaps/EBCDIC-DK-NO: Likewise.
29777         * charmaps/GB_1988-80: Likewise.
29778         * charmaps/GREEK-CCITT: Likewise.
29779         * charmaps/GREEK7: Likewise.
29780         * charmaps/INIS-8: Likewise.
29781         * charmaps/ISIRI-3342: Likewise.
29782         * charmaps/ISO_2033-1983: Likewise.
29783         * charmaps/ISO_5427-EXT: Likewise.
29784         * locales/POSIX: Likewise.
29785         * locales/ar_SA: Likewise.
29786         * locales/be_BY: Likewise.
29787         * locales/be_BY@latin: Likewise.
29788         * locales/ca_ES: Likewise.
29789         * locales/cs_CZ: Likewise.
29790         * locales/da_DK: Likewise.
29791         * locales/de_BE: Likewise.
29792         * locales/de_CH: Likewise.
29793         * locales/de_LU: Likewise.
29794         * locales/en_AU: Likewise.
29795         * locales/en_BW: Likewise.
29796         * locales/en_CA: Likewise.
29797         * locales/en_DK: Likewise.
29798         * locales/en_GB: Likewise.
29799         * locales/en_IE: Likewise.
29800         * locales/en_NZ: Likewise.
29801         * locales/en_ZA: Likewise.
29802         * locales/en_ZW: Likewise.
29803         * locales/es_AR: Likewise.
29804         * locales/es_BO: Likewise.
29805         * locales/es_CL: Likewise.
29806         * locales/es_CO: Likewise.
29807         * locales/es_DO: Likewise.
29808         * locales/es_EC: Likewise.
29809         * locales/es_ES: Likewise.
29810         * locales/es_HN: Likewise.
29811         * locales/es_MX: Likewise.
29812         * locales/es_PA: Likewise.
29813         * locales/es_PE: Likewise.
29814         * locales/es_PY: Likewise.
29815         * locales/es_SV: Likewise.
29816         * locales/es_US: Likewise.
29817         * locales/es_UY: Likewise.
29818         * locales/es_VE: Likewise.
29819         * locales/et_EE: Likewise.
29820         * locales/fa_IR: Likewise.
29821         * locales/fo_FO: Likewise.
29822         * locales/fr_CA: Likewise.
29823         * locales/fr_CH: Likewise.
29824         * locales/gv_GB: Likewise.
29825         * locales/he_IL: Likewise.
29826         * locales/hr_HR: Likewise.
29827         * locales/id_ID: Likewise.
29828         * locales/is_IS: Likewise.
29829         * locales/it_CH: Likewise.
29830         * locales/iw_IL: Likewise.
29831         * locales/kl_GL: Likewise.
29832         * locales/ko_KR: Likewise.
29833         * locales/kw_GB: Likewise.
29834         * locales/lg_UG: Likewise.
29835         * locales/lt_LT: Likewise.
29836         * locales/lv_LV: Likewise.
29837         * locales/mi_NZ: Likewise.
29838         * locales/nhn_MX: Likewise.
29839         * locales/nl_BE: Likewise.
29840         * locales/pl_PL: Likewise.
29841         * locales/sk_SK: Likewise.
29842         * locales/sl_SI: Likewise.
29843         * locales/sv_FI: Likewise.
29844         * locales/tl_PH: Likewise.
29845         * locales/tr_TR: Likewise.
29846         * locales/vi_VN: Likewise.
29848 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29850         [BZ #17475]
29851         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29852         of tu_IN and bh_IN.
29854 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29856         [BZ #18694]
29857         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29858         bits/wordsize.h.
29859         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29861 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29863         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29864         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29865         (spawn_thread): New function.
29866         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29867         (do_test): ... here.  Use IS_LOADED to test for its
29868         availability.
29870 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29874 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29876         [BZ #18696]
29877         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29878         si_addr_bnd.
29879         (si_lower): New.
29880         (si_upper): Likewise.
29882 2015-07-16  David S. Miller  <davem@davemloft.net>
29884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29886 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29888         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29889         buffer.
29890         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29891         fail output information.
29893 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29896         and strstr-ppc64..
29897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29898         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29899         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29900         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29901         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29903 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29905         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29906         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29907         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29908         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29910 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29912         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29913         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29914         rtld_hidden_proto.
29915         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29917 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29919         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29920         the test can fail.
29922         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29924         [BZ #18676]
29925         * elf/tst-nodelete-opened.c: New test case.
29926         * elf/tst-nodelete-opened-lib.c: New test case module.
29927         * elf/Makefile (tests, modules-names): Use them.
29928         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29929         early.
29931 2015-07-15  David S. Miller  <davem@davemloft.net>
29933         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29934         futex-intenal.h
29935         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29936         * sysdeps/sparc/sparc64/Makefile: Likewise.
29937         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29938         Remove space from macro define.
29939         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29941 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29943         [BZ #17475]
29944         * locale/iso-639.def: Update Bhili and Tulu language codes as
29945         per iso639-3.
29947 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29949         * elf/tst-leaks1.c (main): Converted to ...
29950         (do_test): ... this.
29951         (TEST_FUNCTION): New macro.
29952         Include test-skeleton.c.
29953         * localedata/tst-langinfo.c (main): Converted to ...
29954         (do_test): ... this.
29955         (TEST_FUNCTION): New macro.
29956         Include test-skeleton.c.
29957         * math/test-fpucw.c (main): Converted to ...
29958         (do_test): ... this.
29959         (TEST_FUNCTION): New macro.
29960         Include test-skeleton.c.
29961         * math/test-tgmath.c (main): Converted to ...
29962         (do_test): ... this.
29963         (TEST_FUNCTION): New macro.
29964         Include test-skeleton.c.
29965         * math/test-tgmath2.c (main): Converted to ...
29966         (do_test): ... this.
29967         (TEST_FUNCTION): New macro.
29968         Include test-skeleton.c.
29969         * setjmp/tst-setjmp.c (main): Converted to ...
29970         (do_test): ... this.
29971         (TEST_FUNCTION): New macro.
29972         Include test-skeleton.c.
29973         * stdio-common/tst-sscanf.c (main): Converted to ...
29974         (do_test): ... this.
29975         (TEST_FUNCTION): New macro.
29976         Include test-skeleton.c.
29977         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29978         (do_test): ... this.
29979         (TEST_FUNCTION): New macro.
29980         Include test-skeleton.c.
29982         * elf/tst-audit9.c (main): Converted to ...
29983         (do_test): ... this.
29984         (TEST_FUNCTION): New macro.
29985         Include test-skeleton.c.
29987 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29989         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29991 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29993         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29994         New variable.
29996 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29998         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30000 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30002         * sysdeps/generic/dl-fileid.h: New file.
30003         * sysdeps/posix/dl-fileid.h: New file.
30004         * sysdeps/nacl/dl-fileid.h: New file.
30005         * include/link.h: Include <dl-fileid.h>.
30006         (struct link_map): Replace l_dev and l_ino with l_file_id.
30007         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30008         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30009         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30011 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30013         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30015 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30017         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30018         Add iff $CXX is set.
30019         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30020         Likewise.
30021         (tst-nodelete-zmodiff): Likewise.
30022         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30024 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30026         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30028 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30030         * sysdeps/aarch64/fpu/math_private.h
30031         (define math_opt_barrier): Add AArch64 version.
30032         (math_force_eval): Likewise.
30034 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30036         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30038 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30040         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30041         %ld with %jd and cast to intmax_t.
30042         (do_test_length_zero): Likewise.
30044 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30046         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30048 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30050         * sysdeps/tile/libm-test-ulps: Regenerated.
30052         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30053         Comment out the whole function, not just its body.
30055 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30057         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30058         locks.
30060         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30062 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30064         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30065         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30067 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30069         * sysdeps/nptl/futex-internal.h: New file.
30070         * sysdeps/nacl/futex-internal.h: New file.
30071         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30072         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30073         error checking.
30074         (setxid_unmark_thread): Likewise.
30075         (__nptl_setxid): Likewise.
30076         (__wait_lookup_done): Likewise.
30077         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30078         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30079         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30080         * nptl/pthread_once.c (clear_once_control): Likewise.
30081         (__pthread_once_slow): Likewise.
30082         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30083         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30084         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30085         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30086         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30087         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30088         Likewise.
30089         (__pthread_rwlock_rdlock): Likewise.
30090         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30091         Likewise.
30092         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30093         Likewise.
30094         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30095         Likewise.
30096         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30097         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30098         Likewise.
30099         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30100         __ASSUME_PRIVATE_FUTEX check.
30101         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30102         Check that shared futexes are supported.
30103         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30104         wrappers with error checking.
30105         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30106         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30107         * nptl/pthread_barrierattr_setpshared.c
30108         (pthread_barrierattr_setpshared): Check that shared futexes are
30109         supported.
30110         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30111         Likewise.
30112         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30113         Likewise.
30114         * nptl/sem_init.c (futex_private_if_supported): Remove.
30115         (__new_sem_init): Adapt and check that shared futexes are supported.
30116         * nptl/sem_open.c (sem_open): Likewise.
30117         * nptl/sem_post.c (futex_wake): Remove.
30118         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30119         (do_futex_wait): Use futex wrappers with error checking.
30120         * nptl/sem_wait.c: Include lowlevellock.h.
30121         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30122         Use futex_supports_pshared.
30123         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30124         Use futex wrappers with error checking.
30125         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30126         Likewise.
30127         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30128         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30129         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30130         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30131         (futex_wake): Likewise.
30132         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30133         (do_futex_wait): Use futex wrappers with error checking.
30134         (__new_sem_wait_slow): Update EINTR handling.
30135         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30137 2015-07-09  Martin Sebor  <msebor@redhat.com>
30139         [BZ #18435]
30140         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30141         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30142         * nptl/Makefile (test-xfail-tst-once5): Define.
30144 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30146         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30147         * elf/dl-minimal.c: For readability, reorder some definitions and
30148         introduce more page breaks.  Include <stdio.h>.
30149         (__libc_fatal): New function.
30151         * include/unistd.h: Add rtld_hidden_proto for _exit.
30152         * posix/_exit.c: Add rtld_hidden_def.
30153         * sysdeps/mach/hurd/_exit.c: Likewise.
30154         * sysdeps/nacl/_exit.c: Likewise.
30155         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30156         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30158 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30160         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30161         bndmov encoding with zero displacement.
30163 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30164             H.J. Lu  <hongjiu.lu@intel.com>
30166         [BZ #18134]
30167         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30168         * sysdeps/i386/configure: Regenerated.
30169         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30170         (_dl_runtime_profile): Save and restore Intel MPX return bound
30171         registers when calling _dl_call_pltexit.  Add
30172         PRESERVE_BND_REGS_PREFIX before return.
30173         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30174         (LRV_BND1_OFFSET): Likewise.
30175         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30176         lrv_bnd1.
30177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30178         typo in bndmov encoding.
30179         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30180         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30181         branch instructions to preserve bounds.
30183 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30186         [GLIBC_2.22]: Add fmemopen.
30188 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30190         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30191         returns an error, also try to use host port from __mach_host_self for
30192         the __vm_wire call.
30193         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30195 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30197         [BZ #18400]
30198         [BZ #18648]
30199         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30200         Fix pr_uid and pr_gid members.
30201         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30202         definition to elf_greg_t.
30204 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30206         [BZ #18383]
30207         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30208         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30209         * sysdeps/arm/configure: Regenerated.
30210         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30211         (test-xfail-tst-tlsalign-static): Variable removed.
30213         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30214         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30215         rather than explicit 'ln -s'.
30217         * resolv/rpc/netdb.h: New file.
30218         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30220 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30222         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30223         length buffers.
30224         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30225         test-skeleton.c.
30227         [BZ #6544]
30228         [BZ #11216]
30229         [BZ #12836]
30230         [BZ #13151]
30231         [BZ #13152]
30232         [BZ #14292]
30233         * include/stdio.h (fmemopen): Remove hidden prototype.
30234         (__fmemopen): Add new hidden prototype.
30235         * libio/Makefile: Add oldfmemopen object.
30236         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30237         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30238         compliance.
30239         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30240         symbol compatibility.
30241         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30242         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30243         fmemopen.
30244         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30245         on append and read mode.
30246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30247         fmemopen.
30248         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30249         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30250         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30251         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30252         Likewise.
30253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30254         [GLIBC_2.22]: Likewise.
30255         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30256         Likewise.
30257         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30258         Likewise.
30259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30260         [GLIBC_2.22]: Likewise.
30261         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30262         [GLIBC_2.22]: Likewise.
30263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30264         [GLIBC_2.22]: Likewise.
30265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30266         [GLIBC_2.22]: Likewise.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30268         [GLIBC_2.22]: Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30270         [GLIBC_2.22]: Likewise.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30272         [GLIBC_2.22]: Likewise.
30273         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30274         Likewise.
30275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30276         Likewise.
30277         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30278         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30279         [GLIBC_2.22]: Likewise.
30280         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30281         [GLIBC_2.22]: Likewise.
30282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30283         [GLIBC_2.22]: Likewise.
30284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30285         [GLIBC_2.22]: Likewise.
30286         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30287         Likewise.
30288         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30289         Likewise.
30290         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30291         Likewise.
30292         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30293         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30295 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30297         [BZ #18643]
30298         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30299         IPV6_PATHMTU, and IPV6_DONTFRAG.
30301 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30303         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30304         and _IO_UNBUFFERED.
30305         * libio/oldfileops.c: Likewise.
30306         * libio/wfileops.c: Likewise.
30308 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30310         * nscd/selinux.c: Delete selinux/flask.h include.
30312 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30314         [BZ #18641]
30315         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30316         (putpwent): Likewise.
30317         (getpwnam): Likewise.
30318         (getpwent_r): Likewise.
30319         (getpwuid_r): Likewise.
30320         (getpwnam_r): Likewise.
30321         (fgetpwent_r): Likewise.
30323 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30325         [BZ #18557]
30326         * inet/rcmd.c (__validuser2_sa): Check user first to
30327         short-circuit host check.
30329 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30330             Mikhail Ilin  <m.ilin@samsung.com>
30332         [BZ #17833]
30333         * elf/Makefile (tests): Add tst-nodelete.
30334         (modules-names): Add tst-nodelete-uniquemod.
30335         (tst-nodelete-uniquemod.so-no-z-defs): New.
30336         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30337         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30338         ($(objpfx)tst-nodelete): Likewise.
30339         ($(objpfx)tst-nodelete.out): Likewise.
30340         (LDFLAGS-tst-nodelete): Likewise.
30341         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30342         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30343         implement forced object deletion.
30344         (_dl_close): Pass false to _dl_close_worker.
30345         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30346         * elf/tst-nodelete.cc: New file.
30347         * elf/tst-nodeletelib.cc: Likewise.
30348         * elf/tst-znodeletelib.cc: Likewise.
30349         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30351 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30353         [BZ #18508]
30354         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30355         Depend on $(libdl).
30356         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30357         is not called infinitely times.
30358         (backtrace_helper): New function.
30359         (trace_arg): New struct.
30360         (st1): Enlarge stack size.
30361         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30362         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30363         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30364         Likewise.
30366 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30368         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30370 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30372         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30373         Include sys/types.h instead of bits/types.h.
30374         Remove inclusion of bits/wordsize.h.
30376 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30378         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30379         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30380         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30381         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30382         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30383         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30385 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30387         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30388         link-defines.sym.
30389         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30390         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30391         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30392         and LR_SIZE.
30393         * sysdeps/i386/link-defines.sym: New file.
30395 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30397         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30398         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30399         ($(objpfx)tst-audit3): New rule.
30400         ($(objpfx)tst-audit3.out): Likewise.
30401         * sysdeps/i386/tst-audit3.c: New file.
30402         * sysdeps/i386/tst-audit3.h: Likewise.
30403         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30404         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30406 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30408         [BZ #18633]
30409         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30410         pointer in C code.
30411         (__strcat_c): Likewise.
30412         (__strcat_g): Likewise.
30414 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30416         [BZ #18592]
30417         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30419 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30421         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30422         New function.  (__ieee754_sqrtf): New function.
30423         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30424         New function.
30425         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30426         New function.
30428 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30430         * sysdeps/ieee754/support.c: Remove unused file.
30432 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30434         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30435         registers instead of d ones so the layout is kernel abi compatible.
30436         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30437         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30438         Likewise.
30440 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30442         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30444 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30446         [BZ #18619]
30447         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30448         and return argument in case of subnormal argument.
30450 2015-07-01  Martin Sebor  <msebor@redhat.com>
30452         [BZ #18435]
30453         * nptl/Makefile: Add tst-once5.cc.
30454         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30455         Remove macro redefinitions.
30456         * nptl/tst-once5.cc: New test.
30458 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30460         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30462         * sysdeps/arm/libm-test-ulps: Regenerated.
30464         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30465         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30467 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30469         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30470         lll_lock_wait_private and lll_futex_wake probes.
30472         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30473         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30474         Likewise.
30475         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30476         atomic_spin_nop.
30477         * sysdeps/x86_64/bits/atomic.h: Likewise.
30478         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30479         to atomic_spin_nop and move ...
30480         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30481         ... here and ...
30482         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30483         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30484         atomic_spin_nop instead of BUSY_WAIT_NOP.
30485         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30486         Likewise.
30487         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30488         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30489         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30490         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30491         instead of atomic_delay.
30493 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
30495         [BZ #18613]
30496         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30497         X_ADJ not X when adjusting exponent.
30498         (__ieee754_gamma_r): Do intermediate computations in
30499         round-to-nearest then adjust overflowing and underflowing results
30500         as needed.
30501         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30502         of X_ADJ not X when adjusting exponent.
30503         (__ieee754_gammaf_r): Do intermediate computations in
30504         round-to-nearest then adjust overflowing and underflowing results
30505         as needed.
30506         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30507         log of X_ADJ not X when adjusting exponent.
30508         (__ieee754_gammal_r): Do intermediate computations in
30509         round-to-nearest then adjust overflowing and underflowing results
30510         as needed.  Use 1.0L not 1.0f as numerator of division.
30511         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30512         log of X_ADJ not X when adjusting exponent.
30513         (__ieee754_gammal_r): Do intermediate computations in
30514         round-to-nearest then adjust overflowing and underflowing results
30515         as needed.  Use 1.0L not 1.0f as numerator of division.
30516         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30517         of X_ADJ not X when adjusting exponent.
30518         (__ieee754_gammal_r): Do intermediate computations in
30519         round-to-nearest then adjust overflowing and underflowing results
30520         as needed.  Use 1.0L not 1.0f as numerator of division.
30521         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30522         to auto-libm-test-in.
30523         (tgamma_test): Use ALL_RM_TEST.
30524         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30525         tests of tgamma with spurious-overflow.
30526         * math/auto-libm-test-out: Regenerated.
30527         * math/gen-libm-have-vector-test.sh: Do not check for START.
30528         * sysdeps/i386/fpu/libm-test-ulps: Update.
30529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30531         [BZ #18612]
30532         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30533         arguments, just return 0.5 times the argument, with underflow
30534         forced as needed.
30535         * math/auto-libm-test-in: Add more tests of j1.
30536         * math/auto-libm-test-out: Regenerated.
30538         [BZ #16559]
30539         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30540         (__ieee754_j1): Force underflow exception for small results.
30541         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30542         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30543         (__ieee754_j1f): Force underflow exception for small results.
30544         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30545         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30547         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30548         (__ieee754_j1l): Force underflow exception for small results.
30549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30550         * math/auto-libm-test-in: Add more tests of j1 and jn.
30551         * math/auto-libm-test-out: Regenerated.
30553         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30554         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30555         (PF_MPLS): Likewise.
30556         (AF_IB): Likewise.
30557         (AF_MPLS): Likewise.
30558         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30559         value and macro.
30560         (MS_RMT_MASK): Include MS_LAZYTIME.
30562 2015-06-26  Mel Gorman  <mgorman@suse.de>
30564         [BZ #18502]
30565         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30566         already minimal.
30568 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30570         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30571         (DT_MIPS_NUM): Update.
30572         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30573         DT_MIPS_RLD_MAP_REL.
30575 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30577         [BZ #16559]
30578         [BZ #18602]
30579         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30580         round-to-nearest internally then recompute results that
30581         underflowed to zero in the original rounding mode.
30582         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30583         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30586         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30587         * sysdeps/i386/fpu/libm-test-ulps: Update.
30588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30590 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30592         * NEWS: Fixed description of link with vector math library.
30594 2015-06-25  Andreas Schwab  <schwab@suse.de>
30596         [BZ #18549]
30597         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30598         * libio/test-fmemopen.c (do_test): Add test for it.
30600 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30602         [BZ #17841]
30603         * Makeconfig (no-pie-ldflag): New.
30604         (+link): Set to $(+link-pie) if default to PIE.
30605         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30606         * config.make.in (build-pie-default): New.
30607         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30608         is default.  AC_SUBST.
30609         * configure: Regenerated.
30610         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30612 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30614         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30615         to 'unsigned int'.
30617         * resolv/gai_misc.h (struct waitlist): Change type of field
30618         counterp to 'volatile unsigned int *'.
30619         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30620         FUTEXADDR and OLDVAL.
30621         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30622         Give local variable TOTAL type 'volatile unsigned int'.
30623         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30624         * resolv/gai_suspend.c (gai_suspend):
30625         Give local variable CNTR type 'unsigned int'.
30627         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30628         counterp to 'volatile unsigned int *'.
30629         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30630         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30631         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30632         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30633         Give local variable TOTAL type 'volatile unsigned int'.
30634         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30636 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30638         [BZ #18383]
30639         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30640         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30641         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30642         comment for i386/x86-64.
30643         (test-xfail-tst-tlsalign-extern-static): Removed.
30645 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30647         * math/test-double.h: New file.
30648         * math/test-float.h: Likewise.
30649         * math/test-ldouble.h: Likewise.
30650         * math/test-math-inline.h: Likewise.
30651         * math/test-math-no-inline.h: Likewise.
30652         * math/test-math-scalar.h: Likewise.
30653         * math/test-math-vector.h: Likewise.
30654         * math/test-vec-loop.h: Remove file.  Contents moved into
30655         test-math-vector.h.
30656         * math/libm-test.inc (MATHCONST): Do not document macro.
30657         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30658         and test-math-scalar.h.
30659         (FUNC): Remove macro.
30660         (FUNC_TEST): Likewise.
30661         (FLOAT): Likewise.
30662         (MATHCONST): Likewise.
30663         (PRINTF_EXPR): Likewise.
30664         (PRINTF_XEXPR): Likewise.
30665         (PRINTF_NEXPR): Likewise.
30666         (TEST_DOUBLE): Likewise.
30667         (TEST_MATHVEC): Likewise.
30668         (__NO_MATH_INLINES): Likewise.
30669         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30670         and test-math-scalar.h.
30671         (FUNC): Remove macro.
30672         (FUNC_TEST): Likewise.
30673         (FLOAT): Likewise.
30674         (MATHCONST): Likewise.
30675         (PRINTF_EXPR): Likewise.
30676         (PRINTF_XEXPR): Likewise.
30677         (PRINTF_NEXPR): Likewise.
30678         (TEST_FLOAT): Likewise.
30679         (TEST_MATHVEC): Likewise.
30680         (__NO_MATH_INLINES): Likewise.
30681         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30682         and test-math-scalar.h.
30683         (FUNC): Remove macro.
30684         (FUNC_TEST): Likewise.
30685         (FLOAT): Likewise.
30686         (MATHCONST): Likewise.
30687         (PRINTF_EXPR): Likewise.
30688         (PRINTF_XEXPR): Likewise.
30689         (PRINTF_NEXPR): Likewise.
30690         (TEST_DOUBLE): Likewise.
30691         (TEST_MATHVEC): Likewise.
30692         (TEST_INLINE): Likewise.
30693         (__NO_MATH_INLINES): Likewise.
30694         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30695         test-math-scalar.h.
30696         (FUNC): Remove macro.
30697         (FUNC_TEST): Likewise.
30698         (FLOAT): Likewise.
30699         (MATHCONST): Likewise.
30700         (PRINTF_EXPR): Likewise.
30701         (PRINTF_XEXPR): Likewise.
30702         (PRINTF_NEXPR): Likewise.
30703         (TEST_FLOAT): Likewise.
30704         (TEST_MATHVEC): Likewise.
30705         (TEST_INLINE): Likewise.
30706         (__NO_MATH_INLINES): Likewise.
30707         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30708         and test-math-scalar.h.
30709         (FUNC): Remove macro.
30710         (FUNC_TEST): Likewise.
30711         (FLOAT): Likewise.
30712         (MATHCONST): Likewise.
30713         (PRINTF_EXPR): Likewise.
30714         (PRINTF_XEXPR): Likewise.
30715         (PRINTF_NEXPR): Likewise.
30716         (TEST_LDOUBLE): Likewise.
30717         (TEST_MATHVEC): Likewise.
30718         (TEST_INLINE): Likewise.
30719         (__NO_MATH_INLINES): Likewise.
30720         * math/test-ldouble.c: Include test-ldouble.h,
30721         test-math-no-inline.h and test-math-scalar.h.
30722         (FUNC): Remove macro.
30723         (FUNC_TEST): Likewise.
30724         (FLOAT): Likewise.
30725         (MATHCONST): Likewise.
30726         (PRINTF_EXPR): Likewise.
30727         (PRINTF_XEXPR): Likewise.
30728         (PRINTF_NEXPR): Likewise.
30729         (TEST_LDOUBLE): Likewise.
30730         (TEST_MATHVEC): Likewise.
30731         (__NO_MATH_INLINES): Likewise.
30732         * math/test-double-vlen2.h: Include test-double.h,
30733         test-math-no-inline.h and test-math-vector.h.
30734         (FLOAT): Remove macro.
30735         (FUNC): Likewise.
30736         (MATHCONST): Likewise.
30737         (PRINTF_EXPR): Likewise.
30738         (PRINTF_XEXPR): Likewise.
30739         (PRINTF_NEXPR): Likewise.
30740         (TEST_DOUBLE): Likewise.
30741         (TEST_MATHVEC): Likewise.
30742         (__NO_MATH_INLINES): Likewise.
30743         (CNCT): Likewise.
30744         (CONCAT): Likewise.
30745         (WRAPPER_NAME): Likewise.
30746         (WRAPPER_DECL): Likewise.
30747         (WRAPPER_DECL_ff): Likewise.
30748         (WRAPPER_DECL_fFF): Likewise.
30749         (VECTOR_WRAPPER): Likewise.
30750         (VECTOR_WRAPPER_ff): Likewise.
30751         (VECTOR_WRAPPER_fFF): Likewise.
30752         (VEC_LEN): New macro.
30753         * math/test-double-vlen4.h: Include test-double.h,
30754         test-math-no-inline.h and test-math-vector.h.
30755         (FLOAT): Remove macro.
30756         (FUNC): Likewise.
30757         (MATHCONST): Likewise.
30758         (PRINTF_EXPR): Likewise.
30759         (PRINTF_XEXPR): Likewise.
30760         (PRINTF_NEXPR): Likewise.
30761         (TEST_DOUBLE): Likewise.
30762         (TEST_MATHVEC): Likewise.
30763         (__NO_MATH_INLINES): Likewise.
30764         (CNCT): Likewise.
30765         (CONCAT): Likewise.
30766         (WRAPPER_NAME): Likewise.
30767         (WRAPPER_DECL): Likewise.
30768         (WRAPPER_DECL_ff): Likewise.
30769         (WRAPPER_DECL_fFF): Likewise.
30770         (VECTOR_WRAPPER): Likewise.
30771         (VECTOR_WRAPPER_ff): Likewise.
30772         (VECTOR_WRAPPER_fFF): Likewise.
30773         (VEC_LEN): New macro.
30774         * math/test-double-vlen8.h: Include test-double.h,
30775         test-math-no-inline.h and test-math-vector.h.
30776         (FLOAT): Remove macro.
30777         (FUNC): Likewise.
30778         (MATHCONST): Likewise.
30779         (PRINTF_EXPR): Likewise.
30780         (PRINTF_XEXPR): Likewise.
30781         (PRINTF_NEXPR): Likewise.
30782         (TEST_DOUBLE): Likewise.
30783         (TEST_MATHVEC): Likewise.
30784         (__NO_MATH_INLINES): Likewise.
30785         (CNCT): Likewise.
30786         (CONCAT): Likewise.
30787         (WRAPPER_NAME): Likewise.
30788         (WRAPPER_DECL): Likewise.
30789         (WRAPPER_DECL_ff): Likewise.
30790         (WRAPPER_DECL_fFF): Likewise.
30791         (VECTOR_WRAPPER): Likewise.
30792         (VECTOR_WRAPPER_ff): Likewise.
30793         (VECTOR_WRAPPER_fFF): Likewise.
30794         (VEC_LEN): New macro.
30795         * math/test-float-vlen4.h: Include test-float.h,
30796         test-math-no-inline.h and test-math-vector.h.
30797         (FLOAT): Remove macro.
30798         (FUNC): Likewise.
30799         (MATHCONST): Likewise.
30800         (PRINTF_EXPR): Likewise.
30801         (PRINTF_XEXPR): Likewise.
30802         (PRINTF_NEXPR): Likewise.
30803         (TEST_FLOAT): Likewise.
30804         (TEST_MATHVEC): Likewise.
30805         (__NO_MATH_INLINES): Likewise.
30806         (CNCT): Likewise.
30807         (CONCAT): Likewise.
30808         (WRAPPER_NAME): Likewise.
30809         (WRAPPER_DECL): Likewise.
30810         (WRAPPER_DECL_ff): Likewise.
30811         (WRAPPER_DECL_fFF): Likewise.
30812         (VECTOR_WRAPPER): Likewise.
30813         (VECTOR_WRAPPER_ff): Likewise.
30814         (VECTOR_WRAPPER_fFF): Likewise.
30815         (VEC_LEN): New macro.
30816         * math/test-float-vlen8.h: Include test-float.h,
30817         test-math-no-inline.h and test-math-vector.h.
30818         (FLOAT): Remove macro.
30819         (FUNC): Likewise.
30820         (MATHCONST): Likewise.
30821         (PRINTF_EXPR): Likewise.
30822         (PRINTF_XEXPR): Likewise.
30823         (PRINTF_NEXPR): Likewise.
30824         (TEST_FLOAT): Likewise.
30825         (TEST_MATHVEC): Likewise.
30826         (__NO_MATH_INLINES): Likewise.
30827         (CNCT): Likewise.
30828         (CONCAT): Likewise.
30829         (WRAPPER_NAME): Likewise.
30830         (WRAPPER_DECL): Likewise.
30831         (WRAPPER_DECL_ff): Likewise.
30832         (WRAPPER_DECL_fFF): Likewise.
30833         (VECTOR_WRAPPER): Likewise.
30834         (VECTOR_WRAPPER_ff): Likewise.
30835         (VECTOR_WRAPPER_fFF): Likewise.
30836         (VEC_LEN): New macro.
30837         * math/test-float-vlen16.h: Include test-float.h,
30838         test-math-no-inline.h and test-math-vector.h.
30839         (FLOAT): Remove macro.
30840         (FUNC): Likewise.
30841         (MATHCONST): Likewise.
30842         (PRINTF_EXPR): Likewise.
30843         (PRINTF_XEXPR): Likewise.
30844         (PRINTF_NEXPR): Likewise.
30845         (TEST_FLOAT): Likewise.
30846         (TEST_MATHVEC): Likewise.
30847         (__NO_MATH_INLINES): Likewise.
30848         (CNCT): Likewise.
30849         (CONCAT): Likewise.
30850         (WRAPPER_NAME): Likewise.
30851         (WRAPPER_DECL): Likewise.
30852         (WRAPPER_DECL_ff): Likewise.
30853         (WRAPPER_DECL_fFF): Likewise.
30854         (VECTOR_WRAPPER): Likewise.
30855         (VECTOR_WRAPPER_ff): Likewise.
30856         (VECTOR_WRAPPER_fFF): Likewise.
30857         (VEC_LEN): New macro.
30858         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30859         test-vec-loop.h.
30860         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30862         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30863         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30864         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30865         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30866         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30868 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30870         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30871         (__getlogin_r): ... this.
30873 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30875         [BZ #18594]
30876         * math/s_ccosh.c (__ccosh): Compare with least normal value
30877         instead of comparing class with FP_SUBNORMAL.
30878         * math/s_ccoshf.c (__ccoshf): Likewise.
30879         * math/s_ccoshl.c (__ccoshl): Likewise.
30880         * math/s_cexp.c (__cexp): Likewise.
30881         * math/s_cexpf.c (__cexpf): Likewise.
30882         * math/s_cexpl.c (__cexpl): Likewise.
30883         * math/s_csin.c (__csin): Likewise.
30884         * math/s_csinf.c (__csinf): Likewise.
30885         * math/s_csinh.c (__csinh): Likewise.
30886         * math/s_csinhf.c (__csinhf): Likewise.
30887         * math/s_csinhl.c (__csinhl): Likewise.
30888         * math/s_csinl.c (__csinl): Likewise.
30889         * math/s_ctan.c (__ctan): Likewise.
30890         * math/s_ctanf.c (__ctanf): Likewise.
30891         * math/s_ctanh.c (__ctanh): Likewise.
30892         * math/s_ctanhf.c (__ctanhf): Likewise.
30893         * math/s_ctanhl.c (__ctanhl): Likewise.
30894         * math/s_ctanl.c (__ctanl): Likewise.
30895         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30896         csin, csinh, ctan and ctanh.
30897         * math/auto-libm-test-out: Regenerated.
30898         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30899         * sysdeps/i386/fpu/libm-test-ulps: Update.
30900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30902 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30904         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30905         return value is wrong, print the expected value too.
30907 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30909         [BZ #18585]
30910         * elf/readlib.c (is_gdb_python_file): New.
30911         (process_file): Don't issue errors on filenames with -gdb.py
30912         suffix.
30914 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30916         * math/auto-libm-test-in: Add more tests of csin and csinh.
30917         * math/auto-libm-test-out: Regenerated.
30918         * math/libm-test.inc (csin_test_data): Remove tests moved to
30919         auto-libm-test-in.
30920         (csinh_test_data): Likewise.
30922         [BZ #18593]
30923         * math/s_csin.c (__csin): Negate before rather than after possibly
30924         overflowing multiplication.
30925         * math/s_csinf.c (__csinf): Likewise.
30926         * math/s_csinh.c (__csinh): Likewise.
30927         * math/s_csinhf.c (__csinhf): Likewise.
30928         * math/s_csinhl.c (__csinhl): Likewise.
30929         * math/s_csinl.c (__csinl): Likewise.
30930         * math/auto-libm-test-in: Add some tests of csin and csinh.
30931         * math/auto-libm-test-out: Regenerated.
30932         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30933         (csinh_test_data): Likewise.
30934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30936         [BZ #18586]
30937         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30938         underflow exception for small results.
30940 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30944         variable and included header.
30945         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30953         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30954         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30955         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30956         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30957         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30958         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30959         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30960         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30962 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30964         [BZ #16526]
30965         [BZ #16538]
30966         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30967         (__sin): Force underflow exception for arguments with small
30968         absolute value.
30969         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30970         (__kernel_sinf): Force underflow exception for arguments with
30971         small absolute value.
30972         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30973         (__kernel_sincosl): Force underflow exception for arguments with
30974         small absolute value.
30975         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30976         (__kernel_sinl): Force underflow exception for arguments with
30977         small absolute value.
30978         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30979         (__kernel_sincosl): Force underflow exception for arguments with
30980         small absolute value.
30981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30982         (__kernel_sinl): Force underflow exception for arguments with
30983         small absolute value.
30984         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30985         (__kernel_sinl): Force underflow exception for arguments with
30986         small absolute value.
30987         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30988         (__kernel_sinf): Force underflow exception for arguments with
30989         small absolute value.
30990         * math/auto-libm-test-in: Add more tests of sin and sincos.
30991         * math/auto-libm-test-out: Regenerated.
30993         [BZ #18245]
30994         [BZ #18583]
30995         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30996         (__kernel_standard_l): Use feholdexcept and fesetenv around
30997         conversion to double instead of special-casing overflow and
30998         underflow.
30999         * math/libm-test.inc (fmod_test_data): Add more tests.
31000         (remainder_test_data): Likewise.
31001         (sqrt_test_data): Likewise.
31003 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31005         [BZ #17403]
31006         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31007         atomic_read_barrier, atomic_write_barrier): Define.
31008         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31009         atomic_read_barrier, atomic_write_barrier): Define.
31011 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31013         * math/Makefile [$(PERL) != no]
31014         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31015         dependency on libm-test.stmp below the inclusion of Rules.
31017 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31019         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31020         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31021         and included header.
31022         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31030         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31031         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31032         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31033         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31034         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31035         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31036         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31037         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31038         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31039         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31040         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31042 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31044         [BZ #18371]
31045         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31046         intermediate but not final result might underflow.
31047         * math/s_csqrtf.c (__csqrtf): Likewise.
31048         * math/s_csqrtl.c (__csqrtl): Likewise.
31049         * math/auto-libm-test-in: Add more tests of csqrt.
31050         * math/auto-libm-test-out: Regenerated.
31051         * sysdeps/i386/fpu/libm-test-ulps: Update.
31053         [BZ #18219]
31054         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31055         threshold on absolute value of exponent for which scaling is used.
31056         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31057         * math/auto-libm-test-in: Add more tests of exp2.
31058         * math/auto-libm-test-out: Regenerated.
31060 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31062         [BZ #17977]
31063         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31064         when initializing interface list, based on the bug analysis
31065         and the patch proposed by Eric Newton.
31066         * resolv/tst-res_hconf_reorder.c: New test.
31067         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31068         tst-res_hconf_reorder.
31069         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31070         and $(shared-thread-library).
31071         (tst-res_hconf_reorder-ENV): New variable.
31073         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31074         in comment.
31076 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31078         [BZ #16353]
31079         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31080         (__expm1): Force underflow exception for arguments with small
31081         absolute value.
31082         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31083         (__expm1f): Force underflow exception for arguments with small
31084         absolute value.
31085         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31086         (__expm1): Force underflow exception for arguments with small
31087         absolute value.
31088         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31089         (__expm1f): Force underflow exception for arguments with small
31090         absolute value.
31091         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31092         Check for small arguments before calling __expm1.
31093         * math/auto-libm-test-in: Do not mark underflow exceptions as
31094         possibly missing for bug 16353.
31095         * math/auto-libm-test-out: Regenerated.
31097 2015-06-22  Andreas Schwab  <schwab@suse.de>
31099         [BZ #18513]
31100         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31101         PTR queries.
31103 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31105         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31107         * string/strcoll_l.c: Remove unused struct element idxnow.
31109 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31111         [BZ #18569]
31112         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31113         underflow and return argument in case of subnormal argument.
31114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31115         Likewise.
31116         * math/auto-libm-test-in: Add more tests of expm1.
31117         * math/auto-libm-test-out: Regenerated.
31119         [BZ #16361]
31120         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31121         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31122         tiny results.
31123         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31124         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31125         tiny results.
31126         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31127         mark underflow exceptions as possibly missing for bug 16361.
31128         * math/auto-libm-test-out: Regenerated.
31130 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31132         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31133         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31134         Remove variable.
31135         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31136         (test-xfail-XOPEN2K8/utmpx.h/conform).
31138         * conform/conformtest.pl ($xerrors): New variable.
31139         (note_error): New function.
31140         (compiletest): New argument $xfail.  Use not_error.
31141         (runtest): Likewise.
31142         (top level): Handle xfail- lines.  Update calls to compiletest and
31143         runtest.  Handle xfail- and optional- in headers listed with
31144         allow-header.
31145         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31146         (O_EXEC): Likewise.
31147         (O_SEARCH): Likewise.
31148         * conform/data/stropts.h-data (ioctl): Likewise.
31149         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31150         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31151         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31152         (msghdr.msg_controllen): Likewise.
31153         (cmsghdr.cmsg_len): Likewise.
31154         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31155         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31156         variable.
31157         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31158         (test-xfail-XPG4/stropts.h/conform): Likewise.
31159         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31160         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31161         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31162         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31163         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31164         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31165         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31166         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31167         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31168         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31169         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31170         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31171         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31172         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31173         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31174         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31175         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31176         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31177         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31179 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31181         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31182         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31183         definitions for proper unfolding of __MATHDECL_VEC.
31185 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31187         * benchtests/bench-strcoll.c:
31188         Include string.h.
31189         (main): Remove unused variable res.
31191 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31193         * timezone/Makefile (%/UTC %/Universal):
31194         Generate test-result files for UTC and Universal.
31196 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31198         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31200 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31202         [BZ #16350]
31203         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31204         for arguments with small absolute value.
31205         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31206         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31207         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31208         (__asinh): Force underflow exception for arguments with small
31209         absolute value.
31210         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31211         (__asinhf): Force underflow exception for arguments with small
31212         absolute value.
31213         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31214         (__asinhl): Force underflow exception for arguments with small
31215         absolute value.
31216         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31217         (__asinhl): Force underflow exception for arguments with small
31218         absolute value.
31219         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31220         (__asinhl): Force underflow exception for arguments with small
31221         absolute value.
31222         * math/auto-libm-test-in: Do not mark underflow exceptions as
31223         possibly missing for bug 16350.
31224         * math/auto-libm-test-out: Regenerated.
31226         * include/bits/ipc.h: Remove file.
31227         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31228         variable.
31229         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31230         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31231         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31232         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31233         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31234         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31235         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31236         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31237         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31239         * math/auto-libm-test-in: Remove spurious underflow allowance for
31240         tests of cexp.
31241         * math/auto-libm-test-out: Regenerated.
31243         [BZ #18558]
31244         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31245         unconditional definition.
31246         (MCAST_BLOCK_SOURCE): Likewise.
31247         (MCAST_UNBLOCK_SOURCE): Likewise.
31248         (MCAST_LEAVE_GROUP): Likewise.
31249         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31250         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31251         (MCAST_MSFILTER): Likewise.
31252         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31253         Remove variable.
31254         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31255         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31256         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31257         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31258         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31260 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31262         * NEWS: Mention addition of x86_64 vector sincosf.
31263         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31264         * math/test-float-vlen4.h: Likewise.
31265         * math/test-float-vlen8.h: Likewise.
31266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31267         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31269         * sysdeps/x86_64/fpu/Versions: New versions added.
31270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31271         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31272         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31275         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31279         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31280         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31281         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31282         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31283         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31284         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31286         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31287         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31289         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31292         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31295         * NEWS: Mention addition of x86_64 vector sincos.
31296         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31297         * math/math.h (__MATHDECL_VEC): New macro.
31298         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31299         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31300         declaration under condition.
31301         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31302         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31303         TEST_VEC_LOOP change.
31304         * math/test-double-vlen4.h: Likewise.
31305         * math/test-double-vlen8.h: Likewise.
31306         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31307         * math/test-float-vlen4.h: Likewise.
31308         * math/test-float-vlen8.h: Likewise.
31309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31310         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31311         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31312         * sysdeps/x86_64/fpu/Versions: New versions added.
31313         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31314         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31315         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31322         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31323         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31324         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31325         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31326         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31327         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31328         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31329         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31330         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31331         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31333         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31334         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31335         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31336         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31338         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31339         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31340         redirections for powf.
31341         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31342         * sysdeps/x86_64/fpu/Versions: New versions added.
31343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31345         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31346         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31351         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31352         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31353         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31354         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31355         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31356         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31357         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31358         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31359         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31360         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31361         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31362         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31364         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31365         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31366         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31367         * math/test-float-vlen16.h: Fixed 2 argument macro.
31368         * math/test-float-vlen4.h: Likewise.
31369         * math/test-float-vlen8.h: Likewise.
31370         * NEWS: Mention addition of x86_64 vector powf.
31372 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31374         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31375         and redefine.
31376         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31377         and redefine.
31378         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31379         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31380         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31382         [BZ #18553]
31383         * resource/getpriority.c (getpriority): Rename to __getpriority
31384         and define as weak alias of __getpriority.
31385         * resource/setpriority.c (setpriority): Rename to __setpriority
31386         and define as weak alias of __setpriority.
31387         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31388         __getpriority and define as weak alias of __getpriority.
31389         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31390         __setpriority and define as weak alias of __setpriority.
31391         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31392         strong name.
31393         (setpriority): Use __setpriority as strong name.
31394         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31395         __getpriority and define as weak alias of __getpriority.
31396         * include/sys/resource.h (__getpriority): Declare.  Use
31397         libc_hidden_proto.
31398         (__setpriority): Likewise.
31399         (getpriority): Don't use libc_hidden_proto.
31400         (setpriority): Likewise.
31401         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31402         getpriority.  Call __setpriority instead of setpriority.
31403         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31404         Remove variable.
31406         [BZ #18547]
31407         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31408         as weak alias of __getttynam.  Use prototype function definition.
31409         Call __setttyent, __getttyent and __endttyent instead of
31410         setttyent, getttyent and endttyent.
31411         (getttyent): Rename to __getttyent and define as weak alias of
31412         __getttyent.  Call __setttyent instead of setttyent.  Call
31413         __fgets_unlocked instead of fgets_unlocked.
31414         (setttyent): Rename to __setttyent and define as weak alias of
31415         __setttyent.
31416         (endttyent): Rename to __endttyent and define as weak alias of
31417         __endttyent.
31418         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31419         (__setttyent): Likewise.
31420         (__endttyent): Likewise.
31421         (getttyent): Don't use libc_hidden_proto.
31422         (setttyent): Likewise.
31423         (endttyent): Likewise.
31424         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31425         __endttyent instead of setttyent, getttyent and endttyent.
31426         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31427         Remove variable.
31429         [BZ #18546]
31430         * socket/recv.c (__recv): Use libc_hidden_def.
31431         * socket/socket.c (__socket): Likewise.
31432         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31433         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31434         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31435         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31436         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31437         libc_hidden_def.
31438         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31439         libc_hidden_weak.
31440         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31441         Use libc_hidden_proto.
31442         (__recv): Likewise.
31443         * socket/Versions (libc): Export __recv and __socket at version
31444         GLIBC_PRIVATE.
31445         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31446         instead of recv.
31447         (init_mq_netlink): Call __socket instead of socket.
31448         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31449         Remove variable.
31451         [BZ #18545]
31452         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31453         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31454         hidden_weak.
31455         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31456         define as alias of __mq_timedsend.  Use hidden_weak.
31457         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31458         __mq_timedsend as strong name.
31459         (mq_timedreceive): Use __mq_timedreceive as strong name.
31460         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31461         (__mq_timedreceive): Likewise.
31462         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31463         __mq_timedreceive instead of mq_timedreceive.
31464         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31465         instead of mq_timedsend.
31466         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31467         Remove variable.
31469         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31470         hidden_def and hidden_weak instead of libc_hidden_def and
31471         libc_hidden_weak.
31472         (top level): Refer to hidden_def in comment.
31473         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31474         macro.  Use it instead of libc_hidden_def.
31475         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31476         specify __GI_* name explicitly.
31477         (mq_timedreceive): Likewise.
31478         (mq_setattr): Likewise.
31480         [BZ #18544]
31481         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31482         __pthread_barrier_init and define as weak alias of
31483         __pthread_barrier_init.
31484         * sysdeps/sparc/nptl/pthread_barrier_init.c
31485         (pthread_barrier_init): Likewise.
31486         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31487         __pthread_barrier_wait and define as weak alias of
31488         __pthread_barrier_wait.
31489         * sysdeps/sparc/nptl/pthread_barrier_wait.c
31490         (pthread_barrier_wait): Likewise.
31491         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31492         (pthread_barrier_wait): Likewise.
31493         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31494         (pthread_barrier_wait): Likewise.
31495         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31496         (pthread_barrier_wait): Likewise.
31497         * nptl/Versions (libpthread): Export __pthread_barrier_init and
31498         __pthread_barrier_wait at version GLIBC_PRIVATE.
31499         * include/pthread.h (__pthread_barrier_init): Declare.
31500         (__pthread_barrier_wait): Likewise.
31501         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31502         Call __pthread_barrier_wait instead of pthread_barrier_wait.
31503         (helper_thread): Likewise.
31504         (init_mq_netlink): Call __pthread_barrier_init instead of
31505         pthread_barrier_init.
31507         [BZ #18542]
31508         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31509         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31510         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
31511         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31512         vswscanf.
31513         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31514         Remove variable.
31516         [BZ #18540]
31517         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31518         strong alias of _IO_fflush.  Use libc_hidden_def.
31519         * libio/iofflush_u.c (fflush_unlocked): Rename to
31520         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31521         Use libc_hidden_weak.
31522         * include/stdio.h (__fflush_unlocked): Declare.  Use
31523         libc_hidden_proto.
31524         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31525         fflush_unlocked.
31526         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31527         Remove variable.
31529         [BZ #18539]
31530         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31531         define as weak alias of __addseverity.
31532         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31533         Remove variable.
31534         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31535         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31536         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31538         [BZ #18536]
31539         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31540         (__tfind): Likewise.
31541         (__tdelete): Likewise.
31542         (__twalk): Likewise.
31543         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31544         __twalk to GLIBC_PRIVATE.
31545         * include/search.h (__tsearch): Use libc_hidden_proto.
31546         (__tfind): Likewise.
31547         (__tdelete): Likewise.
31548         (__twalk): Likewise.
31549         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31550         Call __tdelete instead of tdelete.
31551         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31552         tfind.  Call __tsearch instead of tsearch.
31553         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31554         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31555         Remove variable.
31556         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31558         [BZ #18534]
31559         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31560         (dprintf): Define as a weak alias of __dprintf, not a strong
31561         alias.
31562         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31563         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31564         dprintf.
31565         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31566         Remove variable.
31567         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31568         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31570         [BZ #18533]
31571         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31572         not a strong alias.
31573         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31574         Remove variable.
31576         [BZ #18532]
31577         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31578         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31579         (in6addr_loopback): Rename to __in6addr_loopback and define as
31580         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31581         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31582         libc_hidden_proto.
31583         (__in6addr_any): Likewise.
31584         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31585         in6addr_any.
31586         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31587         variable.
31588         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31590 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31592         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31593         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31594         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31595         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31596         redirections for pow.
31597         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31598         * sysdeps/x86_64/fpu/Versions: New versions added.
31599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31600         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31601         build of SSE, AVX2 and AVX512 IFUNC versions.
31602         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31608         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31609         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31610         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31611         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31612         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31613         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31614         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31615         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31616         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31617         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31619         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31620         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31621         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31622         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31623         * NEWS: Mention addition of x86_64 vector pow.
31625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31626         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31627         redirections for expf.
31628         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31629         * sysdeps/x86_64/fpu/Versions: New versions added.
31630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31632         build of SSE, AVX2 and AVX512 IFUNC versions.
31633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31638         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31639         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31640         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31641         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31642         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31643         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31644         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31645         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31646         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31648         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31651         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31652         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31653         * NEWS: Mention addition of x86_64 vector expf.
31655         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31656         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31657         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31658         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31659         redirections for exp.
31660         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31661         * sysdeps/x86_64/fpu/Versions: New versions added.
31662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31663         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31664         build of SSE, AVX2 and AVX512 IFUNC versions.
31665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31670         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31671         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31672         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31673         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31674         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31675         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31676         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31677         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31678         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31679         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31680         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31681         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31682         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31683         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31684         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31685         * NEWS: Mention addition of x86_64 vector exp.
31687         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31688         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31689         redirections for logf.
31690         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31691         * sysdeps/x86_64/fpu/Versions: New versions added.
31692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31693         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31694         build of SSE, AVX2 and AVX512 IFUNC versions.
31695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31699         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31700         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31701         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31702         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31703         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31704         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31705         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31706         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31707         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31708         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31709         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31710         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31713         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31714         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31715         * NEWS: Mention addition of x86_64 vector logf.
31717         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31718         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31719         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31720         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31721         redirections for log.
31722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31723         * sysdeps/x86_64/fpu/Versions: New versions added.
31724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31726         build of SSE, AVX2 and AVX512 IFUNC versions.
31727         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31728         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31729         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31730         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31732         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31733         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31734         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31735         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31736         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31737         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31738         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31739         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31740         test.
31741         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31744         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31745         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31746         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31747         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31748         * NEWS: Mention addition of x86_64 vector log.
31750 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31752         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31753         cfi_adjust_cfa_offset argument.
31754         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31755         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31757         [BZ #18034]
31758         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31759         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31760         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31761         ordering using ldar.
31762         (_dl_tlsdesc_dynamic): Likewise.
31763         (_dl_tlsdesc_return_lazy): Likewise.
31764         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31765         relaxed atomics instead of volatile and synchronize with release store.
31766         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31767         volatile.
31768         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31770 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31773         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31774         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31775         * sysdeps/x86_64/fpu/Versions: New versions added.
31776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31777         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31778         build of SSE, AVX2 and AVX512 IFUNC versions.
31779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31785         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31786         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31787         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31788         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31789         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31790         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31791         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31792         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31793         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31794         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31795         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31797         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31798         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31799         * NEWS: Mention addition of x86_64 vector sinf.
31801 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31803         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31804         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31805         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31806         Remove variable.
31807         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31808         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31810 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31812         [BZ #18530]
31813         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31814         strong alias of _IO_fputs.  Use libc_hidden_def.
31815         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31816         and define as weak alias of __fputs_unlocked.  Use
31817         libc_hidden_weak.
31818         * include/stdio.h (__fputs_unlocked): Declare.  Use
31819         libc_hidden_proto.
31820         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31821         fputs_unlocked.
31823         [BZ #18529]
31824         * resolv/netdb.h [__USE_POSIX]: Change condition to
31825         [__USE_XOPEN2K].
31826         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31827         not expect.
31828         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31829         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31830         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31831         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31832         [XPG4 || UNIX98] (AI_ALL): Likewise.
31833         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31834         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31835         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31836         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31837         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31838         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31839         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31840         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31841         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31842         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31843         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31844         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31845         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31846         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31847         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31848         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31849         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31850         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31851         [XPG4 || UNIX98] (gai_strerror): Likewise.
31852         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31853         [XPG4 || UNIX98] (getnameinfo): Likewise.
31855         [BZ #18528]
31856         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31857         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31858         __USE_XOPEN2K8].
31859         (getgrent): Likewise.
31860         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31861         expect.
31862         [XPG3 || POSIX2008] (endgrent): Likewise.
31863         [XPG3] (setgrent): Likewise.
31864         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31865         variable.
31866         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31868         [BZ #18527]
31869         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31870         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31871         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31872         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31873         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31874         * include/unistd.h (__getlogin_r): Declare.  Use
31875         libc_hidden_proto.
31876         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31877         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31878         variable.
31879         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31880         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31881         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31883 2015-06-12  Martin Sebor  <msebor@redhat.com>
31885         [BZ #18512]
31886         * Makerules (check-install-supported): New target.
31887         (install): Add check-install-supported as a dependency.
31888         * manual/install.texi (Installing the C Library): Document
31889         that overriding prefix and exec_prefix is not supported.
31890         Mention DESTDIR.
31891         * INSTALL: Regenerate from the above.
31893 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31895         [BZ #18519]
31896         * posix/Versions (libc): Export __libc_pread at version
31897         GLIBC_PRIVATE.
31898         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31899         instead of pread.
31900         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31901         variable.
31903         [BZ #18522]
31904         * misc/efgcvt_r.c
31905         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31906         (cvt_symbol): Use weak_alias instead of strong_alias.
31907         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31908         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31909         Remove variable.
31910         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31911         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31913         [BZ #18520]
31914         * inet/herrno.c (h_errno): Rename to __h_errno.
31915         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31916         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31917         to __h_errno instead of h_errno.
31918         * nptl/herrno.c (h_errno): Rename to __h_errno.
31919         (__h_errno_location): Refer to __h_errno not h_errno.
31920         * resolv/Versions (h_errno): Rename to __h_errno.
31921         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31922         Remove variable.
31923         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31925 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31927         * configure.ac: More strict check for AVX512 assembler support.
31928         * configure: Regenerated.
31930         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31931         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31933         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31935         * sysdeps/x86_64/fpu/Versions: New versions added.
31936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31937         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31938         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31944         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31945         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31946         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31947         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31948         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31949         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31950         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31951         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31952         test.
31953         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31956         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31957         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31958         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31959         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31960         * NEWS: Mention addition of x86_64 vector sin.
31962 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31964         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31965         comment.
31967 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31969         [BZ #18479]
31970         * nptl/pt-interp.c: New file.
31971         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31972         Add pt-interp.
31973         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31974         $(common-objpfx)runtime-linker.h.
31976 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31978         * Makeconfig (+interp): Remove unused variable.
31979         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31980         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31981         $(elf-objpfx)runtime-linker.h.
31982         ($(elf-objpfx)runtime-linker.h): Rename to
31983         $(common-objpfx)runtime-linker.h and move ...
31984         * Makerules [$(build-shared) = yes]: ... here.
31985         * elf/interp.c: Include <runtime-linker.h> instead of
31986         <elf/runtime-linker.h>.
31988 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31990         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31991         (__gettimeofday_syscall): Remove vsyscall fallback.
31992         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31993         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31994         Add syscall fallback function.
31995         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31996         if vDSO is not present.
31997         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31998         fallback function.
31999         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32000         present.
32001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32002         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32004 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32006         [BZ #18497]
32007         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32008         of wcscmp.
32009         (wcscmp): Define as weak alias of WCSCMP.
32010         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32011         wcscoll.
32012         (USE_HIDDEN_DEF): Define.
32013         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32014         __wcscoll.  Don't use libc_hidden_weak.
32015         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32016         wcscmp.
32017         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32018         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32019         __GI_wcscmp.
32020         (weak_alias): Undefine and redefine.
32021         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32022         __wcscmp and define as weak alias of __wcscmp.
32023         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32024         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32025         (__wcscoll): Likewise.
32026         (wcscmp): Don't use libc_hidden_proto.
32027         (wcscoll): Likewise.
32028         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32029         wcscoll.
32030         * posix/regexec.c (check_node_accept_bytes): Likewise.
32031         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32032         variable.
32033         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32034         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32036         [BZ #18507]
32037         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32038         __fstatvfs and define as weak alias of __fstatvfs.  Use
32039         libc_hidden_weak.
32040         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32041         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32042         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32043         Define as alias of __fstatvfs, not fstatvfs.
32044         (fstatvfs64): Likewise.
32045         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32046         Define as alias of __statvfs, not statvfs.
32047         (statvfs64): Likewise.
32048         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32049         Remove variable.
32051 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32054         (HAVE_GETCPU_VSYSCALL): Define.
32055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32056         (HAVE_GETCPU_VSYSCALL): Likewise.
32057         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32058         * sysdeps/unix/sysv/linux/sched_getcpu.c
32059         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32060         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32061         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32062         prototype.
32063         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32064         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32067         Define.
32068         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32069         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32071         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32073 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32075         * sysdeps/x86_64/fpu/Makefile: New file.
32076         * sysdeps/x86_64/fpu/Versions: New file.
32077         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32078         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32079         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32080         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32081         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32082         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32083         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32089         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32091         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32093         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32094         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32095         * sysdeps/x86_64/configure: Regenerated.
32096         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32097         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32098         * manual/install.texi (Configuring and compiling): Document
32099         --disable-mathvec.
32100         * INSTALL: Regenerated.
32101         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32103         * math/Makefile: Added rules for vector tests.
32104         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32105         declaration under condition.
32106         * math/test-double-vlen2.h: New file.
32107         * math/test-double-vlen4.h: New file.
32108         * math/test-double-vlen8.h: New file.
32109         * math/test-vec-loop.h: Added initialization macro.
32110         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32112         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32114         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32118         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32120         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32123         * sysdeps/x86_64/fpu/Versions: New versions added.
32124         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32127         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32128         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32131         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32134         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32135         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32136         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32138         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32140         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32141         * NEWS: Mention addition of x86_64 vector cosf.
32143         * math/Makefile: Added CFLAGS for new tests.
32144         * math/test-float-vlen16.h: New file.
32145         * math/test-float-vlen4.h: New file.
32146         * math/test-float-vlen8.h: New file.
32147         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32148         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32150         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32151         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32152         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32153         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32157         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32159 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32161         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32162         * locale/programs/ld-ctype.c: Likewise.
32164 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32166         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32167         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32168         bit_ZMM16_31_state): New macro.
32169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32170         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32172 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32174         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32176 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32178         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32180 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32182         [BZ #18498]
32183         * libio/memstream.c (open_memstream): Rename to __open_memstream
32184         and define as weak alias of __open_memstream.
32185         * include/stdio.h (__open_memstream): Declare.  Use
32186         libc_hidden_proto.
32187         (open_memstream): Don't use libc_hidden_proto.
32188         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32189         open_memstream.
32190         * posix/getopt.c (_getopt_internal_r): Likewise.
32191         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32192         variable.
32193         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32194         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32195         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32197         [BZ #18496]
32198         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32199         instead of wcrtomb.
32201         [BZ #18483]
32202         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32203         [__USE_XOPEN2K8].  Remove redundant #endif.
32204         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32205         Remove redundant #if.
32206         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32207         Remove variable.
32208         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32209         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32211         [BZ #18495]
32212         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32213         (__iswlower): Likewise.
32214         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32215         (__iswlower): Likewise.
32216         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32217         instead of towlower.
32218         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32219         instead of iswlower.  Call __towupper instead of towupper.
32220         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32221         instead of iswalnum.
32223 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32225         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32226         errors to stderr.
32228 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32230         [BZ #15661]
32231         [BZ #17322]
32232         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32233         Check for overflow properly.  Check for O_APPEND.  Ignore large
32234         file system block sizes.  Add comments about problems.
32235         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32236         * manual/filesys.texi (Storage Allocation): New node.
32238 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32240         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32241         cancellable syscalls.
32242         (SYS_ify): Add guard to no redefine it.
32243         (INLINE_SYSCALL): Likewise.
32244         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32245         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32246         SYSCALL_CANCEL instead.
32247         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32248         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32249         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32250         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32251         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32252         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32253         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32254         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32255         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32256         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32257         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32258         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32259         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32260         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32261         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32263         Likewise.
32264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32265         (__libc_pread64): Likewise.
32266         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32267         (__libc_preadv): Likewise.
32268         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32269         (__libc_readv64): Likewise.
32270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32271         (__libc_pwrite): Likewise.
32272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32273         (__libc_pwrite64): Likewise.
32274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32275         (__libc_pwritev): Likewise.
32276         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32277         (__libc_pwritev64): Likewise.
32278         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32279         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32280         (sync_file_range): Likewise.
32281         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32282         Likewise.
32283         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32284         Likewise.
32285         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32286         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32287         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32288         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32289         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32290         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32291         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32292         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32294         Likewise.
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32296         (__libc_read64): Likewise.
32297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32298         Likewise.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32302         Likewise.
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32304         Likewise.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32306         (__libc_pread64): Likewise.
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32308         Likewise.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32310         (__libc_pwrite64): Likewise.
32311         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32312         (sync_file_range): Likewise.
32313         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32314         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32315         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32316         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32317         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32318         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32319         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32320         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32321         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32322         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32323         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32324         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32325         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32326         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32327         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32328         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32329         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32330         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32331         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32332         Likewise.
32333         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32334         Likewise.
32335         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32336         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32337         Likewise.
32338         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32339         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32340         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32341         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32342         Likewise.
32343         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32344         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32345         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32346         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32347         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32349 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32351         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32352         Include dl-vdso.
32353         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32354         Use VDSO routines for gettimeofday, clock_gettime if
32355         available.
32356         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32357         Declare VDSO symbols.
32358         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32359         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32360         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32361         * sysdeps/unix/sysv/linux/arm/Versions: Add
32362         __vdso_clock_gettime.
32364 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32366         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32367         be an inline implementation regardless of library is built within.
32368         (open_not_cancel_2): Likewise.
32369         (__read_nocancel): Likewise.
32370         (__write_nocancel): Likewise.
32371         (openat_not_cancel): Likewise.
32372         (openat_not_cancel_3): Likewise.
32373         (openat64_not_cancel): Likewise.
32374         (openat64_not_cancel_3): Likewise.
32375         (__close_nocancel): Likewise.
32376         (pause_not_cancel): Likewise.
32377         (nanosleep_not_cancel): Likewise.
32378         (sigsuspend_not_cancel): Likewise.
32380 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32382         [BZ #14958]
32383         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32384         wake-up.
32385         (__pthread_rwlock_rdlock_slow): Likewise.
32386         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32387         Likewise.
32388         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32389         Likewise.
32390         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32391         * nptl/tst-rwlock16.c: New file.
32392         * nptl/Makefile (tests): Add new test.
32394 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32396         [BZ #18324]
32397         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32398         missing wake-up of readers.
32399         * nptl/tst-rwlock15.c: New file.
32400         * nptl/Makefile (tests): Add new test.
32402 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32404         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32405         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32406         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32407         and __nacl_supply_interface_rtld.
32408         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32409         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32410         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32411         Add __nacl_supply_interface_rtld.
32412         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32414 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32416         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32417         isfinite.
32418         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32419         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32421 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32423         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32424         __signbit* with standard C99 macros.
32425         * math/e_exp10l.c: Likewise.
32426         * math/e_exp2l.c: Likewise.
32427         * math/e_scalb.c: Likewise.
32428         * math/e_scalbf.c: Likewise.
32429         * math/e_scalbl.c: Likewise.
32430         * math/s_ldexp.c: Likewise.
32431         * math/s_ldexpf.c: Likewise.
32432         * math/s_ldexpl.c: Likewise.
32433         * math/w_atan2.c: Likewise.
32434         * math/w_atan2f.c: Likewise.
32435         * math/w_atan2l.c: Likewise.
32436         * math/w_cosh.c: Likewise.
32437         * math/w_coshf.c: Likewise.
32438         * math/w_coshl.c: Likewise.
32439         * math/w_exp10.c: Likewise.
32440         * math/w_exp10f.c: Likewise.
32441         * math/w_exp10l.c: Likewise.
32442         * math/w_exp2.c: Likewise.
32443         * math/w_exp2f.c: Likewise.
32444         * math/w_exp2l.c: Likewise.
32445         * math/w_fmod.c: Likewise.
32446         * math/w_fmodf.c: Likewise.
32447         * math/w_fmodl.c: Likewise.
32448         * math/w_hypot.c: Likewise.
32449         * math/w_hypotf.c: Likewise.
32450         * math/w_hypotl.c: Likewise.
32451         * math/w_jnl.c: Likewise.
32452         * math/w_lgamma.c: Likewise.
32453         * math/w_lgamma_r.c: Likewise.
32454         * math/w_lgammaf.c: Likewise.
32455         * math/w_lgammaf_r.c: Likewise.
32456         * math/w_lgammal.c: Likewise.
32457         * math/w_lgammal_r.c: Likewise.
32458         * math/w_pow.c: Likewise.
32459         * math/w_powf.c: Likewise.
32460         * math/w_powl.c: Likewise.
32461         * math/w_remainder.c: Likewise.
32462         * math/w_remainderf.c: Likewise.
32463         * math/w_remainderl.c: Likewise.
32464         * math/w_scalb.c: Likewise.
32465         * math/w_scalbf.c: Likewise.
32466         * math/w_scalbl.c: Likewise.
32467         * math/w_scalbln.c: Likewise.
32468         * math/w_scalblnf.c: Likewise.
32469         * math/w_scalblnl.c: Likewise.
32470         * math/w_sinh.c: Likewise.
32471         * math/w_sinhf.c: Likewise.
32472         * math/w_sinhl.c: Likewise.
32473         * math/w_tgamma.c: Likewise.
32474         * math/w_tgammaf.c: Likewise.
32475         * math/w_tgammal.c: Likewise.
32476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32477         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32478         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32479         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32480         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32482         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32483         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32484         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32485         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32486         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32506         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32507         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32508         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32509         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32510         * stdio-common/printf_fp.c: Likewise.
32511         * stdio-common/printf_fphex.c: Likewise.
32512         * stdio-common/printf_size.c: Likewise.
32514 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32516         [BZ #18470]
32517         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32518         strnlen.
32519         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32520         Remove variable.
32521         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32522         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32523         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32524         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32525         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32526         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32527         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32528         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32529         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32530         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32532         [BZ #18468]
32533         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32534         weak alias of __wmemchr.  Use libc_hidden_weak.
32535         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32536         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32537         instead of wmemchr.
32539 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32541         [BZ #18383]
32542         * elf/tst-tlsalign-extern.c: New file.
32543         * elf/tst-tlsalign-extern-static.c: New file.
32544         * elf/tst-tlsalign-vars.c: New file.
32545         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32546         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32547         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32548         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32549         (test-xfail-tst-tlsalign-extern-static): New variable.
32551 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32553         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32554         Use variable name _sc_err instead of err.
32555         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32556         instead of ret.
32557         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32558         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32559         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32560         (INLINE_SYSCALL): Likewise.
32562         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32563         * include/string.h (__strnlen): Use libc_hidden_proto.
32564         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32565         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32566         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32567         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32568         (libc_hidden_def): Undefine and redefine.
32569         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32570         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32571         __GI_strnlen.
32572         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32573         libc_hidden_def.
32574         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32576         [BZ #18469]
32577         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32578         weak alias of __towlower.  Use libc_hidden_weak.
32579         (towupper): Rename to __towupper and define as weak alias of
32580         __towupper.  Use libc_hidden_weak.
32581         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32582         (__towupper): Likewise.
32583         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32584         __towlower instead of towlower.
32586 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32588         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32589         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32591 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32593         * sysdeps/aarch64/libm-test-ulps: Update.
32595 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32597         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32598         Define.
32599         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32601         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32602         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32603         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32604         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32605         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32607 2015-06-01  Martin Sebor  <msebor@redhat.com>
32609         [BZ #18116]
32610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32611         (__setcontext): Use extended four-operand version of mtsf whenever
32612         possible.
32613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32614         (__novec_swapcontext): Likewise.
32616 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32618         * benchtests/scripts/compare_bench.py: New file.
32619         * benchtests/scripts/import_bench.py (mean): New function.
32620         (split_list): Likewise.
32621         (do_for_all_timings): Likewise.
32622         (compress_timings): Likewise.
32624         * benchtests/scripts/import_bench.py: New file.
32625         * benchtests/scripts/validate_benchout.py: Import import_bench
32626         instead of jsonschema.
32627         (validate_bench): Remove function.
32628         (main): Use import_bench.
32630 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32633         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32635 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32639 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32641         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32642         set THREAD_SELF->tid to a magic value and futex-wake it.
32643         Pass its address to the thread_exit system call.
32644         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32645         bit is clear.
32646         * sysdeps/nacl/lowlevellock.h: New file.
32647         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32649         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32650         Add TIMEOUT to current time, don't subtract it.
32652 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32654         [BZ #2981]
32655         [BZ #18422]
32656         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32657         ($(objpfx)tst-audit2.out): Also depend on
32658         $(objpfx)tst-auditmod9b.so.
32659         * elf/tst-audit2.c: Include <dlfcn.h>.
32660         (calloc_called): New.
32661         (calloc): Allow to be called more than once.
32662         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32664 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32666         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32667         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32669 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32671         * stdlib/monetary.h: Fix comment.
32673 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32675         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32676         Avoid using variables in #defines that might cause shadowing.
32677         (INTERNAL_VSYSCALL_CALL): Likewise.
32679 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32681         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32683         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32684         * nptl/lll_timedlock_wait.c: ... to this new file.
32685         * nptl/Makefile (libpthread-routines): Add it.
32686         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32687         * nptl/lll_timedwait_tid.c: ... to this new file.
32688         * nptl/Makefile (libpthread-routines): Add it.
32689         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32690         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32691         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32692         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32693         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32694         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32695         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32696         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32697         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32698         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32700 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32702         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32703         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32704         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32706         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32708         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32710         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32711         * sysdeps/unix/sysv/linux/tile/sysdep.h
32712         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32713         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32714         using vDSO syscall macro.
32716 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32718         [BZ #17293]
32719         * uk_UA: Fix sorting order for Ukrainian locale
32721 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32723         * stdlib/monetary.h: Fix comment.
32725 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32727         [BZ #18234]
32728         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32729         st_mtim and st_ctim members.
32730         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32731         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32732         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32733         (struct stat64): Likewise.
32734         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32735         (struct stat64): Likewise.
32736         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32737         (struct stat64): Likewise.
32739 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32741         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32742         Define and include sysdep-vdso.h.
32743         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32744         Likewise.
32745         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32746         Likewise.
32747         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32748         Define with VDSO_SYMBOL and use PTR_MANGLE.
32749         (__vdso_clock_gettime): Likewise.
32750         (__vdso_clock_getres): Likewise.
32751         (_libc_vdso_platform_setup): Likewise.
32752         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32753         Likewise.
32754         (_libc_vdso_platform_setup): Likewise.
32755         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32756         Likewise.
32757         (__vdso_clock_gettime): Likewise.
32758         (__vdso_clock_getres): Likewise.
32759         (__vdso_get_tbfreq): Likewise.
32760         (__vdso_getcpu): Likewise.
32761         (__vdso_time): Likewise.
32762         (__vdso_sigtramp_rt64): Likewise.
32763         (__vdso_signtramp32): Likewise.
32764         (__vdso_sigtramp_rt32): Likewise.
32765         (_libc_vdso_platform_setup): Likewise.
32766         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32767         Likewise.
32768         (__vdso_clock_gettime): Likewise.
32769         (__vdso_clock_getres): Likewise.
32770         (_libc_vdso_platform_setup): Likewise.
32771         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32772         Likewise.
32773         (__vdso_clock_gettime): Likewise.
32774         (_libc_vdso_platform_setup): Likewise.
32775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32776         Likewise.
32777         (__vdso_getcpu): Likewise.
32778         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32779         Use VDSO_SYMBOL macro to define.
32780         (__vdso_clock_gettime): Likewise.
32781         (__vdso_clock_getres): Likewise.
32782         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32783         Likewise.
32784         (__vdso_clock_gettime): Likewise.
32785         (__vdso_clock_getres): Likewise.
32786         (__vdso_get_tbfreq): Likewise.
32787         (__vdso_getcpu): Likewise.
32788         (__vdso_time): Likewise.
32789         (__vdso_sigtramp_rt64): Likewise.
32790         (__vdso_signtramp32): Likewise.
32791         (__vdso_sigtramp_rt32): Likewise.
32792         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32793         Likewise.
32794         (__vdso_clock_gettime): Likewise.
32795         (__vdso_clock_getres): Likewise.
32796         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32797         Likewise.
32798         (__vdso_clock_gettime): Likewise.
32799         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32800         Likewise.
32801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32802         macro.
32803         (INTERNAL_VSYSCALL): Likewise.
32804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32805         Remove macro.
32806         (INTERNAL_VSYSCALL): Likewise.
32807         (INTERNAL_VSYSCALL_NCS): Likewise.
32808         (INTERNAL_VSYSCALL_CALL): New macro.
32809         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32811         Likewise.
32812         (INTERNAL_VSYSCALL): Likewise.
32813         (INTERNAL_VSYSCALL_NCS): Likewise.
32814         (INTERNAL_VSYSCALL_CALL): New macro.
32815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32817         (INLINE_VSYSCALL): Remove macro.
32818         (INTERNAL_VSYSCALL): Remove macro.
32819         (INTERNAL_VSYSCALL_NCS): Remove macro.
32820         (INTERNAL_VSYSCALL_CALL): New macro.
32821         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32823         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32824         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32825         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32827         (INLINE_VSYSCALL): Remove macro.
32828         (INTERNAL_VSYSCALL): Likewise.
32829         (INTERNAL_VSYSCALL_NCS): Likewise.
32830         (INTERNAL_VSYSCALL_CALL): New macro.
32831         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32832         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32833         PTR_DEMANGLE on vDSO pointer.
32834         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32835         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32836         macro.
32837         (INTERNAL_SYSCALL): Likewise.
32838         (INTERNAL_VSYSCALL_NCS): Remove macro.
32839         (INTERNAL_VSYSCALL_CALL): New macro.
32840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32841         Remove macro.
32842         (INTERNAL_VSYSCALL): Likewise.
32843         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32844         sysdep-vdso.h instead of libc-vdso.h.
32845         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32846         definition.
32847         (INLINE_VSYSCALL): Likewise.
32848         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32849         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32850         definition.
32851         (INLINE_VSYSCALL): Likewise.
32852         (INTERNAL_VSYSCALL): Likewise.
32853         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32854         * sysdeps/unix/sysv/linux/timespec_get.c
32855         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32856         (timespec_get): Use ANSI prototype.
32857         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32858         and definition for Linux.
32860 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32862         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32863         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32865 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32867         [BZ #2981]
32868         [BZ #18410]
32869         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32870         for missing DT_PLTRELSZ.
32872 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32874         Remove obsolete aliases that broke 'locale -a'
32875         [BZ #18412]
32876         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32877         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32878         breaking some applications that use 'locale -a' output.
32879         Change the encoding of this file from Latin-1 to ASCII to avoid
32880         other potential problems with people grepping this file.
32882 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32884         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32885         -fasynchronous-unwind-tables.
32886         (CFLAGS-sendto.c): Likewise.
32887         (CFLAGS-sendmsg.c): Likewise.
32888         (CFLAGS-connect.c): Likewise.
32889         (CFLAGS-recvmsg.c): Likewise.
32890         (CFLAGS-recvfrom.c): Likewise.
32891         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32892         (SOCKETCALL): New macro: non-cancellable socketcall.
32893         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32894         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32895         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32896         * sysdeps/unix/sysv/linux/accept.c: New file.
32897         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32898         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32899         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32900         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32901         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32902         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32903         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32904         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32905         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32906         * sysdeps/unix/sysv/linux/send.c: Likewise.
32907         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32908         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32909         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32910         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32911         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32912         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32913         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32914         prototype.
32915         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32916         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32917         instead of __internal_xxx function.
32918         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32919         prototype.
32920         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32921         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32922         instead of __internal_xxx function.
32923         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32924         prototype.
32925         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32926         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32927         instead of __internal_xxx function.
32928         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32929         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32930         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32931         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32932         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32933         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32934         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32935         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32936         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32937         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32938         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32939         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32940         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32941         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32942         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32943         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32944         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32945         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32946         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32947         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32950         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32951         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32952         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32953         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32954         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32955         * sysdeps/unix/sysv/linux/send.S: Likewise.
32956         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32957         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32958         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32959         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32960         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32961         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32962         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32963         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32964         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32965         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32966         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32967         socketcall is implemented in GLIBC.
32969 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32971         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32972         (__fma): Ignore uninitialized warnings around packing.
32973         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32974         (__fmaf): Ignore uninitialized warnings around packing.
32975         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32976         (__fmal): Ignore uninitialized warnings around packing.
32978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32979         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32980         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32981         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32983         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32984         switch statement into default case.
32985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32987         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32988         a conditional in forcing "inexact".
32989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32990         Likewise.
32992 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32994         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32995         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32996         for each INTERNAL_SYSCALL use.
32998 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33000         [BZ #438]
33001         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33002         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33003         variable.
33005         [BZ #18444]
33006         * string/basename.c (basename): Rename to __basename and define as
33007         weak alias of __basename.  Use libc_hidden_weak.
33008         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33009         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33010         __basename instead of basename.
33011         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33012         Remove variable.
33013         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33015 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33017         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33018         (_IO_JUMPS_FILE_plus): New.
33019         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33020         _IO_CAST_FIELD_ACCESS.
33021         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33022         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33023         * libio/freopen.c (freopen): Likewise.
33024         * libio/freopen64.c (freopen64): Likewise.
33025         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33026         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33027         * libio/iofwide.c (_IO_fwide): Likewise.
33028         * libio/memstream.c (open_memstream): Likewise.
33029         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33030         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33031         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33033 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33036         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33037         NADJ.
33038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33039         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33040         NADJ.
33041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33042         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33043         NADJ.
33045         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33046         (p == 4) case.
33048         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33049         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33050         Remove variable.
33051         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33052         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33053         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33055 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33057         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33058         Adjust jump table label generation macros.
33060 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33062         * stdio-common/vfprintf.c (vfprintf): Move local variables
33063         args_malloced, specs, specs_malloced, and the code after
33064         do_positional to the printf_positional function.
33065         (printf_positional): New function.
33067 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33069         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33070         function.
33071         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33072         STEP4_TABLE, process_arg): Move macro definitions
33073         out of the vfprintf function.  (Cosmetic change only.)
33075 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33077         * benchtests/Makefile (stdio-common-bench): Define.
33078         (benchset): Add stdio-common-bench.
33079         * sprintf-inputs: New file.
33080         * sprintf-source.c: New file.
33082 2015-05-21  Andreas Schwab  <schwab@suse.de>
33084         [BZ #13028]
33085         [BZ #17053]
33086         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33087         of struct __res_state.
33088         * resolv/res_send.c (__libc_res_nsend): Likewise.
33089         (get_nsaddr): New function.
33090         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33091         statp directly.
33093 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33095         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33096         -D_POSIX_C_SOURCE=199506L.
33098         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33100         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33101         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33102         Do not mention otherwise.
33103         [POSIX] (_XOPEN_VERSION): Do not expect.
33104         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33105         [POSIX] (_POSIX2_C_BIND): Likewise.
33106         [POSIX] (_POSIX2_VERSION): Likewise.
33107         [POSIX] (_XOPEN_XPG2): Likewise.
33108         [POSIX] (_XOPEN_XPG3): Likewise.
33109         [POSIX] (_XOPEN_XPG4): Likewise.
33110         [POSIX] (_XOPEN_UNIX): Likewise.
33111         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33112         [POSIX] (_POSIX_BARRIERS): Likewise.
33113         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33114         [POSIX] (_POSIX_CPUTIME): Likewise.
33115         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33116         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33117         [POSIX] (_POSIX_SHELL): Likewise.
33118         [POSIX] (_POSIX_SPAWN): Likewise.
33119         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33120         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33121         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33122         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33123         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33124         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33125         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33126         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33127         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33128         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33129         [POSIX] (_POSIX2_PBS): Likewise.
33130         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33131         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33132         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33133         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33134         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33135         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33136         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33137         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33138         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33139         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33140         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33141         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33142         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33143         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33144         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33145         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33146         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33147         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33148         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33149         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33150         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33151         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33152         [POSIX] (_SC_2_C_BIND): Likewise.
33153         [POSIX] (_SC_2_C_VERSION): Likewise.
33154         [POSIX] (_SC_2_PBS): Likewise.
33155         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33156         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33157         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33158         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33159         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33160         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33161         [POSIX] (_SC_BARRIERS): Likewise.
33162         [POSIX] (_SC_BASE): Likewise.
33163         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33164         [POSIX] (_SC_DEVICE_IO): Likewise.
33165         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33166         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33167         [POSIX] (_SC_FD_MGMT): Likewise.
33168         [POSIX] (_SC_FIFO): Likewise.
33169         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33170         [POSIX] (_SC_FILE_LOCKING): Likewise.
33171         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33172         [POSIX] (_SC_IOV_MAX): Likewise.
33173         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33174         [POSIX] (_SC_NETWORKING): Likewise.
33175         [POSIX] (_SC_PAGE_SIZE): Likewise.
33176         [POSIX] (_SC_PASS_MAX): Likewise.
33177         [POSIX] (_SC_PIPE): Likewise.
33178         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33179         [POSIX] (_SC_REGEXP): Likewise.
33180         [POSIX] (_SC_SHELL): Likewise.
33181         [POSIX] (_SC_SIGNALS): Likewise.
33182         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33183         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33184         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33185         [POSIX] (_SC_USER_GROUPS): Likewise.
33186         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33187         [POSIX] (_SC_STREAMS): Likewise.
33188         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33189         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33190         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33191         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33192         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33193         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33194         [POSIX] (_PC_FILESIZEBITS): Likewise.
33195         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33196         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33197         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33198         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33199         [POSIX] (uid_t): Likewise.
33200         [POSIX] (gid_t): Likewise.
33201         [POSIX] (off_t): Likewise.
33202         [POSIX] (pid_t): Likewise.
33203         [POSIX] (cuserid): Allow.
33204         (_SC_2_CHAR_TERM): Require constant.
33205         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33206         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33207         variable.
33209 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33211         * sysdeps/nacl/pthread-pids.h: New file.
33212         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33213         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33215         * nptl/pthread-pids.h: New file.
33216         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33217         * nptl/nptl-init.c: Include <pthread-pids.h>.
33218         (__pthread_initialize_minimal_internal):
33219         Call __pthread_initialize_pids instead of set_tid_address syscall.
33221         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33222         * sysdeps/posix/usleep.c: ... here.
33224 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33226         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33227         call_pselect6 object.
33228         [$(subdir) = io]: Remove call_sync_file_range object.
33229         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33230         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33231         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33232         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33234 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33236         * math/s_cproj.c: Add include "math_private.h".
33237         * math/s_cprojf.c: Likewise.
33238         * math/s_cprojl.c: Likewise.
33240 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #18244]
33243         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33244         high mantissa bit when testing whether P is a NaN.
33245         * math/libm-test.inc (remainder_test_data): Add more tests.
33246         (remquo_test_data): Likewise.
33248         [BZ #18049]
33249         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33250         below -32, return the argument, with underflow if subnormal.
33251         * math/auto-libm-test-in: Add more tests of atanh.
33252         * math/auto-libm-test-out: Regenerated.
33254 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33256         [BZ #18434]
33257         * nptl/tst-sem15.c: New file.
33258         * nptl/Makefile (tests): Add it.
33259         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33260         s/<</>>/ to fix typo in EOVERFLOW check.
33261         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33263 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33265         * manual/strings.texi (envz_remove): Fix typo in safety
33266         annotations.
33268 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33269             Steve Ellcey  <sellcey@imgtec.com>
33271         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33272         in order to avoid strict alias warnings.
33273         (iruserok_af): Ditto for ra.
33275 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33277         [BZ #17581]
33278         * malloc/hooks.c
33279         (magicbyte): Convert to a function and avoid returning 0x01.
33280         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33281         (mem2chunk_check): Fix unsigned comparisons to zero.
33282         Hoist defs of sz and magic.
33284 2015-05-19  Richard Henderson  <rth@redhat.com>
33286         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33288         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33290 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33292         [BZ #16159]
33293         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33294         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33295         (reused_arena): Find a non-corrupt arena.
33296         (heap_trim): Pass arena to unlink.
33297         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33298         malloc_printerr.
33299         (top_check): Likewise.
33300         (free_check): Likewise.
33301         (realloc_check): Likewise.
33302         * malloc/malloc.c (malloc_printerr): Add arena argument.
33303         (unlink): Likewise.
33304         (munmap_chunk): Adjust.
33305         (ARENA_CORRUPTION_BIT): New macro.
33306         (arena_is_corrupt): Likewise.
33307         (set_arena_corrupt): Likewise.
33308         (sysmalloc): Use mmap if there are no usable arenas.
33309         (_int_malloc): Likewise.
33310         (__libc_malloc): Don't fail if arena_get returns NULL.
33311         (_mid_memalign): Likewise.
33312         (__libc_calloc): Likewise.
33313         (__libc_realloc): Adjust for additional argument to
33314         malloc_printerr.
33315         (_int_free): Likewise.
33316         (malloc_consolidate): Likewise.
33317         (_int_realloc): Likewise.
33318         (_int_memalign): Don't touch corrupt arenas.
33319         * malloc/tst-malloc-backtrace.c: New test case.
33321         * Makefile (summarize-tests): Fix return value on success.
33323         * manual/string.texi (Envz Functions): Add envz_remove.
33325 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33327         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33328         (invalid_name): New function, broken out of ...
33329         (__opendirat): ... here.  Call it.
33330         (need_isdir_precheck): New function, broken out of ...
33331         (__opendirat): ... here.  Call it.
33332         Use __fxstatat64, not __xstatat64.
33333         (opendir_oflags): New function, broken out of ...
33334         (__opendirat): ... here.  Call it.
33335         (opendir_tail): New function, broken out of ...
33336         (__opendirat): ... here.  Call it.
33337         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33338         opendir_tail, rather than punting to __opendirat.
33339         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33341 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33343         * .gitignore: Ignore generated *.pyc.
33345 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33347         * include/stdio.h: Define __need_wint_t.
33348         * test-skeleton.c: Avoid `for' loop initial declaration.
33349         * nptl/tst-initializers1.c: Use test-skeleton.c.
33351 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33353         [BZ #18418]
33354         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33356 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33358         [BZ #16352]
33359         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33360         (__ieee754_atanh): Force underflow exception for results with
33361         small absolute value.
33362         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33363         (__ieee754_atanhf): Force underflow exception for results with
33364         small absolute value.
33365         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33366         (__ieee754_atanh): Force underflow exception for results with
33367         small absolute value.
33368         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33369         (__ieee754_atanhf): Force underflow exception for results with
33370         small absolute value.
33371         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33372         (__ieee754_atanhl): Force underflow exception for results with
33373         small absolute value.
33374         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33375         (__ieee754_atanhl): Force underflow exception for results with
33376         small absolute value.
33377         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33378         (__ieee754_atanhl): Force underflow exception for results with
33379         small absolute value.
33380         * math/auto-libm-test-in: Do not allow missing underflow
33381         exceptions from atanh.
33382         * math/auto-libm-test-out: Regenerated.
33384         [BZ #18221]
33385         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33386         2**-28 as threshold for returning x or +/- 1/x.
33387         * math/auto-libm-test-in: Add more tests of tan.
33388         * math/auto-libm-test-out: Regenerated.
33390         [BZ #18220]
33391         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33392         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33393         * math/auto-libm-test-in: Add another test of lgamma.
33394         * math/auto-libm-test-out: Regenerated.
33396 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33398         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33399         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33400         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33401         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33402         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33403         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33404         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33405         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33407         (log1): Use fabs.  (my_log2): Use fabs.
33408         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33409         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33411         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33412         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33413         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33414         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33415         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33416         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33417         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33418         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33420 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #18217]
33423         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33424         as threshold for returning 1 - x.
33425         * math/auto-libm-test-in: Add more tests of erfc.
33426         * math/auto-libm-test-out: Regenerated.
33428 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33430         [BZ #18196]
33431         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33432         threshold for large arguments.
33433         * math/auto-libm-test-in: Add another test of atan.
33434         * math/auto-libm-test-out: Regenerated.
33436         [BZ #16339]
33437         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33438         (__log1p): Force underflow exception for results with small
33439         absolute value.
33440         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33441         (__log1pf): Force underflow exception for results with small
33442         absolute value.
33443         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33444         (__log1p): Force underflow exception for results with small
33445         absolute value.
33446         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33447         (__log1pf): Force underflow exception for results with small
33448         absolute value.
33449         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33450         (__log1pl): Force underflow exception for results with small
33451         absolute value.
33452         * math/auto-libm-test-in: Do not allow missing underflow
33453         exceptions from log1p.
33454         * math/auto-libm-test-out: Regenerated.
33456 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33457             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33459         [BZ #16704]
33460         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33462 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33464         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33465         (libmvec): New variable.
33466         * configure.ac: Added option for mathvec build.
33467         * configure: Regenerated.
33468         * mathvec/Depend: New file.
33469         * mathvec/Makefile: New file.
33470         * shlib-versions: Added libmvec.
33471         * math/Makefile: Added rule for libm.so installation.
33473         * bits/math-vector.h: New file.
33474         * bits/libm-simd-decl-stubs.h: New header.
33475         * math/Makefile (headers): Added new header
33476         libm-simd-decl-stubs.h.
33477         * math/math.h (__MATHCALL_VEC): New macro.
33479         * math/gen-libm-have-vector-test.sh: Script generates series of macros
33480         for conditions in testing functions.
33481         * math/Makefile: Added call of libm-have-vector-test.sh.
33482         * math/libm-test.inc (HAVE_VECTOR): New macros.
33484         * math/libm-test.inc: START refactored.
33485         * math/test-double.c (TEST_MATHVEC): Add define.
33486         * math/test-float.c: Likewise.
33487         * math/test-idouble.c: Likewise.
33488         * math/test-ifloat.c: Likewise.
33489         * math/test-ildoubl.c: Likewise.
33490         * math/test-ldouble.c: Likewise.
33491         * sysdeps/generic/math-tests-arch.h
33492         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33493         architecture check.
33495         * math/test-double.c (FUNC_TEST): New macro.
33496         * math/test-float.c: Likewise.
33497         * math/test-idouble.c: Likewise.
33498         * math/test-ifloat.c: Likewise.
33499         * math/test-ildoubl.c: Likewise.
33500         * math/test-ldouble.c: Likewise.
33501         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33503 2015-05-13  Roland McGrath  <roland@hack.frob.com>
33505         * sysdeps/nacl/fdopendir.c: New file.
33507         * dirent/scandir-tail.c: New file.
33508         * dirent/scandir64-tail.c: New file.
33509         * dirent/Makefile (routines): Add them.
33510         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33511         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33512         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33513         [!SCANDIR] (SCANDIR_TAIL): New macro.
33514         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33515         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33516         (SCANDIRAT): Macro removed.
33517         (SCANDIR_TAIL): New macro.
33518         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33519         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33520         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33521         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33522         (READDIR): Macro removed.
33523         (SCANDIR_TAIL): New macro.
33524         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33525         (SCANDIR_TAIL): New macro.
33527         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33528         * dirent/scandir-cancel.c: ... to this new file.
33529         * dirent/Makefile (routines): Add it.
33530         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33531         * sysdeps/unix/sysv/linux/i386/scandir64.c
33532         (SKIP_SCANDIR_CANCEL): Macro removed.
33533         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33535         * dirent/tst-scandir.c: New file.
33536         * dirent/tst-scandir64.c: New file.
33537         * dirent/Makefile (tests): Add them.
33539 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33541         [BZ #18409]
33542         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33544 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33546         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33547         list.
33549 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33551         * benchtests/bench-strcoll.c: New benchmark.
33552         * benchtests/Makefile: Generate locales and run benchmark.
33553         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33554         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33555         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33556         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33557         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33558         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33559         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33560         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33561         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33562         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33563         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33564         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33565         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33566         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33567         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33568         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33569         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33570         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33571         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33572         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33573         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33574         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33575         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33576         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33578 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33580         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33581         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33583 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33585         * posix/uname-values.h: New file.
33586         * posix/uname.c: Include that instead of <config-name.h>.
33587         * sysdeps/nacl/uname-values.h: New file.
33588         * sysdeps/arm/nacl/uname-values.h: New file.
33590 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33592         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33593         splitting into fields.
33595 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33597         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33598         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33599         * locale/localeinfo.h: Add enum collation_encoding_type.
33600         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33601         * programs/ld-collate.c (collate_output): Add encoding type info.
33602         * string/strcoll_l.c (STRDIFF): New function.
33603         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33604         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33606 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33608         [BZ #18397]
33609         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33610         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33611         <fpu_control.h> instead of <math/fpu_control.c>.
33612         * sysdeps/mips/mips32/fpu/Makefile: New file.
33614 2015-05-11  Andreas Schwab  <schwab@suse.de>
33616         [BZ #18007]
33617         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33618         nss_endgrent.
33619         (_nss_compat_endgrent): Call nss_endgrent.
33620         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33621         nss_endpwent.
33622         (_nss_compat_endpwent): Call nss_endpwent.
33623         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33624         needent, call nss_setspent only if non-zero.
33625         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33626         (internal_endspent): Don't call nss_endspent.
33627         (_nss_compat_endspent): Call nss_endspent.
33628         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33629         Remove.  All uses removed.
33630         (internal_setent): Remove parameter stayopen, add parameter
33631         stream.  Use it instead of global variable.
33632         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33633         (internal_endent, internal_getent): Add parameter stream.  Use it
33634         instead of global variable.
33635         (CONCAT(_nss_files_end,ENTNAME))
33636         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33637         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33638         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33639         uses removed.
33640         (internal_setent, internal_endent): Add parameter stream.  Use it
33641         instead of global variable.
33642         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33643         stream.
33644         (get_next_alias): Add parameter stream.
33645         (_nss_files_getaliasent_r): Pass global stream.
33646         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33647         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33648         (_nss_files_gethostbyname4_r): Pass local stream to
33649         internal_setent, internal_getent and internal_endent.  Remove
33650         locking.
33652 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33654         * tst-strfmon1.c (tests): Update expected currency symbol.
33656 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33658         * sysdeps/nacl/gethostname.c: New file.
33660 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33662         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33663         and sinh.
33664         * math/auto-libm-test-out: Regenerated.
33665         * sysdeps/i386/fpu/libm-test-ulps: Update.
33666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33668 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33670         [BZ #18125]
33671         * stdlib/tst-setcontext3.c: New file.
33672         * stdlib/tst-setcontext3.sh: New file.
33673         * stdlib/Makefile (tests): Add tst-setcontext3.
33674         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33675         to verify test program created output file.
33676         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33677         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33678         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33679         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33681 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33683         [BZ #18383]
33684         * elf/tst-tlsalign.c: New file.
33685         * elf/tst-tlsalign-static.c: New file.
33686         * elf/tst-tlsalign-lib.c: New file.
33687         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33688         (tests-static): Add tst-tlsalign-static.
33689         (modules-names): Add tst-tlsalign-lib.
33690         (test-xfail-tst-tlsalign): New variable.
33691         (test-xfail-tst-tlsalign-static): New variable.
33693         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33694         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33696 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33698         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33699         csqrt, erfc, sin and sincos.
33700         * math/auto-libm-test-out: Regenerated.
33701         * sysdeps/i386/fpu/libm-test-ulps: Update.
33702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33704 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33706         * sysdeps/aarch64/libm-test-ulps: Update.
33708 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33710         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33711         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33712         * math/auto-libm-test-out: Regenerated.
33713         * sysdeps/i386/fpu/libm-test-ulps: Update.
33714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33716 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33718         [BZ #18265]
33719         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33720         (wcsncpy): Likewise.
33722 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33724         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33725         Assume __ASSUME_FALLOCATE is always true.
33726         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33727         (__posix_fallocate64_l64): Likewise.
33728         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33729         (posix_fallocate): Likewise.
33730         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33731         (__posix_fallocate64_l64): Likewise.
33732         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33733         [!__ASSUME_FALLOCATE]: Add comment.
33735 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33737         * sysdeps/unix/sysv/linux/i386/Makefile
33738         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33739         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33740         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33741         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33742         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33743         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33744         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33746 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33748         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33749         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33750         tgamma.
33751         * math/auto-libm-test-out: Regenerated.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33757         * math/auto-libm-test-in: Add more tests of tgamma.
33758         * math/auto-libm-test-out: Regenerated.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762         * math/auto-libm-test-in: Add more tests of tanh.
33763         * math/auto-libm-test-out: Regenerated.
33764         * sysdeps/i386/fpu/libm-test-ulps: Update.
33765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33767         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
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         * math/auto-libm-test-in: Add another test of pow.
33778         * math/auto-libm-test-out: Regenerated.
33779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33781         * math/auto-libm-test-in: Add more tests of lgamma.
33782         * math/auto-libm-test-out: Regenerated.
33783         * sysdeps/i386/fpu/libm-test-ulps: Update.
33784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33786         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33787         log1p.
33788         * math/auto-libm-test-out: Regenerated.
33789         * sysdeps/i386/fpu/libm-test-ulps: Update.
33790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33792 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33794         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33795         Elf64_Chdr structs and ELFCOMPRESS constants.
33797 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33799         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33800         expm1.
33801         * math/auto-libm-test-out: Regenerated.
33802         * sysdeps/i386/fpu/libm-test-ulps: Update.
33803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33805         * math/auto-libm-test-in: Add more tests of erf and erfc.
33806         * math/auto-libm-test-out: Regenerated.
33807         * sysdeps/i386/fpu/libm-test-ulps: Update.
33808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33810 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33812         * config.h.in (HAVE_AARCH64_BE): Add.
33814 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33816         * math/auto-libm-test-in: Add more tests of csqrt.
33817         * math/auto-libm-test-out: Regenerated.
33818         * sysdeps/i386/fpu/libm-test-ulps: Update.
33819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33821         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33822         * math/auto-libm-test-out: Regenerated.
33823         * sysdeps/i386/fpu/libm-test-ulps: Update.
33824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33826         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33828 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33830         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33831         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33833         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33834         (euidaccess, eaccess): Define as weak aliases.
33836         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33837         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33838         but __suseconds_t is often 'long int' so some sources assume that
33839         type is being used (e.g. they use %ld to print tv_usec).
33841 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33843         [BZ #18007]
33844         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33845         (CVE-2014-8121)
33846         * nss/tst-nss-getpwent.c: New file.
33847         * nss/Makefile (tests): Add new test.
33849 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33851         [BZ #18346]
33852         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33853         exponents less than 48 as cases where high part of mantissa needs
33854         examining to determine whether argument is integral.
33855         * math/libm-test.inc (round_test_data): Add more tests.
33857 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33859         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33861 2015-04-27  David S. Miller  <davem@davemloft.net>
33863         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33864         __tls_get_addr.
33865         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33867 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33869         [BZ #18333]
33870         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33872 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33874         [BZ #18333]
33875         * time/tzset.c (parse_tzname): Return error on memory allocation
33876         failure.
33877         * test-skeleton.c (struct temp_name_list): Change type of name
33878         member to non-const.
33879         (add_temp_file): Create a copy of the file name.
33880         (delete_temp_files): Deallocate memory.
33881         (create_temp_file): Add comment.
33883 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33885         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33886         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33888 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33890         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33891         * sysdeps/arm/configure: Regenerated.
33893 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33895         [BZ #17715]
33896         * time/tzfile.c (__tzfile_read): Check for large values of
33897         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33898         * time/tzset.c (__tzstring_len): New function, based on the old
33899         __tzstring function.
33900         (__tzstring): Call __tzstring_len.
33901         (parse_tzname): New helper function extracted from
33902         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33903         the input string.
33904         (parse_offset): New helper function extracted from
33905         __tzset_parse_tz.  Replace switch with fallthrough with
33906         initialization before sscanf.
33907         (parse_rule): Likewise.
33908         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33909         new-style function definition.
33910         * timezone/Makefile (tests): Add tst-tzset.
33911         (tst-tzset.out): Dependencies on time zone files.
33912         (tst-tzset-ENV): Set TZDIR.
33913         (testdata/XT%): Copy crafted time zone files.
33914         * timezone/README: Mention crafted time zone files.
33915         * timezone/testdata/XT1, timezone/testdata/XT2,
33916         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33917         files.
33918         * timezone/tst-tzset.c: New test.
33920 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33922         * Makeconfig (+gccwarn): Remove -Winline.
33924 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33926         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33928 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33930         * NEWS: Mention sysconf() cache information support for s390.
33931         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33933 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33935         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33936         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33937         (__nearbyint): Likewise.
33938         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33939         (copysignl): Likewise.
33941 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33943         [BZ #18287]
33944         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33945         based on padding.  (CVE-2015-1781)
33947 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33949         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33950         libc-vdso.h.
33951         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33952         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33953         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33954         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33955         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33956         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33959         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33960         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33961         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33962         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33963         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33964         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33965         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33966         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33967         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33968         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33969         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33970         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33971         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33972         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33973         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33975 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33977         * stdlib/setenv.c (__add_to_environ):
33978         Dump core quickly if setenv (..., NULL, ...) is called.
33979         This time, do it the right way, and pacify GCC with a pragma.
33981 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33983         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33984         IMAP->l_prev cannot be null, and #if out the code for the contrary
33985         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33986         believe that NS (&_dl_ns[NSID]) could point outside the array.
33988         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33989         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33990         before using NSID as an index.
33992 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33994         [BZ #17825]
33995         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33996         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33997         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33999 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34001         Add preliminary port to Google Native Client on ARM.
34002         * abi-tags (.*-.*-nacl.*): New entry.
34003         * sysdeps/arm/nacl: New directory.
34004         * sysdeps/nacl: New directory.
34006 2015-04-16  David S. Miller  <davem@davemloft.net>
34008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34009         lowlevellock-futex.h
34011 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34013         * sysdeps/tile/configure.ac: New file.
34014         * sysdeps/tile/configure: Regenerated.
34016 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34018         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34019         conditionals for weak_alias and libc_hidden_weak.
34020         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34021         libc_hidden_weak and weak_alias.
34022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34023         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34024         and weak_alias for static one.
34026 2015-04-15  David S. Miller  <davem@davemloft.net>
34028         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34030 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34032         [BZ #18206]
34033         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34034           Use signed comparision instead of substraction to avoid
34035           overflow bug.
34036         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34037           Take the sign of ret.
34038         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34039           Do not expect precise return values. Only the sign matters.
34040         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34041         * wcsmbs/test-wcsncmp.c: New File.
34042         * string/test-strncmp.c: Add wcsncmp support.
34044 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34046         [BZ #6792]
34047         * math/w_log1p.c: New file.
34048         * math/w_log1pf.c: Likewise.
34049         * math/w_log1pl.c: Likewise.
34050         * math/Makefile (libm-calls): Add w_log1p.
34051         * math/s_log1pl.c (log1pl): Remove weak_alias.
34052         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34053         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34054         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34055         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34056         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34057         [NO_LONG_DOUBLE] (log1pl): Likewise.
34058         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34060         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34061         (log1p): Remove long_double_symbol.
34062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34063         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34064         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34065         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34066         remove weak_alias for corresponding log1p function.
34067         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34068         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34069         * sysdeps/ia64/fpu/w_log1p.c: New file.
34070         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34071         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34072         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34074 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34076         [BZ #18247]
34077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34078         decimal exponent by 1.
34079         * stdlib/tst-strtod-round-data: Add more tests.
34080         * stdlib/tst-strtod-round.c (tests): Regenerated.
34082 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34084         * math/auto-libm-test-in: Add more tests of clog and clog10.
34085         * math/auto-libm-test-out: Regenerated.
34086         * sysdeps/i386/fpu/libm-test-ulps: Update.
34087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34089 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34091         * Makeconfig (module-cppflags): Exclude all .v.i files.
34092         (skip-module-cppflags): Variable removed.
34094         * configure.ac (libc_config_ok): Initialize before reading
34095         preconfigure scripts, not after.
34096         * configure: Regenerated.
34098         * test-skeleton.c (TIMEOUT): Move #define to top level.
34099         (main): Grok environment variable TEST_DIRECT.  If set, print
34100         test expectation details into that file and then behave as if
34101         given --direct.
34103 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34105         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34106         warning on 32-bit.
34108 2015-04-08  David S. Miller  <davem@davemloft.net>
34110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34112 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34114         * math/auto-libm-test-in: Add more tests of atanh.
34115         * math/auto-libm-test-out: Regenerated.
34116         * sysdeps/i386/fpu/libm-test-ulps: Update.
34117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34119         * math/auto-libm-test-in: Add more tests of atan.
34120         * math/auto-libm-test-out: Regenerated.
34121         * sysdeps/i386/fpu/libm-test-ulps: Update.
34122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34124 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34126         * elf/pldd.c (main): Rewrite to use struct
34127         scratch_buffer instead of extend_alloca.
34128         * elf/pldd-xx.c (find_maps): Likewise.
34129         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34130         <alloca.h>.
34131         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34132         scratch_buffer instead of extend_alloca.
34133         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34134         grp/compat-initgroups.c.
34135         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34136         Rewrite to use struct scratch_buffer instead of extend_alloca.
34137         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34138         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34140 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34142         * math/auto-libm-test-in: Add more tests of cbrt.
34143         * math/auto-libm-test-out: Regenerated.
34144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34146         * math/auto-libm-test-in: Add more tests of cabs.
34147         * math/auto-libm-test-out: Regenerated.
34148         * sysdeps/i386/fpu/libm-test-ulps: Update.
34149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34151         [BZ #18210]
34152         [BZ #18211]
34153         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34154         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34155         computations.
34156         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34157         clog10.
34158         * math/auto-libm-test-out: Regenerated.
34159         * sysdeps/i386/fpu/libm-test-ulps: Update.
34160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34162         [BZ #18197]
34163         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34164         (atan): Set FE_TONEAREST mode for internal computations.
34165         * math/auto-libm-test-in: Add more tests of atan.
34166         * math/auto-libm-test-out: Regenerated.
34168 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34170         [BZ #17930]
34171         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34173 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34175         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34177 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34179         * include/scratch_buffer.h: New file.
34180         * malloc/scratch_buffer_grow.c: Likewise.
34181         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34182         * malloc/scratch_buffer_set_array_size.c: Likewise.
34183         * malloc/tst-scratch_buffer.c: Likewise.
34184         * malloc/Makefile (routines): Add scratch_buffer_grow.
34185         (tests): Add test case.
34186         * malloc/Versions (GLIBC_PRIVATE): Export
34187         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34188         __libc_scratch_buffer_set_array_size.
34190 2015-04-06  Richard Henderson  <rth@redhat.com>
34192         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34193         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34195         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34196         unsigned int before printing.
34198 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34200         [BZ #17596]
34201         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34202         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34204 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34206         * include/libc-internal.h (libc_max_align_t): Define.
34208 2015-04-02  Andreas Schwab  <schwab@suse.de>
34210         [BZ #16850]
34211         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34213 2015-04-02  Mel Gorman  <mgorman@suse.de>
34215         [BZ #17195]
34216         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34217         as well as the main arena.
34219 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34221         [BZ #18185]
34222         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34223         sharing L2 cache to 2 for Silvermont/Knights Landing.
34225 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34227         [BZ #17711]
34228         * config.make.in (have-protected-data): New.
34229         * configure.ac: Check linker support for protected data symbol.
34230         * configure: Regenerated.
34231         * elf/Makefile (modules-names): Add tst-protected1moda and
34232         tst-protected1modb if $(have-protected-data) is yes.
34233         (tests): Add tst-protected1a and tst-protected1b if
34234         $(have-protected-data) is yes.
34235         ($(objpfx)tst-protected1a): New.
34236         ($(objpfx)tst-protected1b): Likewise.
34237         (tst-protected1modb.so-no-z-defs): Likewise.
34238         * elf/tst-protected1a.c: New file.
34239         * elf/tst-protected1b.c: Likewise.
34240         * elf/tst-protected1mod.h: Likewise.
34241         * elf/tst-protected1moda.c: Likewise.
34242         * elf/tst-protected1modb.c: Likewise.
34244 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34246         [BZ #17711]
34247         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34248         indicates it is called from do_lookup_x on relocation against
34249         protected data, skip the data definion in the executable from
34250         copy reloc.
34251         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34252         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34253         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34254         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34255         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34256         otherwise to 0.
34257         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34258         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34259         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34260         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34261         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34262         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34264 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34266         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34267         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34269 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34271         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34272         THREAD_SETMEM_NC.
34273         * sysdeps/x86_64/nptl/tls.h: Ditto.
34275 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34277         * dlfcn/tststatic.c (main): Converted to ...
34278         (do_test): ... this.
34279         (TEST_FUNCTION): New macro.
34280         Include test-skeleton.c.
34282 2015-03-26  Alan Modra  <amodra@gmail.com>
34284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34285         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34286         zero for undefined weak.
34287         (elf_machine_plt_conflict): Similarly.
34289 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34291         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34292         atanh.
34293         * math/auto-libm-test-out: Regenerated.
34294         * sysdeps/i386/fpu/libm-test-ulps: Update.
34295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34297         * math/auto-libm-test-in: Add another test of asin.
34298         * math/auto-libm-test-out: Regenerated.
34299         * sysdeps/i386/fpu/libm-test-ulps: Update.
34300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34302         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34303         Remove macro.
34304         (LLL_EBX_REG): Likewise.
34305         (LLL_ENTER_KERNEL): Likewise.
34307         * math/auto-libm-test-in: Add more tests of asin.
34308         * math/auto-libm-test-out: Regenerated.
34309         * sysdeps/i386/fpu/libm-test-ulps: Update.
34310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34312         [BZ #18138]
34313         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34314         libc_do_syscall_args): New structure.
34315         (INTERNAL_SYSCALL_MAIN_0): New macro.
34316         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34317         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34318         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34319         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34320         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34321         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34322         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34323         Replace conditional definitions by conditional definitions of ....
34324         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34325         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34326         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34327         (libpthread-sysdep_routines): Add libc-do-syscall.
34328         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34329         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34330         to __NR_futex not 240.
34332 2015-03-25  Alan Modra  <amodra@gmail.com>
34334         * NEWS: Advertise TLS optimization.
34335         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34336         (DT_PPC_NUM): Increment.
34337         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34338         (CHECK_STATIC_TLS): Use here.
34339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34340         TLS descriptors.
34341         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34342         * sysdeps/powerpc/dl-tls.c: New file.
34343         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34344         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34345         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34346         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34351 2015-03-25  Alan Modra  <amodra@gmail.com>
34353         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34354         for overlapping .opd entries" to "support...".
34355         * sysdeps/powerpc/powerpc64/configure: Regenerate
34357 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34359         * math/auto-libm-test-in: Add more tests of acos.
34360         * math/auto-libm-test-out: Regenerated.
34361         * sysdeps/i386/fpu/libm-test-ulps: Update.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34364         * math/auto-libm-test-in: Add more tests of expm1.
34365         * math/auto-libm-test-out: Regenerated.
34366         * sysdeps/i386/fpu/libm-test-ulps: Update.
34367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34369 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34371         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34372         * math/auto-libm-test-out: Regenerated.
34373         * sysdeps/i386/fpu/libm-test-ulps: Update.
34374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34376         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34379         * math/auto-libm-test-in: Add more tests of log2.
34380         * math/auto-libm-test-out: Regenerated.
34381         * sysdeps/i386/fpu/libm-test-ulps: Update.
34382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34384 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34386         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34387         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34388         _IO_IS_APPENDING bit in READ_WRITE instead.
34390 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34392         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34393         (__determine_cpumask_size): Replace extend_alloca with a
34394         variable-length array.  Do not treat res == 0 as an error.
34396 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34398         [BZ #18100]
34399         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34400         and integer overflow.
34401         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34402         (main): Add integer overflow tests.
34403         * manual/pattern.texi (Calling Wordexp): Document additional use
34404         for WRDE_SYNTAX.
34406 2015-03-23  Alan Modra  <amodra@gmail.com>
34408         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34409         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34410         and false branch of conditional.
34411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34412         Likewise.
34414 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34416         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34417         libc-modules.h
34418         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34419         unused declaration of _hurd_intr_rpc_msg_in_trap.
34420         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34421         defined instead of whether it is non-zero.
34422         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34423         input constraint instead of both input and output constraint.  Use ecx
34424         clobber instead of %ecx.
34425         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34426         mutex_unlock): Use a statement expression instead of an expression list.
34427         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34428         type to vm_size_t instead of vm_address_t.
34429         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34430         defined instead of whether it is non-zero.
34431         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34432         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34433         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34434         comparisons with mapaddr.
34435         * nscd/nscd-client.h: Include <time.h>.
34436         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34437         9th parameter to __vm_region instead of int.
34438         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34439         * scripts/check-local-headers.sh (exclude): Add device/,
34440         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34441         cthreads.h.
34443 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34445         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34446         to account for alignment padding.
34447         * sysdeps/arm/memmove.S: Likewise.
34449 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34451         * sysdeps/unix/sysv/linux/generic/README: New file.
34453 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34455         [BZ #18138]
34456         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34457         (futex_abstimed_wait)
34458         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34459         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34460         of lll_futex_timed_wait.
34462 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34464         [BZ #17542]
34465         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34467 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34469         [BZ #17090]
34470         [BZ #17620]
34471         [BZ #17621]
34472         [BZ #17628]
34473         * NEWS: Update.
34474         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34475         entries with Static TLS too.  Skip entries past the end of the
34476         allocated DTV, from Alan Modra.
34477         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
34478         Static TLS DTV entry set up from...
34479         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34480         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34481         * nptl/allocatestack.c (init_one_static_tls): ... and here...
34482         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34483         for Static TLS.
34484         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
34485         that the slot we find is associated with the given map before
34486         using its generation count.
34487         * nptl_db/db_info.c: Include ldsodefs.h.
34488         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34489         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34490         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34491         (link_map::l_tls_offset): New struct field.
34492         (dtv_t::counter): Likewise.
34493         (rtld_global): New struct.
34494         (_rtld_global): New rtld variable.
34495         (dl_tls_dtv_slotinfo_list): New rtld global field.
34496         (dtv_slotinfo_list): New struct.
34497         (dtv_slotinfo): Likewise.
34498         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34499         (td_lookup): Rename to...
34500         (td_mod_lookup): ... this.  Use new mod parameter instead of
34501         LIBPTHREAD_SO.
34502         * nptl_db/td_thr_tlsbase.c: Include link.h.
34503         (dtv_slotinfo_list, dtv_slotinfo): New functions.
34504         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
34505         addresses even if the DTV is out of date or missing them.
34506         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34507         index zero-length arrays.
34508         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34509         (td_lookup): Make it a macro implemented in terms of...
34510         (td_mod_lookup): ... this declaration.
34511         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34512         (DB_MAIN_VARIABLE): Likewise.
34514 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34516         [BZ #18134]
34517         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34519 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34521         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34523 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34525         [BZ #18128]
34526         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34527         (atomic_add, atomic_increment_and_test)
34528         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34530 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34532         * stdlib/setenv.c (__add_to_environ):
34533         Dump core quickly if setenv (..., NULL, ...) is called.
34535 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34537         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34538         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34539         all the necessary asm magic in one place.
34540         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34541         using those.
34543 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34545         [BZ #14906]
34546         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34547         traced file mtime. Use consistent log message.
34548         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34549         (register_traced_file): Call install_watches. Always set mtime.
34550         (invalidate_cache): Iterate over all trace files. Call install_watches.
34551         (inotify_check_files): Don't inline. Handle watching parent
34552         directories and configuration file movement in and out.
34553         (handle_inotify_events): New function.
34554         (main_loop_poll): Call handle_inotify_events.
34555         (main_loop_epoll): Likewise.
34556         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34557         (struct traced_file): Use array of inotify fds. Add parent directory,
34558         and basename.
34559         (struct database_dyn): Remove unused file_mtime.
34560         (init_traced_file): New inline function.
34561         (define_traced_file): New macro.
34562         * nss/nss_db/db-init.c: Use define_traced_file.
34563         (_nss_db_init): Use init_traced_file.
34564         * nss/nss_files/files-init.c: Use define_traced_file.
34565         (_nss_files_init): Use init_traced_file.
34567 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34569         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34570         [_LIBC]: Do not include <stdlib.h>.
34571         [!_LIBC] (abort): Remove declaration.
34572         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34573         _FP_STATIC_ASSERT instead of conditionally calling abort.
34574         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34575         (_FP_EXTEND_CNAN): Likewise.
34576         (FP_TRUNC): Likewise.
34577         (__FP_CLZ): Likewise.
34578         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34580 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34582         * manual/string.texi (XPG basename): Fix prototype.
34584 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34586         [BZ #18080]
34587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34588         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34589         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34590         (__setcontext): Likewise.
34591         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34592         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34593         Call rt_sigprocmask syscall one time to set new signal mask
34594         and retrieve the current signal mask instead of two calls.
34595         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34596         (__swapcontext): Likewise.
34597         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34598         * stdlib/tst-setcontext2.c: New file.
34600 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34602         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34604 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34606         [BZ #18093]
34607         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34608         the wrong size.
34610 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34612         [BZ #18043]
34613         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34615 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34617         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34618         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34619         Remove define.
34620         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34621         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34622         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34623         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34624         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34625         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34626         define.
34627         * nptl_db/td_symbol_list.c (td_lookup): Remove
34628         HAVE_ASM_GLOBAL_DOT_NAME code.
34629         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34630         HAVE_ASM_GLOBAL_DOT_NAME check.
34631         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34632         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34633         (DOT_LABEL): Remove define.
34634         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34635         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34636         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34637         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34638         (__TLS_GET_ADDR): Likewise.
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34640         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34642 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34644         [BZ #18111]
34645         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34646         (_FPU_SETCW): Initialize cw from fpsr before storing.
34647         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34648         (fesetexceptflag): Rewrite using fpu_control.h.
34649         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34651 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34653         [BZ #18110]
34654         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34655         asms.
34656         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34658 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34660         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34661         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34662         abort.
34663         (_FP_FMA): Likewise.
34664         (_FP_DIV): Likewise.
34666 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34668         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34669         with 0 in that case.
34670         * Makefile (summarize-tests): New canned sequence, factored out of
34671         commands for targets tests and xtests.  Display summary lines that
34672         don't start with PASS: or XFAIL: rather than ones that do start with
34673         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34674         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34675         do start with ERROR: or FAIL:.
34676         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34677         (except for [$(build-shared) = yes]).
34678         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34679         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34680         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34681         * nptl/Makefile: Revert 2015-03-04 changes.
34682         [$(CXX) empty] (tests-unsupported): New variable.
34683         * debug/Makefile: Likewise.
34685         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34686         gnulib file.  Replace __attribute with __attribute__ throughout.
34688 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34690         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34692 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34694         [BZ #18104]
34695         * math/auto-libm-test-in: Add another test of pow.
34696         * math/auto-libm-test-out: Regenerated.
34698 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34700         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34701         $(config-cflags-nofma).
34703 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34705         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34706         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34707         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34708         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34709         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34710         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34711         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34712         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34713         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34714         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34715         Add comment on closing #endif.
34717 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34719         * posix/wordexp.c (CHAR_IN_SET): New macro.
34720         (parse_param): Use it.
34722 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34724         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34726 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34728         [BZ #18043]
34729         * posix/wordexp.c (parse_param): Fix buffer overflow.
34730         * posix/wordexp-test.c (test_case): Add test case.
34732 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34734         [BZ #18042]
34735         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34736         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34738 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34740         [BZ #18043]
34741         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34742         (do_bz18043): Delete.
34743         (at_page_end): New.
34744         (testit): Refactor to have words at the edge of unreadable page.
34746 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34748         [BZ #16734]
34749         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34750         Cleanup read-only streams as well.
34751         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34753 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34755         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34756         <bits/libc-lockP.h>
34758 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34760         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34761         on [__KERNEL__].
34762         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34763         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34764         * soft-fp/op-common.h (_FP_DECL): Likewise.
34766 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34768         * elf/ifuncdep2.c (global): Replace
34769         __attribute__((visibility("protected"))) with
34770         asm (".protected global").
34771         * elf/ifuncmod1.c (global): Likewise.
34772         * elf/ifuncmod5.c (global): Likewise.
34774 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34776         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34777         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34779 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34781         * manual/install.texi (Configuring and compiling):
34782         Document test-wrapper-env-only.
34783         * INSTALL: Regenerated.
34785 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34787         [BZ #18043]
34788         * posix/wordexp.c (parse_param): Fix buffer overflow.
34789         * posix/wordexp-test.c (do_bz18043): Add test case.
34791 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34793         * time/tst-strptime2.c (do_test): Ensure failing tests are
34794         reported correctly.
34795         * time/tst-strptime3.c (do_test): Likewise.
34797 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34799         Fix aio_error thread-safety.
34800         * sysdeps/pthread/aio_error.c: New file
34801         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34802         synchronization.
34804 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34806         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34807         (group_number, vfprintf): Use it.
34808         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34809         (JUMP, REF): Use it.
34810         (WORK_BUFFER_SIZE): New enum constant.
34811         (process_arg, vfprintf): Use it.
34813 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34815         * manual/errno.texi (Error Messages): Complete example function
34816         by adding missing #define.
34817         (program_invocation_name): Add statement indicating GNU
34818         extension and reference which header file declares the variable.
34819         (program_invocation_short_name): Likewise.
34821 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34823         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34824         compatibility note.
34826 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34828         * Makeconfig (test-wrapper-env-only): New variable.
34829         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34830         then use that with $(test-wrapper-env-only) rather than using
34831         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34833 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34835         [BZ #18082]
34836         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34837         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34838         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34839         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34840         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34841         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34842         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34843         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34844         Likewise.
34845         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34846         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34847         Likewise.
34848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34849         Likewise.
34850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34851         Likewise.
34852         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34853         Likewise.
34854         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34856         Likewise.
34857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34858         Likewise.
34859         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34860         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34862 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34864         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34865         (ETH_ALEN): New macro.
34866         (struct ether_addr): Use it for length of ether_addr_octet.
34868         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34869         (setdb): Don't call __nss_configure_lookup for "rpc".
34870         (do_test): Don't call test_rpc.
34871         (output_rpcent, test_rpc): Functions moved ...
34872         * sunrpc/test-rpcent.c: ... to this new file.
34873         * sunrpc/Makefile (tests): Add it.
34875         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34876         __xpg_sigpause.
34877         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34878         * nptl/tst-signal6.c: Likewise.
34879         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34880         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34882         * configure.ac (libc_cv_cxx_link_ok): New check.
34883         Reset CXX to empty if it fails to link.
34884         * configure: Regenerated.
34885         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34886         bug-atexit3-lib only if $(CXX) is nonempty.
34887         * nptl/Makefile (tests): Likewise for tst-cancel24.
34888         (tests, tests-static): Likewise for tst-cancel24-static.
34889         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34890         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34891         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34892         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34894 2015-03-04  Andreas Schwab  <schwab@suse.de>
34896         [BZ #17631]
34897         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34898         for non-GCC compilers.
34899         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34900         Likewise.
34902 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34904         [BZ #17776]
34905         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34906         integer before bitwise and assembly operations.
34907         (feclearexcept): Likewise.
34908         * math/test-fenvinline.c: New file.
34909         * math/Makefile: Add test-fenvinline test.
34911 2015-03-03  Alan Modra  <amodra@gmail.com>
34913         [BZ #16512]
34914         * scripts/localplt.awk: Strip off symbol version.
34915         * NEWS: Mention bug fix.
34917 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34919         * sysdeps/pthread/timer_routines.c
34920         (timer_free_list, thread_free_list, thread_active_list): Make static.
34922 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34924         [BZ #17779]
34925         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34926         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34927         Undefine.
34928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34929         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34930         Likewise.
34931         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34932         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34933         Likewise.
34935 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34937         [BZ #18036]
34938         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34939         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34941 2015-03-02  Andreas Schwab  <schwab@suse.de>
34943         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34944         variable name.
34946 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34948         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34949         Return error status.
34951 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34953         [BZ #15969]
34954         * locale/findlocale.c (_nl_find_locale): Introduce const
34955         version of loc_name and drop unsafe type casts.
34957 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34959         * dlfcn/tststatic2.c (main): Converted to ...
34960         (do_test): ... this.
34961         (TEST_FUNCTION): New macro.
34962         Include test-skeleton.c.
34964 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34966         [BZ #17711]
34967         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34968         (tests-pie): Add vismain.
34969         (CFLAGS-vismain.c): New.
34970         * elf/vismain.c: Add comments for PIE requirement.
34972 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34974         [BZ #18046]
34975         [BZ #18047]
34976         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34977         0x1p-56L as threshold for just returning the argument.
34978         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34979         0x1p-32L as threshold for just returning the argument.
34980         * math/auto-libm-test-in: Add more tests of atanh.
34981         * math/auto-libm-test-out: Regenerated.
34982         * sysdeps/i386/fpu/libm-test-ulps: Update.
34983         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34985 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34987         * string/bcopy.c (bcopy): Call memmove for performance.
34989 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34991         * string/bzero.c (__bzero): Call memset for performance.
34993 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34995         [BZ #18068]
34996         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34997         to 00100000.
34999 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35001         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35003 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35005         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35006         (__kernel_standard): Use CSTR macro when setting exc.name.
35007         * sysdeps/ieee754/Makefile [$(subdir) = math]
35008         (CFLAGS-k_standard.c): Remove variable.
35010         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35011         setting p and q from "else if" to "else".
35012         (qzero): Likewise.
35013         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35014         (qone): Likewise.
35015         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35016         (qzerof): Likewise.
35017         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35018         (qonef): Likewise.
35019         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35020         (qzero): Likewise.
35021         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35022         (qone): Likewise.
35024         [BZ #18038]
35025         [BZ #18039]
35026         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35027         return pi/2 for arguments below 0x1p-113L.
35028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35029         return pi/2 for arguments below 0x1p-106L.
35030         * math/auto-libm-test-in: Add more tests of acos.
35031         * math/auto-libm-test-out: Regenerated.
35033         [BZ #16351]
35034         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35035         (MO): New macro.
35036         (__ieee754_asin): Force underflow exception for results with small
35037         absolute value.
35038         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35039         (MO): New macro.
35040         (__ieee754_asinf): Force underflow exception for results with
35041         small absolute value.
35042         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35043         (__ieee754_asin): Force underflow exception for results with small
35044         absolute value.
35045         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35046         (__ieee754_asinf): Force underflow exception for results with
35047         small absolute value.
35048         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35049         (__ieee754_asinl): Force underflow exception for results with
35050         small absolute value.
35051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35052         (__ieee754_asinl): Force underflow exception for results with
35053         small absolute value.
35054         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35055         (__ieee754_asinl): Force underflow exception for results with
35056         small absolute value.
35057         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35058         Include <math.h>.
35059         * math/auto-libm-test-in: Do not mark underflow exceptions as
35060         possibly missing for bug 16351.
35061         * math/auto-libm-test-out: Regenerated.
35063         [BZ #18030]
35064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35065         of power of 2 down when low part has opposite sign.
35066         * math/libm-test.inc (logb_test_data): Add more tests.
35068 2015-02-26  Andreas Schwab  <schwab@suse.de>
35070         [BZ #18032]
35071         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35072         over collating symbol inside a bracket expression.  Minor cleanup.
35073         * posix/tst-fnmatch3.c (do_test): Add test case.
35075 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35077         [BZ #18029]
35078         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35079         Adjust exponent of power of 2 down when low part has opposite
35080         sign.
35081         * math/libm-test.inc (ilogb_test_data): Add more tests.
35083 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35085         [BZ #15969]
35086         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35087         the previous change.
35089         [BZ #15969]
35090         * locale/findlocale.c (_nl_find_locale): Retry archive search
35091         after alias expansion.
35093 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35095         * iconv/tst-iconv3.c (main): Converted to ...
35096         (do_test): ... this.
35097         (TEST_FUNCTION): New macro.
35098         Include test-skeleton.c.
35100         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35101         (convert): Make function static.
35102         (test_unalign): Likewise.  Add const to argument pointee types.
35103         (main): Replace with static function do_test.
35104         Print "Succeeded." only if RET is zero.
35105         (TEST_FUNCTION): New macro.
35106         Include test-skeleton.c.
35108         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35109         returns a null pointer.
35111 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35114         to __memcpy_ppc only for static builds.
35116 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35118         [BZ #18020]
35119         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35120         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35121         * math/auto-libm-test-in: Add more tests of asinh.
35122         * math/auto-libm-test-out: Regenerated.
35123         * sysdeps/i386/fpu/libm-test-ulps: Update.
35124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35126 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35128         [BZ #15850]
35129         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35130         and ip6_mtuinfo definitions here.
35131         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35132         in this define too.  Update comment.
35134 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35136         * elf/sprof.c (load_shobj): Tweak error message to match others.
35138 2015-02-24  Kevin Easton  <kevin@guarana.org>
35140         [BZ #16145] (partial fix)
35141         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35142         to reduce lock contention.
35144 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35146         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35147         (struct timex): Update time comment.
35148         (ADJ_SETOFFSET): Define.
35150 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35152         [BZ #18019]
35153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35154         2**56 not 2**28 as threshold for log (2x) formula.
35155         * math/auto-libm-test-in: Add more tests of acosh.
35156         * math/auto-libm-test-out: Regenerated.
35157         * sysdeps/i386/fpu/libm-test-ulps: Update.
35158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35160 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35162         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35163         parenthesis around the buf assignment.
35164         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35166 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35168         [BZ #16783]
35169         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35170         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35171         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35172         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35173         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35174         * math/libm-test.inc (scalb_test_data): Add more tests.
35176 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35178         [BZ #17916]
35179         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35180         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35182 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35184         [BZ #17523]
35185         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35186         * io/bits/fcntl2.h (open): Use it.
35187         (openat): Likewise.
35188         * io/open.c (__libc_open): Likewise.
35189         * io/open64.c (__libc_open64): Likewise.
35190         * io/open64_2.c (__open64_2): Likewise.
35191         * io/open_2.c (__open_2): Likewise.
35192         * io/openat.c (__openat): Likewise.
35193         * io/openat64.c (__openat64): Likewise.
35194         * io/openat64_2.c (__openat64_2): Likewise.
35195         * io/openat_2.c (__openat_2): Likewise.
35196         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35197         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35198         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35199         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35200         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35201         (__open_nocancel): Likewise.
35202         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35203         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35204         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35206 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35208         [BZ #14841]
35209         * resolv/gethnamaddr.c (getanswer): Skip logging if
35210         RES_USE_DNSSEC is set.
35211         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35213 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35215         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35217 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35219         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35220         201304L, for Unicode 7.
35222 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35224         [BZ #17836]
35225         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35226         shared library.  Add gmon-start.os otherwise.
35227         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35228         $(objpfx)gmon-start.os if builing shared library.
35229         ($(objpfx)g$(static-start-installed-name)): Likewise.
35231 2015-02-23  Andreas Schwab  <schwab@suse.de>
35233         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35235 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35237         [BZ #17269]
35238         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35239         (enlarge_userbuf): Likewise.
35241 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35243         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35244         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35245         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35246         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35248 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35250         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35251         expression inside statement expression.
35253 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35255         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35256         <sysdeps/nptl/lowlevellock.h> and remove macros and
35257         functions that are now defined there.
35258         (SYS_futex): Remove.
35259         (lll_compare_and_swap): Remove.
35260         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35262 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35264         [BZ #17999]
35265         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35266         instead of scandirat.
35267         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35268         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35269         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35270         __scandirat.
35271         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35272         (__scandirat): Declare.  Use libc_hidden_proto.
35273         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35274         Remove variable.
35275         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35277 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35279         [BZ #15319]
35280         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35281         (MO): New macro.
35282         (__ieee754_atan2): For results with small absolute value, force
35283         underflow exception and remove excess range and precision from
35284         return value.
35285         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35286         (MO): New macro.
35287         (__ieee754_atan2f): For results with small absolute value, force
35288         underflow exception and remove excess range and precision from
35289         return value.
35290         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35291         (MO): New macro.
35292         (__atan): For results with small absolute value, force underflow
35293         exception and remove excess range and precision from return value.
35294         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35295         (MO): New macro.
35296         (__atanf): For results with small absolute value, force underflow
35297         exception and remove excess range and precision from return value.
35298         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35299         <math.h>.
35300         (__ieee754_atan2): Force underflow exception for results with
35301         small absolute value.
35302         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35303         <math_private.h>.
35304         (atan): Force underflow exception for results with small absolute
35305         value.
35306         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35307         (__atanf): Force underflow exception for results with small
35308         absolute value.
35309         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35310         <math.h>.
35311         (__atanl): Force underflow exception for results with small
35312         absolute value.
35313         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35314         (__atanl): Force underflow exception for results with small
35315         absolute value.
35316         * sysdeps/x86/fpu/bits/mathinline.h
35317         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35318         (__ieee754_atan2): Only define inline for long double.
35319         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35320         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35321         * math/auto-libm-test-in: Do not mark underflow exceptions as
35322         possibly missing for bug 15319.  Add more tests of atan2.
35323         * math/auto-libm-test-out: Regenerated.
35324         * math/libm-test.inc (casin_test_data): Do not mark underflow
35325         exceptions as possibly missing for bug 15319.
35326         (casinh_test_data): Likewise.
35327         * sysdeps/i386/fpu/libm-test-ulps: Update.
35329 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35331         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35332         * sysdeps/mips/bits/endian.h: Fix comments.
35334 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35336         [BZ #17996]
35337         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35338         (hdestroy_r): Likewise.
35339         (hsearch_r): Likewise.
35340         (__hcreate_r): Declare and use libc_hidden_proto.
35341         (__hdestroy_r): Likewise.
35342         (__hsearch_r): Likewise.
35343         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35344         (hcreate): Call __hcreate_r instead of hcreate_r.
35345         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35346         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35347         as weak alias of __hcreate_r.
35348         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35349         __hdestroy_r.
35350         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35351         __hsearch_r.
35352         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35353         Remove variable.
35354         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35355         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35356         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35357         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35359 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35361         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35362         arena_lock into a single arena_get.
35364 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35366         * dl-reloc.c: Inlucde libc-internal.h.
35367         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35368         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35369         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35370         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35371         (grow_heap): Likewise.
35372         * malloc/malloc.c: Include libc-internal.h.
35373         (do_check_malloc): Call powerof2.
35374         (sysmalloc): Use pagesize. Call ALIGN_UP.
35375         (systrim): Use pagesize.
35376         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35377         (__libc_valloc): Use pagesize.
35378         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35380 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35382         [BZ #17991]
35383         * include/sys/resource.h (__getrlimit64): Declare.  Use
35384         libc_hidden_proto.
35385         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35386         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35387         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35388         getrlimit64.
35389         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35390         __getrlimit64.
35391         [!getrlimit64] (getrlimit64): Define as weak alias of
35392         __getrlimit64.  Use libc_hidden_weak.
35393         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35394         using __getrlimit64 not __new_getrlimit64.
35395         (__GI_getrlimit64): Likewise.
35396         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35397         Likewise.
35398         (__GI_getrlimit64): Likewise.
35399         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35401         (getrlimit): Add __getrlimit64 alias.
35402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35403         Likewise.
35404         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35405         Remove variable.
35406         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35407         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35409 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35411         * libio/fileops.c: Add missing sys/mman.h
35412         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35414 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35416         * manual/math.texi (Errors in Math Functions): Clarify goals
35417         regarding inexact and underflow exceptions.
35419 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35421         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35422         * sysdeps/mips/memset.S: Ditto.
35424 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35426         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35428 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35430         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35431         (__v1longjmp): Remove versioned symbol.
35432         (__v1siglongjmp): Remove alias and versioned symbol.
35433         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35434         (__v2siglongjmp): Likewise.
35436 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35438         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35440 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35442         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35444 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35446         [BZ #17987]
35447         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35448         zero result does not depend on the sign resulting from
35449         subtraction.
35450         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35451         Likewise.
35452         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35453         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35454         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35455         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35456         * math/libm-test.inc (remquo_test_data): Add more tests.
35458 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35460         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35461         Problem reported by J William Piggott.
35463 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35465         [BZ #17978]
35466         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35467         products 4 * y and 2 * y where those would overflow.
35468         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35469         Likewise.
35470         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35471         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35472         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35473         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35474         * math/libm-test.inc (remquo_test_data): Add more tests.
35476         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35478         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35479         [defined _COMPILING_NEWLIB].
35480         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35481         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35483         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35484         [!defined __mips_isa_rev || __mips_isa_rev < 6].
35486 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35488         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35489         acquired.
35491 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
35493         [BZ #17792]
35494         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35495         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35496         HOST_STACK_END_ADDR): Likewise.
35498 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
35500         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35501         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35502         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35504 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35506         * sysdeps/generic/c++-types.data: New file.
35507         * sysdeps/generic/ld.abilist: New file.
35508         * sysdeps/generic/libBrokenLocale.abilist: New file.
35509         * sysdeps/generic/libanl.abilist: New file.
35510         * sysdeps/generic/libc.abilist: New file.
35511         * sysdeps/generic/libcrypt.abilist: New file.
35512         * sysdeps/generic/libdl.abilist: New file.
35513         * sysdeps/generic/libm.abilist: New file.
35514         * sysdeps/generic/libpthread.abilist: New file.
35515         * sysdeps/generic/libresolv.abilist: New file.
35516         * sysdeps/generic/librt.abilist: New file.
35518 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #17569]
35521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35522         Compute absolute value of x as modified by fmod, not original
35523         value of x.
35524         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35525         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35526         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35527         RUN_TEST_ffI_f1_mod8.
35528         (remquo_test_data): Add more tests.
35530 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35532         * sysdeps/init_array/pt-crti.S: New file.
35534 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35536         [BZ #17967]
35537         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35538         __builtin_fmaf instead of relying on contraction of a * b + c.
35540 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35542         [BZ #17969]
35543         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35544         node.
35546 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35548         [BZ #17964]
35549         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35550         __builtin_fma instead of relying on contraction of a * b + c.
35552 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35554         * Makeconfig (ASFLAGS): Add -Werror=undef.
35555         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35556         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35557         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35559         * Makeconfig (after-link): New variable.
35560         (+link-pie, +link-pie-tests): Use it.
35561         (+link-static, +link-static-tests): Likewise.
35562         (+link, +link-tests): Likewise.
35563         * Makerules (build-module, build-module-asneeded): Likewise.
35564         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35565         Likewise.
35566         * elf/Makefile ($(objpfx)ld.so): Likewise.
35568 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35570         [BZ #17965]
35571         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35572         both struct timeval and struct timespec.
35574 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35576         [BZ #16560]
35577         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35578         and redefine.
35579         (__ieee754_exp2l): Do not multiply small fractional parts by
35580         M_LN2l.
35581         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35582         small argument.
35583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35584         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35585         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35586         * math/auto-libm-test-in: Add more tests of exp2.
35587         * math/auto-libm-test-out: Regenerated.
35589 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35591         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35592         unaligned path.
35594 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35596         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35597         little endian.
35599 2015-02-12  Andreas Schwab  <schwab@suse.de>
35601         [BZ #15790]
35602         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35603         Filter out elision flags from value returned in kind.
35604         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35605         * nptl/tst-pthread-mutexattr.c: New file.
35607 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35609         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35610         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35611         into gnu-gnu, and update comment to refer to abi-tags.
35613 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35615         [BZ #15467]
35616         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35617         (__sincos): Set errno to EDOM for infinite argument.
35618         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35619         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35620         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35621         (__sincosl): Set errno to EDOM for infinite argument.
35622         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35623         (__sincosl): Set errno to EDOM for infinite argument.
35624         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35625         (__sincosl): Set errno to EDOM for infinite argument.
35626         * math/libm-test.inc (sincos_test_data): Test errno setting.
35628 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35630         * string/strxfrm_l.c: Remove #define STRCMP.
35631         * string/strcoll_l.c: Remove #define STRLEN.
35632         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35633         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35635 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35637         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35638         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35639         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35640         * sysdeps/mips/mips64/Makefile: ... here.
35641         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35642         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35643         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35644         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35645         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35646         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35647         * sysdeps/mips/mips64/n64/Implies: Likewise.
35649 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35651         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35652         <sys/time.h>, <string.h>, and <errno.h>.
35653         (dest_offset, dest_address, value, zero): Remove unused variables.
35654         (ldouble): Remove typedef.
35655         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35656         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35657         1).  Fix code style.
35658         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35659         (check): Function removed.
35660         (CHECK): New macro.
35661         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35662         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35663         Don't call set_sigaction_FP and remove_sigaction_FP here.
35664         (ldouble_test): Just use 'long double' as macro argument, no need for
35665         the 'ldouble' typedef.
35666         (do_test): Set up SIGFPE handler at start, using plain signal rather
35667         than sigaction.  Fix code style.
35669 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35671         [BZ #17949]
35672         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35673         jump label.
35675 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35677         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35678         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35680         * sysdeps/powerpc/configure.ac: Remove file.
35681         * sysdeps/powerpc/configure: Likewise.
35683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35684         [sysdep_routines]: Remove wordcopy-power6 object.
35685         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35686         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35688         (__memmove_ppc32): Likewise.
35689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35690         file.
35691         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35692         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35693         Remove preprocessor.
35695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35696         [sysdep_routines]: Remove wide chars objects.
35697         [wcsmbs]: New rule for wide char objects.
35699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35700         Remove wordcopy-power6 obejct.
35701         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35702         Use local call for wordcopy and memcpy symbols.
35703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35705         implementation for loader.
35706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35709         Remove wordcopy-power7 object.
35710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35711         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35712         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35713         (_wordcopy_fwd_dest_aligned): Likewise.
35714         (_wordcopy_bwd_aligned): Likewise.
35715         (_wordcopy_bwd_dest_aligned): Likewise.
35717         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35718         Rewrite to call __memmove_ppc instead of include default
35719         implementation.
35721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35722         Remove wide chars objects.
35723         [wcsmbs]: New rule for wide char objects.
35725 2015-02-09  Andreas Schwab  <schwab@suse.de>
35727         [BZ #17912]
35728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35729         in terms of __O_DIRECTORY.
35731 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35733         * time/getdate.c: Include <stdbool.h>.
35734         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35735         call PTR_MANGLE.
35736         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35737         PTR_DEMANGLE.
35739 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35741         Add ersatz _Static_assert on older C hosts
35742         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35743         pre-C11 C platform that is not known to support _Static_assert.
35745 2015-02-07  Richard Braun  <rbraun@sceen.net>
35747         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35748         sigstate.
35749         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35751 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35753         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35754         priority against unexistent AIO_PRIO_DELTA_MAX.
35755         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35756         instead of int.
35757         * misc/fchflags.c (fchflags): Likewise.
35758         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35759         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35760         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35761         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35762         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35763         Declare macros.
35764         [__USE_MISC] (chflags, fchflags): Declare functions.
35765         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35766         EINVAL when nfds is greater than FD_SETSIZE.
35767         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35768         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35769         45.
35770         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35771         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35772         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35773         MACH_RCV_TIMED_OUT.
35774         * hurd/hurd/signal.h (_hurd_self_sigstate,
35775         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35776         Explicit casts from void *.
35777         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35778         * abi-tags: Rename gnu-gnu os into gnu.
35780         [BZ #4719]
35781         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35782         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35783         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35784         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35785         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35786         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35788         [BZ #17944]
35789         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35790         duplicates ADDR->sun_path with sockaddr LEN limitation.
35791         * sysdeps/mach/hurd/connect.c: Include <string.h>
35792         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35793         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35794         * sysdeps/mach/hurd/sendto.c: Likewise.
35795         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35796         implementing it by hand.
35798 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35800         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35801         Use sfi_breg on ldr.
35802         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35803         Likewise.
35805         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35806         it's defined.
35807         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35808         Test SIGSETXID only if it's defined.
35810         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35812         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35813         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35815         * nptl/tst-align2.c: Moved ...
35816         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35817         * nptl/Makefile (tests): Remove tst-align2.
35818         * sysdeps/unix/sysv/linux/Makefile
35819         [$(subdir) = nptl] (tests): Add tst-align-clone.
35820         * nptl/tst-getpid1.c: Moved ...
35821         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35822         * nptl/tst-getpid2.c: Moved ...
35823         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35824         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35825         * sysdeps/unix/sysv/linux/Makefile
35826         [$(subdir) = nptl] (tests): ... here.
35827         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35828         * sysdeps/unix/sysv/linux/Makefile
35829         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35831         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35832         Drop trailing \n from perror argument.  Use return rather than exit.
35834         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35835         on [SA_SIGINFO].
35836         * nptl/tst-cancel21.c (do_test): Likewise.
35837         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35838         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35839         [!SA_SIGINFO]: Make it a stub test.
35841         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35842         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35844         * posix/tst-getlogin.c: Move to ...
35845         * login/tst-getlogin.c: ... here.
35846         * posix/Makefile (tests): Move tst-getlogin to ...
35847         * login/Makefile (tests): ... here.
35849         * libio/tst-atime.c (do_test): Move local variables SV and E
35850         inside [ST_NOATIME] conditional.
35852         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35854         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35856         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35857         (wait_code): New function replaces macro.
35858         Call nanosleep rather than syscall.
35860         * nptl/pt-system.c: Rewritten.  Put everything under
35861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35862         Use IFUNC to redirect when possible.
35864         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35865         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35866         Use IFUNC to redirect when possible.
35868         * nptl/pt-fork.c: Rewritten.  Put everything under
35869         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35870         Use IFUNC to redirect when possible.
35871         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35874         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35875         unconditionally nowadays.  This included the only reference to
35876         __vdso_clock_gettime that appears outside libc proper.
35877         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35878         Remove version set (containing only __vdso_clock_gettime).
35879         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35880         Add attribute_hidden.
35881         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35882         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35883         libc_hidden_data_def.
35884         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35885         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35887         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35888         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35889         setrpcent, and getrpcport to ...
35890         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35891         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35892         getrpcbynumber_r, and getrpcent_r to ...
35893         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35894         * inet/getrpcbyname.c: Moved ...
35895         * sunrpc/getrpcbyname.c: ... here.
35896         * inet/getrpcbyname_r.c: Moved ...
35897         * sunrpc/getrpcbyname_r.c: ... here.
35898         * inet/getrpcbynumber.c: Moved ...
35899         * sunrpc/getrpcbynumber.c: ... here.
35900         * inet/getrpcbynumber_r.c: Moved ...
35901         * sunrpc/getrpcbynumber_r.c: ... here.
35902         * inet/getrpcent.c: Moved ...
35903         * sunrpc/getrpcent.c: ... here.
35904         * inet/getrpcent_r.c: Moved ...
35905         * sunrpc/getrpcent_r.c: ... here.
35906         * inet/Makefile (routines): Move those to ...
35907         * sunrpc/Makefile (routines): ... here.
35908         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35909         the $(subdirs) list.
35910         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35911         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35912         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35913         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35915         * elf/Makefile (routines): Include $(all-dl-routines), not just
35916         $(dl-routines).
35917         (rtld-routines): Likewise.  Use = rather than :=.
35918         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35919         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35920         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35921         * sysdeps/arm/Makefile: Likewise.
35922         * sysdeps/i386/Makefile: Likewise.
35923         * sysdeps/x86_64/Makefile: Likewise.
35924         * sysdeps/hppa/Makefile [$(subdir) = elf]
35925         (sysdep_routines, sysdep-rtld-routines): Don't add
35926         $(sysdep-dl-routines) to these.
35927         * sysdeps/ia64/Makefile: Likewise.
35928         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35929         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35930         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35931         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35932         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35933         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35934         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35935         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35936         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35937         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35938         these; sysdep-dl-routines alone is enough.
35940 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35942         [BZ #17932]
35943         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35944         where multiplication results in zero and third argument is finite
35945         and nonzero.
35946         * math/auto-libm-test-in: Add more tests of fma.
35947         * math/auto-libm-test-out: Regenerated.
35949         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35950         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35951         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35952         (_FP_CMP_EQ): Likewise.
35953         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35955         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35956         extra argument CHECK_NAN.  Redefine as wrapper around
35957         _FP_EXTEND_CNAN.
35959 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35961         * version.h (RELEASE): Set to "stable".
35962         (VERSION): Set to "2.21"
35963         * include/features.h (__GLIBC_MINOR__): Set to 21.
35965         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35967 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35968             Paul Eggert  <eggert@cs.ucla.edu>
35970         [BZ #16618]
35971         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35972         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35973         size in bytes. Store needed elements in wpmax. Use needed size
35974         in bytes for extend_alloca.
35976 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35978         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35979         binutls 2.25, and texinfo 5.2.
35980         * INSTALL: Regenerate.
35981         * sysdeps/nios2/configure: Regenerate.
35982         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35983         * manual/contrib.texi: Update.
35984         * po/be.po: Update.
35985         * po/bg.po: Update.
35986         * po/ca.po: Update.
35987         * po/cs.po: Update.
35988         * po/da.po: Update.
35989         * po/de.po: Update.
35990         * po/el.po: Update.
35991         * po/eo.po: Update.
35992         * po/es.po: Update.
35993         * po/fi.po: Update.
35994         * po/fr.po: Update.
35995         * po/gl.po: Update.
35996         * po/hr.po: Update.
35997         * po/hu.po: Update.
35998         * po/ia.po: Update.
35999         * po/id.po: Update.
36000         * po/it.po: Update.
36001         * po/ja.po: Update.
36002         * po/ko.po: Update.
36003         * po/lt.po: Update.
36004         * po/nb.po: Update.
36005         * po/nl.po: Update.
36006         * po/pl.po: Update.
36007         * po/pt_BR.po: Update.
36008         * po/ru.po: Update.
36009         * po/rw.po: Update.
36010         * po/sk.po: Update.
36011         * po/sl.po: Update.
36012         * po/sv.po: Update.
36013         * po/tr.po: Update.
36014         * po/uk.po: Update.
36015         * po/vi.po: Update.
36016         * po/zh_CN.po: Update.
36017         * po/zh_TW.po: Update.
36019         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36020         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36021         * sysdeps/hppa/dl-irel.h: Remove #warning.
36022         * sysdeps/hppa/entry.h: Provide prototype for
36023         __canonicalize_funcptr_for_compare and cast argument.
36024         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36025         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36026         * sysdeps/hppa/sotruss-lib.c: New file.
36027         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36028         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36029         (atomic_compare_and_exchange_bool_acq): Likewise.
36030         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36031         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36033         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36034         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36035         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36037 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36039         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36040         called function in non-PIC case.
36042 2015-01-31  David S. Miller  <davem@davemloft.net>
36044         * sysdeps/sparc/sparc32/bits/atomic.h
36045         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36046         unlock not after it.
36047         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36048         volatile register usage warnings from the compiler.
36050         * sysdeps/sparc/nptl/sem_init.c: Delete.
36051         * sysdeps/sparc/nptl/sem_post.c: Delete.
36052         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36053         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36054         * sysdeps/sparc/sparc32/sem_init.c: New file.
36055         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36056         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36057         padding explicitly initialized.
36058         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36059         padding for in-semaphore spinlock.
36060         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36061         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36062         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36063         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36064         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36065         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36066         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36067         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36068         version.
36069         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36070         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36072 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36074         [BZ #17801]
36075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36076         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36077         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36078         New.
36079         (index_AVX_Fast_Unaligned_Load): Likewise.
36080         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36081         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36082         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36083         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36084         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36085         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36086         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36087         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36088         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36090 2015-01-29  Andreas Schwab  <schwab@suse.de>
36092         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36094 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36096         [BZ #17892]
36097         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36099 2015-01-28  Martin Sebor  <msebor@redhat.com>
36101         * math/README.libm-test: Clarify. Add "How to read the test output."
36103 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36105         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36106         Define to 0.
36108 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36110         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36111         (__HAVE_64B_ATOMICS): Define to 0.
36113 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36115         [BZ #17885]
36116         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36117         value to set as new flag.
36119         [BZ #16576]
36120         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36121         and use _ARCH_PPCSQ instead.
36122         (__ieee754_sqrt): Likewise.
36123         (__ieee754_sqrtf): Likewise.
36124         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36125         _ARCH_PPCSQ is defined.
36126         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36127         fsqrt instruction.
36128         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36129         _ARCH_PPCSQ is defined.
36130         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36131         fsqrts instruction.
36132         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36134 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36136         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36137         bug (GCC BZ #64739).
36139 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36141         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36142         Mark _retval as used.
36143         (lll_futex_wake_unlock): Likewise.
36144         (lll_futex_timed_wait_requeue_pi): Likewise.
36146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36147         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36148         register variables.
36150         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36151         libm_hidden_def.
36153         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36154         (__bswap_64): Mark as __always_inline.
36156 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36158         [BZ #15378]
36159         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36160         when none of the search directories exist.
36162 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36164         [BZ #17869]
36165         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36166         power8 in .machine directive.
36168         [BZ #17868]
36169         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36170         set dependency from opd value.
36172 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36175         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36176         architecture.
36178 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36180         [BZ #17870]
36181         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36182         with uint64_t.
36183         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36184         (uint64_t) 1.
36185         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36186         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36187         Replace 1UL with (uint64_t) 1.
36188         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36189         int with uint64_t.
36191 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36193         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36194         (if_freenameindex): Likewise.
36196         * resource/getrlimit64.c: Add missing libc_hidden_def.
36198 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36200         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36201         __label__.
36202         (_FP_FMA): Likewise.
36203         (_FP_TO_INT_ROUND): Likewise.
36204         (_FP_FROM_INT): Likewise.
36206 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36208         [BZ #16418]
36209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36210         Make code racy and cancel safe.
36212 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36214         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36215         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36216         attribution.
36218         * pwd/tst-getpw.c: Rewrite.
36220         [BZ #17702]
36221         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36222         (modules-names): Add moddummy1 and moddummy2.
36223         ($(objpfx)tst-rec-dlopen): Define.
36224         * dlfcn/moddummy1.c: New file.
36225         * dlfcn/moddummy2.c: New file.
36226         * dlfcn/tst-rec-dlopen.c: New file.
36227         * elf/dl-cache.c (_dl_load_cache_lookup):
36228         Return char*. Copy result with alloca/strcpy/strdup.
36229         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36230         returns char*. Free cached. If not saving realname
36231         free cached.
36232         * elf/dl-open.c (dl_open_worker): Do not assert that
36233         _r_debug->r_state is RT_CONSISTENT.
36234         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36235         returns char*.
36237 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36238             Carlos O'Donell  <carlos@redhat.com>
36240         [BZ #12674]
36241         * nptl/sem_waitcommon.c: New file.
36242         * nptl/sem_wait.c: Include sem_waitcommon.c.
36243         (__sem_wait_cleanup, do_futex_wait): Remove.
36244         (__new_sem_wait): Adapt.
36245         (__new_sem_trywait): New function.
36246         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36247         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36248         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36249         (sem_timedwait): Adapt.
36250         * nptl/sem_post.c (__new_sem_post): Adapt.
36251         (futex_wake): New function.
36252         (__old_sem_post): Add release MO fence.
36253         * nptl/sem_open.c (sem_open): Adapt.
36254         * nptl/sem_init.c (__new_sem_init): Adapt.
36255         (futex_private_if_supported): New function.
36256         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36257         (__old_sem_getvalue): Add using previous code.
36258         * sysdeps/nptl/internaltypes.h: Adapt.
36259         * nptl/tst-sem13.c (do_test): Adapt.
36260         * nptl/tst-sem11.c (main): Adapt.
36261         * nptl/sem_trywait.c: Remove.
36262         * nptl/DESIGN-sem.txt: Remove.
36263         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36264         (gen-as-const-headers): Remove structsem.sym.
36265         * nptl/structsem.sym: Remove.
36266         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36267         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36268         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36269         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36270         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36271         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36272         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36273         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36274         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36275         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36276         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36277         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36278         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36279         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36280         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36281         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36282         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36283         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36284         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36285         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36286         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36287         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36289 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36291         * INSTALL: Regenerated.
36293         * po/libc.pot: Regenerated.
36295 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36296             Sandra Loosemore  <sandra@codesourcery.com>
36297             Andrew Jenner  <andrew@codesourcery.com>
36298             Joseph Myers  <joseph@codesourcery.com>
36299             Nathan Sidwell  <nathan@codesourcery.com>
36301         * NEWS: Mention new Nios II port.
36302         * sysdeps/nios2/Implies: New file.
36303         * sysdeps/nios2/Makefile: New file.
36304         * sysdeps/nios2/Subdirs: New file.
36305         * sysdeps/nios2/Versions: New file.
36306         * sysdeps/nios2/__longjmp.S: New file.
36307         * sysdeps/nios2/abort-instr.h: New file.
36308         * sysdeps/nios2/backtrace.c: New file.
36309         * sysdeps/nios2/bits/endian.h: New file.
36310         * sysdeps/nios2/bits/fenv.h: New file.
36311         * sysdeps/nios2/bits/link.h: New file.
36312         * sysdeps/nios2/bits/setjmp.h: New file.
36313         * sysdeps/nios2/bsd-_setjmp.S: New file.
36314         * sysdeps/nios2/bsd-setjmp.S: New file.
36315         * sysdeps/nios2/configure: New generated file.
36316         * sysdeps/nios2/configure.ac: New file.
36317         * sysdeps/nios2/crti.S: New file.
36318         * sysdeps/nios2/crtn.S: New file.
36319         * sysdeps/nios2/dl-init.c: New file.
36320         * sysdeps/nios2/dl-machine.h: New file.
36321         * sysdeps/nios2/dl-sysdep.h: New file.
36322         * sysdeps/nios2/dl-tls.h: New file.
36323         * sysdeps/nios2/dl-trampoline.S: New file.
36324         * sysdeps/nios2/gccframe.h: New file.
36325         * sysdeps/nios2/gmp-mparam.h: New file.
36326         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36327         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36328         * sysdeps/nios2/ldsodefs.h: New file.
36329         * sysdeps/nios2/libc-tls.c: New file.
36330         * sysdeps/nios2/libm-test-ulps: New file.
36331         * sysdeps/nios2/machine-gmon.h: New file.
36332         * sysdeps/nios2/math-tests.h: New file.
36333         * sysdeps/nios2/math_private.h: New file.
36334         * sysdeps/nios2/memusage.h: New file.
36335         * sysdeps/nios2/nptl/Makefile: New file.
36336         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36337         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36338         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36339         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36340         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36341         * sysdeps/nios2/nptl/tls.h: New file.
36342         * sysdeps/nios2/preconfigure: New file.
36343         * sysdeps/nios2/s_fma.c: New file.
36344         * sysdeps/nios2/s_fmaf.c: New file.
36345         * sysdeps/nios2/setjmp.S: New file.
36346         * sysdeps/nios2/sfp-machine.h: New file.
36347         * sysdeps/nios2/sotruss-lib.c: New file.
36348         * sysdeps/nios2/stackguard-macros.h: New file.
36349         * sysdeps/nios2/stackinfo.h: New file.
36350         * sysdeps/nios2/start.S: New file.
36351         * sysdeps/nios2/sysdep.h: New file.
36352         * sysdeps/nios2/tls-macros.h: New file.
36353         * sysdeps/nios2/tst-audit.h: New file.
36354         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36355         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36356         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36357         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36358         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36359         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36360         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36361         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36362         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36363         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36364         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36365         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36366         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36367         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36368         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36369         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36370         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36371         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36372         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36373         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36374         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36375         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36376         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36377         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36378         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36379         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36380         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36381         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36382         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36383         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36384         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36385         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36386         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36387         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36388         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36389         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36390         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36391         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36392         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36393         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36394         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36395         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36396         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36397         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36399 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36401         [BZ #17844]
36402         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36403         (getutent): Use weak_alias in non SHARED case
36404         and default_symbol_version in SHARED case.
36405         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36406         (getutent_r, pututline): Likewise.
36407         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36408         (getutid): Likewise.
36409         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36410         (getutid_r): Likewise.
36411         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36412         (getutline): Likewise.
36413         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36414         (getutline_r): Likewise.
36415         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36416         (updwtmp): Likewise.
36418 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36420         [BZ #17848]
36421         * sysdeps/s390/s390-32/memcmp.S
36422         (memcmp_g5): Rename to __memcmp_g5.
36423         * sysdeps/s390/s390-32/memcpy.S
36424         (memcpy_g5): Rename to __memcpy_g5.
36425         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36426         (memcpy_mvcle) Rename to __memcpy_mvcle.
36427         * sysdeps/s390/s390-32/memset.S
36428         (memset_g5): Rename to __memset_g5.
36429         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36430         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36431         and use prefixed functions.
36432         * sysdeps/s390/s390-32/multiarch/memcmp.S
36433         (memcmp_z196): Rename to __memcmp_z196.
36434         (memcmp_z10): Rename to __memcmp_z10.
36435         (memcmp): Set alias to __memcmp_g5.
36436         (bcmp): Set alias to __memcmp_g5.
36437         * sysdeps/s390/s390-32/multiarch/memcpy.S
36438         (memcpy_z196): Rename to __memcpy_z196.
36439         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36440         (memcpy_z10): Rename to __memcpy_z10.
36441         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36442         (memcpy): Set alias to __memcpy_g5.
36443         * sysdeps/s390/s390-32/multiarch/memset.S
36444         (memset_z196): Rename to __memset_z196.
36445         Jump to __memset_mvcle instead of memset_mvcle.
36446         (memset_z10): Rename to __memset_z10.
36447         Jump to __memset_mvcle instead of memset_mvcle.
36448         (memset_mvcle) Rename to __memset_mvcle.
36449         (memset): Set alias to __memset_g5.
36450         * sysdeps/s390/s390-64/memcmp.S
36451         (memcmp_z900): Rename to __memcmp_z900.
36452         * sysdeps/s390/s390-64/memcpy.S
36453         (memcpy_z900): Rename to __memcpy_z900.
36454         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36455         (memcpy_mvcle) Rename to __memcpy_mvcle.
36456         * sysdeps/s390/s390-64/memset.S
36457         (memset_z900): Rename to __memset_z900.
36458         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36459         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36460         and use prefixed functions.
36461         * sysdeps/s390/s390-64/multiarch/memcmp.S
36462         (memcmp_z196): Rename to __memcmp_z196.
36463         (memcmp_z10): Rename to __memcmp_z10.
36464         (memcmp): Set alias to __memcmp_z900.
36465         (bcmp): Set alias to __memcmp_z900.
36466         * sysdeps/s390/s390-64/multiarch/memcpy.S
36467         (memcpy_z196): Rename to __memcpy_z196.
36468         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36469         (memcpy_z10): Rename to __memcpy_z10.
36470         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36471         (memcpy): Set alias to __memcpy_z900.
36472         * sysdeps/s390/s390-64/multiarch/memset.S
36473         (memset_z196): Rename to __memset_z196.
36474         Jump to __memset_mvcle instead of memset_mvcle.
36475         (memset_z10): Rename to __memset_z10.
36476         Jump to __memset_mvcle instead of memset_mvcle.
36477         (memset_mvcle) Rename to __memset_mvcle.
36478         (memset): Set alias to __memset_z900.
36480 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
36482         [BZ #17748]
36483         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36484         __fesetenv instead of fesetenv.
36486 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36488         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36489         macro.
36491 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36493         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36494         regression on LE.
36496         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36497         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36499         strncmp-power8 object.
36500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36501         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36502         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36503         * NEWS: Update.
36505 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36506             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36508         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36509         trailing byte check.
36511 2015-01-13  David S. Miller  <davem@davemloft.net>
36513         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36515 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36517         * login/logout.c (logout): Use memset rather than bzero.
36518         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36519         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36520         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36521         (_gethtbyaddr): Likewise.
36522         * locale/programs/simple-hash.c (bcopy): Macro removed.
36524 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36527         Add strcmp-power8 object.
36528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36529         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36530         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36531         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36532         __strcmp_power8 implementation.
36533         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36534         * NEWS: Update.
36536         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36537         Add strncpy-power8 and stpncpy-power8 objects.
36538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36539         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36540         implementations.
36541         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36542         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36543         __stpncpy_power8 implementation.
36544         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36545         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36546         __strncpy_power8 implementation.
36547         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36548         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36549         * NEWS: Update.
36551         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36552         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36553         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36555         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36556         strncat-power8 object.
36557         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36558         __strcat_power8 implementation.
36559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36560         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36561         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36562         optimized strcat for power8.
36564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36565         strcpy-power8 and stpcpy-power8 objects.
36566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36567         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36568         implementations.
36569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36570         multiarch stpcpy implementation for POWER8.
36571         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36572         multiarch strcpy implementation for POWER8.
36573         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36574         __strcpy_power8 function.
36575         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36576         stpcpy for POWER8.
36577         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36578         strcpy for POWER8.
36579         * NEWS: Update.
36581 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36583         [BZ #16009]
36584         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36585         weights and rules. Use do_xfrm_cached if data fits in cache,
36586         do_xfrm otherwise.  Moved former main loop to...
36587         * (do_xfrm_cached): New function.
36588         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36589         find_idx, find_position and stack_push.
36590         * (find_idx): New function.
36591         * (find_position): Likewise.
36592         * localedata/sort-test.sh: Added test run for do_xfrm.
36593         * localedata/xfrm-test.c (main): Added command line option
36594         -nocache to run the test with strings that are too large for
36595         the STRXFRM cache.
36597 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36599         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36600         variable to lll_futex_wake call, not the value itself.
36602 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36604         [BZ #17803]
36605         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36606         twom64.  Adjust value to 0x1p-64L.
36607         (__scalblnl): Only return standard underflowing result for K <=
36608         -64 not K <= -63; adjust exponent for underflowing result by 64
36609         not 63.
36610         * math/libm-test.inc (scalbn_test_data): Add more tests.
36611         (scalbln_test_data): Likewise.
36613         [BZ #17834]
36614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36615         0x1p63L.
36616         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36617         not HX.
36618         * math/libm-test.inc (scalbn_test_data): Add more tests.
36619         (scalbln_test_data): Likewise.
36621 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36622             Stefani Seibold  <stefani@seibold.net>
36624         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36625         (sysdep_routines): Add dl-vdso here, ...
36626         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36627         (sysdep_routines): ... not here.
36628         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36629         fallback when vDSO is not presented.
36630         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36631         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36632         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36633         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36634         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36635         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36636         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36637         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36638         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36640         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36641         fallback configurable symbol when vDSO is not available.
36642         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36643         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36644         be able to redefine fallback symbol when vDSO is not available.
36645         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36646         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36648 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36650         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36651         (TLS_INIT_TP): Add tm_capable initialization.
36652         (TLS_DEFINE_INIT_TP): Likewise.
36653         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36654         TCB.
36655         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36656         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36657         calculation.
36658         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36659         transactoion is lock elision is built and TCB tm_capable is set.
36660         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36662         (INTERNAL_SYSCALL_NCS): Likewise.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36664         (INTERNAL_SYSCALL_NCS): Likewise.
36665         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36667         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36668         for powerpc.
36669         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36670         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36671         and remove it for 32 bits case.
36672         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36674         initialization.
36675         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36676         Disable lock elision with rdlocks if elision is not available.
36678         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36679         (sysdep_routines): Add lock elision objects.
36680         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36681         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36682         [pthread_mutex_t] (__elision): Add field.
36683         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36684         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36685         elision definitions for powerpc.
36686         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36687         implementation of lock elision for powerpc.
36688         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36689         implementation of timed lock elision for powerpc.
36690         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36691         implementation of trylock with lock elision for powerpc.
36692         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36693         implementaion of unlock for lock elision for powerpc.
36694         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36695         automatic enable lock elision for mutexes.
36696         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36697         transaction execution definitions for powerpc.
36698         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36699         definitions.
36700         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36701         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36702         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36703         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36704         * NEWS: Update.
36706 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36708         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36709         for #include of <shm-directory.h>.
36711 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36713         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36714         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36716 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36718         [BZ #17791]
36719         * NEWS: Mention bug fix.
36720         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36721         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36722         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36724 2015-01-09  Torvald Riegel <triegel@redhat.com>
36726         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36728 2015-01-09  Torvald Riegel <triegel@redhat.com>
36730         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36732 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36734         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36735         pointer and cast to uintptr_t.
36737 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36739         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36740         removed.
36741         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36743 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36745         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36746         of 0.
36748 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36750         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36751         <nptl/pthreadP.h> instead.
36752         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36754         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36755         already defined.
36756         [__SIGRTMIN] (init): Function removed.
36757         [__SIGRTMIN] (initialized): Variable removed.
36758         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36759         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36760         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36761         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36762         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36763         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36764         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36765         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36766         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36767         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36768         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36769         * sysdeps/nptl/allocrtsig.c: New file.
36770         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36771         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36772         * sysdeps/generic/testrtsig.h: File removed.
36774         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36775         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36777         * nptl/nptl-init.c (pthread_functions): Conditionalize
36778         .ptr__nptl_setxid initialization on [SIGSETXID].
36780         * sysdeps/nptl/sys/procfs.h: New file.
36781         * nptl_db/Makefile (headers): Add it.
36782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36784         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36785         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36786         * nptl/pthread_attr_setaffinity.c: Include it.
36787         * nptl/pthread_setattr_default_np.c: Likewise.
36788         * nptl/check-cpuset.h: New file.
36790 2015-01-08  Richard Henderson  <rth@redhat.com>
36792         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36793         (CFLAGS-tst-execstack-prog.c): Likewise.
36794         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36796 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36797             Sandra Loosemore  <sandra@codesourcery.com>
36798             Andrew Jenner  <andrew@codesourcery.com>
36799             Joseph Myers  <joseph@codesourcery.com>
36800             Nathan Sidwell  <nathan@codesourcery.com>
36802         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36803         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36804         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36805         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36806         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36807         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36808         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36809         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36810         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36811         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36812         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36813         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36814         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36815         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36816         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36817         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36818         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36820 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36822         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36823         timespec struct member in syscall macro.
36824         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36825         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36826         first timeval struct member in syscall macro.
36827         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36829 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36831         [BZ #17748]
36832         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36833         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36834         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36835         __feupdateenv and define as weak alias of __feupdateenv.  Use
36836         libm_hidden_weak.
36837         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36838         libm_hidden_def.
36839         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36840         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36841         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36842         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36843         libm_hidden_def.
36844         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36845         __feupdateenv and define as weak alias of __feupdateenv.  Use
36846         libm_hidden_weak.
36847         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36848         libm_hidden_def.
36849         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36850         __feupdateenv and define as weak alias of __feupdateenv.  Use
36851         libm_hidden_weak.
36852         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36853         libm_hidden_def.
36854         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36855         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36856         (__feupdateenv): Likewise.
36857         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36858         __feupdateenv and define as weak alias of __feupdateenv.  Use
36859         libm_hidden_weak.
36860         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36861         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36862         libm_hidden_def.
36863         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36864         function.
36865         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36866         libm_hidden_def.
36867         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36868         __feupdateenv instead of feupdateenv.
36869         (default_libc_feupdateenv_test): Likewise.
36870         (libc_feresetround_ctx): Likewise.
36872 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36874         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36875         prototype.
36877 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36879         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36880         COLL_SYM in a couple of places to avoid uninitialized variable
36881         wanings on tilegx gcc 4.8.2.
36883 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36885         * sysdeps/aarch64/strcpy.S: New file.
36886         * sysdeps/aarch64/stpcpy.S: New file.
36887         * NEWS: Updated.
36889 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36891         * sysdeps/aarch64/strrchr.S: New file.
36892         * NEWS: Updated.
36894 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36896         [BZ #17658]
36897         * stdlib/setenv.c: Fix memory leak when setting large,
36898         duplicate string.
36900 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36902         [BZ #17273]
36903         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36904         and tabs from buffer before parsing fstab entry.
36905         * misc/tst-mntent.c (main): Add test for mount entry with
36906         trailing spaces and tabs.
36908 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36910         [BZ #17748]
36911         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36912         * math/fesetround.c (fesetround): Rename to __fesetround and
36913         define as weak alias of __fesetround.  Use libm_hidden_weak.
36914         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36915         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36916         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36917         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36918         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36919         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36920         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36921         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36922         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36923         __fesetround_inline.
36924         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36925         __fesetround_inline instead of __fesetround.
36926         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36927         __fesetround and define as weak alias of __fesetround.  Use
36928         libm_hidden_weak.  Call __fesetround_inline instead of
36929         __fesetround.
36930         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36931         __fesetround and define as weak alias of __fesetround.  Use
36932         libm_hidden_weak.
36933         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36934         Likewise.
36935         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36936         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36937         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36938         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36939         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36940         __fesetround and define as weak alias of __fesetround.  Use
36941         libm_hidden_weak.
36942         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36943         __fesetround instead of fesetround.
36944         (default_libc_feholdexcept_setround): Likewise.
36945         (libc_feholdsetround_ctx): Likewise.
36946         (libc_feholdsetround_noex_ctx): Likewise.
36948         [BZ #17748]
36949         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36950         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36952         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36953         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36954         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36955         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36956         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36957         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36958         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36959         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36960         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36961         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36962         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36963         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36964         libm_hidden_def.
36965         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36966         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36967         Likewise.
36968         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36969         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36970         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36971         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36972         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36973         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36974         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36975         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36976         __fesetenv instead of fesetenv.
36977         (libc_feresetround_noex_ctx): Likewise.
36978         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36979         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36980         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36981         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36982         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36983         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36984         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36985         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36986         (__feupdateenv): Likewise.
36987         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36988         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36989         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36990         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36992 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36994         [BZ #17806]
36995         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36996         addresses have been freed.
36998 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37000         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37001         and nservall.
37003 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37005         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37006         Clean up check_pf allocation pattern. addresses
37008 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37010         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37011         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37012         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37013         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37014         * nptl/pthread_join.c (pthread_join): Likewise.
37015         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37016         * sysdeps/posix/waitid.c (__waitid): Likewise.
37017         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37018         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37019         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37020         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37022         Likewise.
37023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37024         (__libc_pread64): Likewise.
37025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37026         (__libc_pwrite): Likewise.
37027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37028         (__libc_pwrite64): Likewsie.
37029         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37030         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37031         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37032         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37033         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37034         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37035         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37037         Likewise.
37038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37039         (__libc_pread64): Likewise.
37040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37041         Likewise.
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37043         (__libc_pwrite64): Likewise.
37044         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37045         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37046         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37047         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37048         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37049         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37050         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37051         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37052         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37053         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37054         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37055         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37056         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37057         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37058         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37059         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37060         Likewise.
37062 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37064         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37065         (CFLAGS-test-double.c): Likewise.
37066         (CFLAGS-test-ldouble.c): Likewise.
37067         (CPPFLAGS-test-ifloat.c): Likewise.
37068         (CPPFLAGS-test-idouble.c): Likewise.
37069         (CPPFLAGS-test-ildoubl.c): Likewise.
37070         (CFLAGS-test-test-fenv.c): Remove variable.
37071         (CFLAGS-test-misc.c): Likewise.
37073 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37075         [BZ #17797]
37076         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37077         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37078         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37079         CLOCKS_PER_SEC == 1000000.
37080         * time/clocktest.c (main): Replace %ld with %jd and cast to
37081         intmax_t.
37083 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37085         * sysdeps/generic/unwind-resume.h: New file.
37086         * sysdeps/gnu/unwind-resume.c: Include it.
37087         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37088         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37089         argument list.
37090         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37091         global rather than static.
37092         (_Unwind_Resume): Update user.
37093         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37094         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37095         rather than static.  Add __attribute__ ((cold)).
37096         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37097         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37098         * sysdeps/arm/arm-unwind-resume.S: New file.
37099         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37100         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37101         * sysdeps/arm/Makefile [$(subdir) = csu]
37102         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37103         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37104         Add rt-arm-unwind-resume.
37105         [$(subdir) = nptl]
37106         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37107         Add pt-arm-unwind-resume.
37108         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37109         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37111 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37113         [BZ #17748]
37114         * include/fenv.h (__feholdexcept): Declare.  Use
37115         libm_hidden_proto.
37116         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37117         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37118         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37119         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37120         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37121         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37122         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37123         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37124         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37125         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37126         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37127         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37128         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37129         (feholdexcept): Likewise.
37130         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37131         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37132         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37133         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37134         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37135         __feholdexcept instead of feholdexcept.
37136         (default_libc_feholdexcept_setround): Likewise.
37138 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37140         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37141         to avoid using stl/str to align destination.
37143 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37145         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37147 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37149         [BZ #17796]
37150         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37151         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37152         Define as weak alias not strong alias.
37154 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37156         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37157         bltzal with addiupc.
37158         (RTLD_START): Ditto.
37160 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37162         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37163         for __vdso_* functions in declarations.
37164         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37165         definitions.
37166         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37167         INTERNAL_VSYSCALL): Use struct return types to check for error.
37169         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37170         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37171         function with cast from llround().
37172         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37173         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37174         Define.
37176 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37178         [BZ #17793]
37179         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37180         Define as weak alias not strong alias.
37182         [BZ #17635]
37183         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37184         ...
37185         * ctype/ctype-extn.c: ... here.
37186         (__isblank_l): Move to ...
37187         * ctype/ctype-c99_l.c: ... here.  New file.
37188         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37189         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37190         Remove variable.
37191         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37192         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37193         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37194         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37195         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37197         [BZ #17777]
37198         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37199         (posix_fadvise64): Define as weak alias not strong alias.
37200         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37201         (posix_fallocate64): Likewise.
37202         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37203         Remove variable.
37204         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37205         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37206         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37207         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37208         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37210 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37212         [BZ #16191]
37213         * NEWS: Mention bug fix.
37214         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37215         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37216         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37217         (HOST_STACK_END_ADDR): Likewise.
37219 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37221         [BZ #17748]
37222         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37223         * math/fegetround.c (fegetround): Rename to __fegetround and
37224         define as weak alias of __fegetround.  Use libm_hidden_weak.
37225         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37226         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37227         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37228         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37229         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37230         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37231         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37232         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37233         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37234         Undefine after rather than before function definition; use
37235         parentheses around function name in definition.
37236         (__fegetround): Also undefine macro after function definition.
37237         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37238         __fegetround and define as weak alias of __fegetround.  Use
37239         libm_hidden_weak.  Do not undefine as macro.
37240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37241         Likewise.
37242         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37243         __fegetround and define as weak alias of __fegetround.  Use
37244         libm_hidden_weak.
37245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37246         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37247         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37248         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37249         __fegetround and define as weak alias of __fegetround.  Use
37250         libm_hidden_weak.
37251         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37252         __fegetround instead of fegetround.
37254         [BZ #17782]
37255         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37256         Condition macro definition on [__USE_MISC].
37258         [BZ #17781]
37259         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37260         (struct sigaction): Change type of sa_flags field to int.
37262         [BZ #17780]
37263         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37264         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37265         __glibc_reserved0.
37267         * nptl/version.c (banner): Use single year in copyright notice.
37269         * NEWS: Update copyright dates.
37270         * catgets/gencat.c (print_version): Likewise.
37271         * csu/version.c (banner): Likewise.
37272         * debug/catchsegv.sh: Likewise.
37273         * debug/pcprofiledump.c (print_version): Likewise.
37274         * debug/xtrace.sh (do_version): Likewise.
37275         * elf/ldconfig.c (print_version): Likewise.
37276         * elf/ldd.bash.in: Likewise.
37277         * elf/pldd.c (print_version): Likewise.
37278         * elf/sotruss.sh: Likewise.
37279         * elf/sprof.c (print_version): Likewise.
37280         * iconv/iconv_prog.c (print_version): Likewise.
37281         * iconv/iconvconfig.c (print_version): Likewise.
37282         * locale/programs/locale.c (print_version): Likewise.
37283         * locale/programs/localedef.c (print_version): Likewise.
37284         * login/programs/pt_chown.c (print_version): Likewise.
37285         * malloc/memusage.sh (do_version): Likewise.
37286         * malloc/memusagestat.c (print_version): Likewise.
37287         * malloc/mtrace.pl: Likewise.
37288         * manual/libc.texinfo: Likewise.
37289         * nptl/version.c (banner): Likewise.
37290         * nscd/nscd.c (print_version): Likewise.
37291         * nss/getent.c (print_version): Likewise.
37292         * nss/makedb.c (print_version): Likewise.
37293         * posix/getconf.c (main): Likewise.
37294         * scripts/test-installation.pl: Likewise.
37295         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37297 2015-01-02  Will Newton  <will.newton@linaro.org>
37299         * sysdeps/arm/armv7/configure: Removed.
37300         * sysdeps/arm/armv7/configure.ac: Likewise.
37302 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37304         * All files with FSF copyright notices: Update copyright dates
37305         using scripts/update-copyrights.
37306         * intl/plural.c: Regenerated.
37307         * locale/programs/charmap-kw.h: Likewise.
37308         * locale/programs/locfile-kw.h: Likewise.
37310 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37312         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37314 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37316         [BZ #17748]
37317         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37318         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37319         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37320         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37321         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37322         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37323         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37324         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37325         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37326         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37327         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37328         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37329         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37330         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37331         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37332         libm_hidden_def.
37333         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37335         Likewise.
37336         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37337         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37339         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37340         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37341         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37342         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37343         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37344         __fegetenv instead of fegetenv.
37345         (libc_feholdsetround_noex_ctx): Likewise.
37347 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37349         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37350         (Elf_MIPS_ABIFlags_v0): New structure.
37351         (EF_MIPS_FP64): Define.
37352         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37353         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37354         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37355         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37356         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37357         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37358         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37359         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37360         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37361         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37362         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37363         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37364         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37365         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37366         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37367         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37368         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37369         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37370         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37371         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37372         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37373         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37374         field.
37375         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37376         EF_MIPS_FP64.
37377         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37378         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37379         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37380         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37381         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37382         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37383         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37384         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37385         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37386         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37387         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37388         record the current FP ABI extension.
37389         (mips-mode-switch): Define to show if kernel headers support mode
37390         switching.
37391         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37392         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37393         supported SYSV ABI version to 3.
37394         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37395         feature.
37397 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37398             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37400         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37401         path.
37402         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37404 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37406         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37407         __fegetround and redefine to call __fegetround.  Remove condition
37408         on [!__NO_MATH_INLINES].
37409         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37410         function.
37411         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37413         Remove macro.
37414         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37415         instead of <fenv_libc.h>.
37416         (__llrintl): Call fegetround instead of __fegetround.
37417         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37418         instead of <fenv_libc.h>.
37419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37420         (__lrintl): Call fegetround instead of __fegetround.
37421         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37422         instead of <fenv_libc.h>.
37423         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37424         (__rintl): Call fegetround instead of __fegetround.
37426 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37428         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37429         arrays.
37431 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37433         [BZ #17775]
37434         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37435         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37436         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37438 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37440         * sysdeps/i386/tls-macros.h: Include <features.h>.
37441         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37442         (TLS_IE): Likewise.
37443         (TLS_LD): Likewise.
37444         (TLS_GD): Likewise.
37445         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37446         define for GCC >= 5.0.
37448 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37450         * math/test-fenv.c (test_single_exception, set_single_exc,
37451         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37452         feexcp_mask_test, feenable_test, fe_single_test): Add
37453         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37454         case where they are not used.
37455         * math/libm-test.inc: Likewise.
37456         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37457         unused in the absence of FP rounding/exception support.
37458         * stdio-common/tst-printf-round.c: Likewise.
37459         * stdlib/tst-strtod-round.c: Likewise.
37460         * stdlib/tst-strtod-underflow.c: Likewise.
37462 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37464         [BZ #17723]
37465         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37466         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37467         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37468         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37469         libm_hidden_weak.
37470         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37471         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37472         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37473         libm_hidden_def.
37474         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37475         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37476         libm_hidden_weak.
37477         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37478         Likewise.
37479         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37480         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37482         libm_hidden_weak.
37483         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37484         libm_hidden_def.
37485         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37486         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37487         (__feraiseexcept): Likewise.
37488         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37489         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37490         libm_hidden_weak.
37491         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37492         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37493         libm_hidden_def.
37494         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37495         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37496         Use libm_hidden_def.
37497         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37498         libm_hidden_def.
37499         (feraiseexcept): Define as weak not strong alias.  Use
37500         libm_hidden_weak.
37501         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37502         New inline function.  Factored out of ...
37503         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
37504         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37505         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37506         feraiseexcept.
37507         * math/w_acos.c (__acos): Likewise.
37508         * math/w_asin.c (__asin): Likewise.
37509         * math/w_ilogb.c (__ilogb): Likewise.
37510         * math/w_j0.c (y0): Likewise.
37511         * math/w_j1.c (y1): Likewise.
37512         * math/w_jn.c (yn): Likewise.
37513         * math/w_log.c (__log): Likewise.
37514         * math/w_log10.c (__log10): Likewise.
37515         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37516         * sysdeps/aarch64/fpu/math_private.h
37517         (libc_feupdateenv_test_aarch64): Likewise.
37518         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37519         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37520         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37521         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37522         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37523         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37524         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37525         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37526         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37527         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37529 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37531         [BZ #17732]
37532         * io/test-utime.c (main): Replace %ld with %jd and cast to
37533         intmax_t.
37534         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37535         * nptl/tst-mutex5.c: Include <stdint.h>.
37536         (do_test): Replace %ld with %jd and cast to intmax_t.
37537         * posix/tst-regex.c (run_test): Likewise.
37538         (run_test_backwards): Likewise.
37539         * rt/tst-clock.c: Include <stdint.h>.
37540         (clock_test): Replace %ld with %jd and cast to intmax_t.
37541         * rt/tst-cpuclock1.c: Include <stdint.h>.
37542         (do_test): Replace %lu with %ju and cast to uintmax_t.
37543         * rt/tst-cpuclock2.c: Include <stdint.h>.
37544         (do_test): Replace %lu with %ju and cast to uintmax_t.
37545         * rt/tst-mqueue1.c: Include <stdint.h>.
37546         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37547         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37548         intmax_t.
37549         * rt/tst-mqueue4.c (do_test): Likewise.
37550         * rt/tst-timer4.c: Include <stdint.h>.
37551         (check_ts): Replace %ld with %jd and cast to intmax_t.
37552         (do_test): Likewise.
37553         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37554         and cast to intmax_t.
37555         * sysdeps/pthread/tst-timer.c (main): Likewise.
37556         * time/clocktest.c (main): Likewise.
37557         * time/tst-posixtz.c (do_test): Likewise.
37558         * timezone/tst-timezone.c (main): Likewise.
37560 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37561             H.J. Lu  <hongjiu.lu@intel.com>
37563         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37564         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37565         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37566         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37567         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37568         version if bit_Fast_Unaligned_Load is set.
37569         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37570         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37571         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37572         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37573         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37574         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37576         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37577         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37578         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37579         to 4.
37580         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37581         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37582         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37583         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37585 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37587         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37588         instead of #if to avoid a Wundef warning.
37589         * stdlib/tst-limits.c (do_test): Likewise.
37591         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37592         parallel other exception macros.
37593         (fegetenv): Convert from macro to extern inline so that it applies
37594         retroactively to inline functions already seen by the compiler.
37595         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37597         * posix/Makefile (before-compile): Use $(objpfx) for
37598         posix-conf-vars-def.h.
37600 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37602         * posix/getconf.c (main): Use size_t for type of I.
37603         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37604         NSPEC.
37606         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37607         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37608         * posix/posix-envs.def: Likewise.
37609         * sysdeps/posix/sysconf.c: Likewise.
37610         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37611         (specs): Remove array.
37612         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37613         array.
37615         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37616         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37617         (__sysconf): Use CONF_IS_* macros.
37619         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37620         ($(objpfx)posix-conf-vars-def.h): New target.
37621         * posix/posix-conf-vars.list: New file.
37622         * posix/posix-conf-vars.h: New file.
37623         * posix/confstr.c: Include posix-conf-vars.h.
37624         (confstr): Use CONF_IS_* macros.
37625         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37626         CONF_IS_* macros.
37627         * scripts/gen-posix-conf-vars.awk: New file.
37629 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37631         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37632         fegetround): Add no-op macros to avoid linknamespace issues.
37634         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37635         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37637         * sysdeps/unix/sysv/linux/tile/sysdep.h
37638         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37639         assembly-specific section to avoid a redefinition warning.
37641         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37642         long before casting to pointer to avoid a cast warning.
37644 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37646         * sysdeps/tile/tilegx/Implies: New file.
37648 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37650         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37652 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37654         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37656 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37659         not define.
37660         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37661         <kernel-features.h>.
37662         (__utimes) [__NR_utimes]: Make code unconditional.
37663         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37664         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37665         (__ASSUME_UTIMES): Do not undefine.
37666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37667         (__ASSUME_UTIMES): Likewise.
37668         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37669         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37670         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37671         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37673 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37675         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37677 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37679         [BZ #17747]
37680         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37681         alias to weak alias for j0l, y0l.
37682         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37683         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37685         [BZ #17746]
37686         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37687         conversion.
37689 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37691         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37692         to zero if not already defined.
37694 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37696         [BZ #17724]
37697         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37698         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37699         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37700         (char *) casts added.
37701         * sysdeps/ieee754/k_standardf.c: New file.
37702         * sysdeps/ieee754/k_standardl.c: Likewise.
37703         * math/Makefile (libm-support): Remove k_standard.
37704         (libm-calls): Add k_standard.
37706 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37708         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37709         Optimize to avoid an unnecessary FPCR read.
37711 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37713         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37714         Optimize to reduce FPCR/FPSR accesses.
37716 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37718         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37719         Call libc_fetestexcept_aarch64.
37721 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37723         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37724         Call libc_fesetround_aarch64.
37726 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37728         [BZ #17733]
37729         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37730         (__bind): Do not define as weak alias.
37731         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37732         define.
37733         (__getsockname): Do not define as weak alias.
37735 2014-12-22  Will Newton  <will.newton@linaro.org>
37737         * manual/install.texi: Document that we require bison 2.7
37738         or above.
37739         * INSTALL: Regenerate.
37740         * configure.ac: Use AC_CHECK_PROG_VER instead of
37741         AC_PATH_PROG when checking for bison and check for
37742         version 2.7 or above.
37743         * configure: Regenerate.
37745 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37747         [BZ #17745]
37748         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37749         * sysdeps/tile/ffsll.c (ffsll): To here.
37751         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37753 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37755         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37756         if not defined.
37757         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37758         definition.
37759         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37760         hidden ___tls_get_addr.
37761         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37762         hidden __tls_get_addr.
37763         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37764         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37765         Likewise.
37767 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37769         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37770         _dl_init call.
37772 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37774         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37775         from "call _dl_init@PLT".
37776         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37778 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37780         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37781         guarantees.
37783 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37785         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37787 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37789         [BZ #17744]
37790         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37791         strnlen.
37793 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37795         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37796         of multu on MIPSr6.
37797         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37798         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37799         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37800         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37801         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37803 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37805         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37806         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37807         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37808         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37809         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37810         mips32r6/mips64r6.
37811         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37813 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37815         * string/strncat.c (STRNCAT): Simplify implementation.
37817 2014-12-19  David S. Miller  <davem@davemloft.net>
37819         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37820         access the quad as both a long double and as a series of 4 words.
37822         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37823         link_map->l_info array access.
37825 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37827         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37829         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37830         * math/atest-exp2.c (TIMEOUT): Likewise.
37831         * math/atest-sincos.c (TIMEOUT): Likewise.
37833 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37835         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37836         -Wno-error with -fno-builtin-lround.
37838 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37840         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37841         Contains futex constants and functions moved over from ...
37842         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37843         <lowlevellock-futex.h>.
37844         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37845         (lll_timedwait_tid): Add comments and parentheses around macro
37846         arguments.
37848 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37850         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37851         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37852         (__lll_private_flag): Remove.
37853         (lll_futex_wait): Likewise.
37854         (lll_futex_timed_wait): Likewise.
37855         (lll_futex_wake): Likewise.
37856         (lll_futex_requeue): Likewise.
37857         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37858         (__lll_timedwait_tid): Spell out argument names.
37859         (lll_timedwait_tid): Add comments and parentheses around macro
37860         arguments.
37861         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37862         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37864 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37866         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37867         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37868         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37869         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37870         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37871         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37872         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37873         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37874         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37876         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37878         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37880         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37881         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37882         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37883         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37884         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37886 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37888         * sysdeps/x86_64/x32/Makefile: New file.
37890 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37892         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37893         1L with (mp_limb_t) 1.
37895 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37897         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37898         * nptl/libc_pthread_init.c: ... here.
37899         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37900         * nptl/register-atfork.c: ... here.
37902         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37903         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37904         Use assert_perror to check its return value.
37905         (__gai_create_helper_thread): Likewise.
37907         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37909         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37911 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37913         [BZ #17725]
37914         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37915         __profil_counter.
37916         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37917         Likewise.
37918         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37919         Likewise.
37920         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37921         Likewise.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37923         (profil_counter): Likewise.
37924         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37925         (profil_counter): Likewise.
37926         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37927         Likewise.
37928         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37929         Likewise.
37930         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37931         (profil_counter): Likewise.
37932         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37933         Likewise.
37934         [!__profil_counter] (profil_counter): Define as weak alias of
37935         __profil_counter.
37936         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37937         (profil_counter): Rename to __profil_counter.
37938         [!__profil_counter] (profil_counter): Define as weak alias of
37939         __profil_counter.
37940         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37941         (profil_counter): Rename to __profil_counter.
37942         [!__profil_counter] (profil_counter): Define as weak alias of
37943         __profil_counter.
37944         * sysdeps/posix/profil.c: Update comment referring to
37945         profil_counter.
37946         (__profil): Use __profil_counter instead of profil_counter.
37947         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37948         __profil_counter.  Use __profil_counter_ushort and
37949         __profil_counter_uint in definitions.
37950         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37951         instead of profil_counter_uint and profil_counter_ushort.
37953         [BZ #17722]
37954         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37955         define as weak alias of __inet_makeaddr.
37956         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37957         as weak alias of __inet_addr.
37958         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37959         as weak alias of __inet_pton.  Use libc_hidden_weak.
37960         * include/arpa/inet.h (__inet_pton): Declare.  Use
37961         libc_hidden_proto.
37962         (inet_makeaddr): Don't use libc_hidden_proto.
37963         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37964         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37965         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37966         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37967         Remove variable.
37968         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37969         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37971 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37973         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37975 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37977         * stdio-common/bug-vfprintf-nargs.c (do_test):
37978         Cast value to intptr_t to avoid format warning
37979         for usage with PRIdPTR printing macro.
37981 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37983         * libio/tst-widetext.c (do_test):
37984         Use format type %td instead of %Zd for ptrdiff_t
37985         in order to avoid format warning.
37987 2014-12-17  Andreas Schwab  <schwab@suse.de>
37989         * nscd/mem.c (gc): Add size_t cast to match printf format.
37991 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37993         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37994         (init): Apply PTR_MANGLE to pointers before storing them.
37995         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37996         before using them.
37998 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38000         [BZ #17719]
38001         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38002         define as weak alias of __memrchr.
38003         (__memrchr): Do not define as strong alias of memrchr.
38004         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38005         Remove variable.
38006         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38007         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38008         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38010         [BZ #17717]
38011         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38012         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38013         (if_indextoname): Rename to __if_indextoname and define as weak
38014         alias of __if_indextoname.  Use libc_hidden_weak.
38015         (if_freenameindex): Rename to __if_freenameindex and define as
38016         weak alias of __if_freenameindex.
38017         (if_nameindex): Rename to __if_nameindex and define as weak alias
38018         of __if_nameindex.
38019         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38020         __if_nametoindex and define as weak alias of __if_nametoindex.
38021         Use libc_hidden_weak.
38022         (if_freenameindex): Rename to __if_freenameindex and define as
38023         weak alias of __if_freenameindex.
38024         (if_nameindex): Rename to __if_nameindex and define as weak alias
38025         of __if_nameindex.
38026         (if_indextoname): Rename to __if_indextoname and define as weak
38027         alias of __if_indextoname.  Use libc_hidden_weak.
38028         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38029         __if_nametoindex and define as weak alias of __if_nametoindex.
38030         Use libc_hidden_weak.
38031         (if_freenameindex): Rename to __if_freenameindex and define as
38032         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38033         (if_nameindex_netlink): Use __if_freenameindex instead of
38034         if_freenameindex.
38035         (if_nameindex): Rename to __if_nameindex and define as weak alias
38036         of __if_nameindex.  Use libc_hidden_weak.
38037         (if_indextoname): Rename to __if_indextoname and define as weak
38038         alias of __if_indextoname.  Use libc_hidden_weak.
38039         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38040         libc_hidden_proto.
38041         [!_ISOMAC] (__if_freenameindex): Likewise.
38042         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38043         if_nametoindex.
38044         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38045         variable.
38046         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38047         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38048         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38049         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38050         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38051         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38052         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38054         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38055         Remove variable.
38056         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38057         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38059 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38061         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38062         subscript above bounds'
38064         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38065         bounds.
38067 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38069         * libio/tst-fopenloc.c: Use test-skeleton.c.
38071         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38072         (entry): Rename to ITEM.
38073         (do_test, comp): Adjust.
38075         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38077 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38079         * string/tester.c: Include <libc-internal.h>.
38080         (test_memset): Ignore -Wmemset-transposed-args.
38082 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38084         * misc/tst-mntent2.c (do_test): Fix warning.
38086 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38088         * elf/tst-unique4lib.cc(a): Mark as used.
38090 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38092         [BZ #17630]
38093         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38094         names.
38096 2014-12-16  Allan McRae  <allan@archlinux.org>
38098         * stdio-common/Makefile (tests): Re-add bug26.
38100 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38102         [BZ #17657]
38103         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38104         static array.
38106 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38108         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38109         (__lll_lock_wait): Likewise.
38110         (__lll_timedlock_wait): Likewise.
38111         (__lll_timedwait_tid): Likewise.
38112         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38113         (__lll_robust_timedlock_wait): Likewise.
38114         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38115         (lll_cond_trylock): Likewise.
38116         (__lll_lock): Likewise.
38117         (__lll_robust_lock): Likewise.
38118         (__lll_cond_lock): Likewise.
38119         (lll_robust_cond_lock): Likewise.
38120         (__lll_timedlock): Likewise.
38121         (__lll_robust_timedlock): Likewise.
38122         (__lll_unlock): Likewise.
38123         (__lll_robust_unlock): Likewise.
38124         (lll_wait_tid): Likewise.
38125         (lll_timedwait_tid): Likewise.
38127 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38129         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38131 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38133         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38135 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38137         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38138         * stdio-common/tst-sprintf.c: Likewise.
38140 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38142         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38144 2014-12-15  Jeff Law  <law@redhat.com>
38146         [BZ #16617]
38147         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38148         on the heap.  (CVE-2012-3406)
38149         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38150         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38151         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38153 2014-12-15  Will Newton  <will.newton@linaro.org>
38155         * manual/install.texi: Bump required version of texinfo
38156         to 4.7 from 4.5.
38157         * INSTALL: Regenerated.
38158         * configure.ac: Check for makeinfo version 4.7 and above.
38159         * configure: Regenerated.
38161 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38163         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38164         PREFIX, string constant to insert between directory and name.
38165         * sysdeps/posix/shm_open.c: Update caller.
38166         * sysdeps/posix/shm_unlink.c: Likewise.
38167         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38168         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38169         (SEM_SHM_PREFIX): New macro.
38170         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38171         [$(have-thread-library) = no].
38172         * nptl/Makefile (libpthread-routines): Add shm-directory.
38173         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38174         * sysdeps/nptl/shm-directory.h: New file.
38175         * sysdeps/posix/shm-directory.c
38176         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38177         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38178         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38179         INTERNAL_SYSCALL.
38180         (__where_is_shmfs): Function removed.
38181         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38182         Variables removed.
38183         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38184         Use SHM_GET_NAME.
38185         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38187         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38188         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38189         unconditional for use inside libpthread.
38190         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38192 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38194         * nptl/pthread_getaffinity.c: New file.
38195         * nptl/pthread_setaffinity.c: New file.
38196         * nptl/pthread_getname.c: New file.
38197         * nptl/pthread_setname.c: New file.
38199         * nptl/pthread_create.c (START_THREAD_DEFN)
38200         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38202 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38203             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38205         * resolv/res_send.c (send_vc): Disable warning resplen may
38206         be used uninitialized.
38208 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38210         * nptl/tst-mutex6.c
38211         (ATTR_NULL): New define checks ATTR against NULL.
38212         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38213         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38215 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38217         [BZ #17581]
38218         * malloc/hooks.c
38219         (mem2mem_check): Revert my previous change.
38220         (malloc_check_get_size): Revert my previous change.
38221         (mem2chunk_check): Revert my previous change.
38223 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38225         * sysdeps/posix/shm-directory.c: New file.
38226         * sysdeps/posix/shm-directory.h: New file.
38227         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38228         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38229         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38230         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38231         Transmute EPERM to EACCES.
38232         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38233         from ...
38234         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38235         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38237 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38239         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38240         pointer and cast to uintptr_t.
38241         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38242         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38243         Add cast to avoid warning.
38244         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38246 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38248         * nptl/semaphore.h: Move to ...
38249         * sysdeps/pthread/semaphore.h: ... here.
38250         * Makefile (installed-headers): Change nptl/semaphore.h to
38251         sysdeps/pthread/semaphore.h.
38253 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38255         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38256         generated error format strings.
38258         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38259         -Wformat-extra-args warnings for scanf formats.
38260         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38261         test of zero-length format (duh).
38262         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38263         corner-case scanf format test.
38264         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38265         generated fprintf format string.
38266         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38267         corner-case sprintf format tests.
38268         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38269         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38270         -Wformat-extra-args warnings throughout.
38271         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38272         (CFLAGS-scanf4.c): Likewise.
38273         (CFLAGS-scanf7.c): Likewise.
38274         (CFLAGS-tst-sprintf.c): Likewise.
38275         (CFLAGS-tst-printf.c): Likewise.
38276         (CFLAGS-tst-printfsz.c): Likewise.
38278 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38280         * include/cpio.h: New file.
38281         * include/fmtmsg.h: Likewise.
38283         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38284         corresponding format argument to size_t.
38285         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38286         arguments.
38287         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38288         corresponding format argument to size_t.
38289         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38290         arguments.
38291         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38292         corresponding format argument to size_t.
38293         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38294         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38295         (CFLAGS-tst-mbswcs2.c): Likewise.
38296         (CFLAGS-tst-mbswcs3.c): Likewise.
38297         (CFLAGS-tst-mbswcs4.c): Likewise.
38298         (CFLAGS-tst-mbswcs5.c): Likewise.
38299         (CFLAGS-tst-trans.c): Likewise.
38301 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38303         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38304         rather than assuming they won't contain any '%'s.
38306 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38308         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38309         inhibit_loop_to_libcall to avoid recursive calls.
38310         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38311         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38313 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38315         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38316         prototype.
38318 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38320         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38321         integer value instead of boolean.
38323 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38325         * malloc/malloc.c: Fix powerof2 check.
38327 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38329         * locale/programs/locfile.h (maybe_swap_uint32):
38330         Remove inline and add unused attribute.
38332 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38334         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38335         Truncating assembler expression to a .long expression.
38337 2014-12-11  Andreas Schwab  <schwab@suse.de>
38339         * elf/rtld.c (struct map_args): Constify str member.
38340         (do_preload): Constify fname argument.
38342 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38345         constants definition.
38347 2014-12-11  Andreas Schwab  <schwab@suse.de>
38349         [BZ #16657]
38350         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38351         FORCE_ELISION instead of DO_ELISION.
38352         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38353         Remove.
38354         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38355         Likewise.
38357         * iconvdata/gconv-modules: Remove duplicate entry.
38359 2014-12-11  Will Newton  <will.newton@linaro.org>
38361         Merge gettext 0.19.3 into intl/.
38363         This involves a number of cosmetic changes to comments
38364         and ANSI function definitions and prototypes throughout
38365         all the files. The gettext copyright header is used but
38366         with the date ranges taken from the glibc copy.
38368         * NEWS: Add gettext merge to 2.21.
38369         * intl/bindtextdom.c: Switch to gettext copyright.
38370         Use ANSI definitions and prototypes.
38371         Use gl_* locking primitives rather than __libc_* ones.
38372         Use __builtin_expect rather than __glibc_likely/unlikely.
38373         * intl/dcgettext.c: Switch to gettext copyright.
38374         Use ANSI definitions and prototypes.
38375         * intl/dcigettext.c: Switch to gettext copyright.
38376         Use ANSI definitions and prototypes.
38377         (INTDIV0_RAISES_SIGFPE): New define.
38378         Use gl_* locking primitives rather than __libc_* ones.
38379         Include eval-plural.h instead of plural-eval.c.
38380         Use __builtin_expect rather than __glibc_likely/unlikely.
38381         * intl/dcngettext.c: Switch to gettext copyright.
38382         Use ANSI definitions and prototypes.
38383         * intl/dgettext.c: Likewise.
38384         * intl/dngettext.c: Likewise.
38385         * intl/plural-eval.c: Renamed to...
38386         * intl/eval-plural.h: ...this.
38387         * intl/explodename.c: Switch to gettext copyright.
38388         Use ANSI definitions and prototypes.
38389         (_nl_explode_name): Use strchr instead of __rawmemchr.
38390         * intl/finddomain.c: Switch to gettext copyright.
38391         Use ANSI definitions and prototypes.
38392         Use gl_* locking primitives rather than __libc_* ones.
38393         (_nl_find_domain): Use malloc rather than alloca for
38394         allocation of temporary locale name.
38395         * intl/gettext.c: Switch to gettext copyright.
38396         Use ANSI definitions and prototypes.
38397         * intl/gettextP.h: Switch to gettext copyright.
38398         Use ANSI definitions and prototypes.
38399         Use gl_* locking primitives rather than __libc_* ones.
38400         * intl/gmo.h: Switch to gettext copyright.
38401         (struct sysdep_string): Move struct segment_pair outside of
38402         struct definition.
38403         * intl/hash-string.c: Use ANSI definitions and prototypes.
38404         * intl/hash-string.h: Switch to gettext copyright.
38405         Use ANSI definitions and prototypes.
38406         * intl/l10nflist.c: Switch to gettext copyright.
38407         Use ANSI definitions and prototypes.
38408         (_nl_normalize_codeset): Avoid integer overflow.
38409         * intl/loadinfo.h: Switch to gettext copyright.
38410         Use ANSI definitions and prototypes.
38411         (LIBINTL_DLL_EXPORTED): New define.
38412         (PATH_SEPARATOR): New define.
38413         * intl/loadmsgcat.c: Switch to gettext copyright.
38414         * intl/localealias.c: Switch to gettext copyright.
38415         Use ANSI definitions and prototypes.
38416         (_nl_expand_alias): Use PATH_SEPARATOR.
38417         * intl/ngettext.c: Switch to gettext copyright.
38418         Use ANSI definitions and prototypes.
38419         * intl/plural-exp.c: Likewise.
38420         * intl/plural-exp.h: Switch to gettext copyright.
38421         Use ANSI definitions and prototypes.
38422         (struct expression): Move definition of enum operator outside
38423         of struct definition.
38424         * intl/plural.c: Regenerate.
38425         * intl/plural.y: Switch to gettext copyright.
38426         Use ANSI definitions and prototypes.
38427         Port to bison 3.0.
38428         * intl/textdomain.c: Switch to gettext copyright.
38429         Use ANSI definitions and prototypes.
38430         Use gl_* locking primitives rather than __libc_* ones.
38432 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38434         * debug/warning-nop.c: Add used atrribute.
38436 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38438         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38440         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38441         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38442         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38444 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38445             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38447         [BZ #17634]
38448         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38449         Undefine after defining function.  Define as weak alias of
38450         __wcschr.  Use libc_hidden_weak.
38451         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38452         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38453         (libc_hidden_def): Also define __GI___wcschr alias.
38454         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38455         __wcschr and define as weak alias of __wcschr.
38456         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38457         __wcschr.
38458         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38459         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38460         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38461         libc_hidden_weak.  Do not use libc_hidden_def.
38462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38463         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38464         __GI___wcschr alias.
38465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38466         [IS_IN (libc)] (wcschr): Define as macro expanding to
38467         __redirect_wcschr.
38468         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38469         [IS_IN (libc)] (__wcschr_power6): Likewise.
38470         [IS_IN (libc)] (__wcschr_power7): Likewise.
38471         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
38472         instead of wcschr.
38473         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38474         __libc_wcschr.
38475         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38476         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38477         __wcschr and define as weak alias of __wcschr.  Use
38478         libc_hidden_builtin_def.
38479         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38480         as weak alias of __wcschr.  Use libc_hidden_weak.
38481         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38482         wcschr.
38483         * time/era.c (_nl_init_era_entries): Likewise.
38484         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38485         variable.
38486         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38487         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38489 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38491         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38492         format for long int variable.
38494 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
38496         [BZ #10672]
38497         * manual/search.texi: (Array Sort Function): Remove claim how to make
38498         qsort stable.
38500 2014-12-10  Andreas Schwab  <schwab@suse.de>
38502         [BZ #12847]
38503         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38504         user-controlled locks.
38506 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
38508         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38509         register.
38511 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38513         * configure.ac (--disable-werror): New configure option.
38514         (enable_werror): New AC_SUBST.
38515         * configure: Regenerated.
38516         * config.make.in (enable-werror): New variable.
38517         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38518         -Wno-error=undef.
38519         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38520         * manual/install.texi (Configuring and compiling): Document
38521         --disable-werror.
38522         * INSTALL: Regenerated.
38523         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38524         (CFLAGS-tst-chk2.c): Likewise.
38525         (CFLAGS-tst-chk3.c): Likewise.
38526         (CFLAGS-tst-chk4.cc): Likewise.
38527         (CFLAGS-tst-chk5.cc): Likewise.
38528         (CFLAGS-tst-chk6.cc): Likewise.
38529         (CFLAGS-tst-lfschk1.c): Likewise.
38530         (CFLAGS-tst-lfschk2.c): Likewise.
38531         (CFLAGS-tst-lfschk3.c): Likewise.
38532         (CFLAGS-tst-lfschk4.cc): Likewise.
38533         (CFLAGS-tst-lfschk5.cc): Likewise.
38534         (CFLAGS-tst-lfschk6.cc): Likewise.
38536         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38537         (main): Disable -Wdeprecated-declarations around calls to
38538         register_printf_function.
38540         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38541         (do_test): Disable -Wdiv-by-zero around some calls to
38542         fwrite_unlocked and fread_unlocked.
38544         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38545         (DIAG_POP_NEEDS_COMMENT): Likewise.
38546         (_DIAG_STR1): Likewise.
38547         (_DIAG_STR): Likewise.
38548         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38549         * stdio-common/bug21.c: Include <libc-internal.h>.
38550         (do_test): Disable -Wformat around call to sscanf.
38551         * stdio-common/scanf14.c: Include <libc-internal.h>.
38552         (main): Disable -Wformat around some calls to scanf functions.
38554 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38556         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38558 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38560         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38561         stack variable alignment.
38563 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38565         [BZ #17682]
38566         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38567         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38568         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38569         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38570         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38571         __getrlimit instead of getrlimit.
38572         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38573         __gettimeofday instead of gettimeofday.
38574         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38575         Likewise.
38576         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38577         Likewise.
38578         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38579         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38580         Remove variable.
38581         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38582         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38584 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38586         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38587         for wide-character tests.
38589 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38591         * io/openat64.c: #include <libc-internal.h>
38592         (__openat64): Prototypify.  Use ignore_value on MODE.
38593         * io/openat.c: Likewise.
38594         * misc/reboot.c: #include <libc-internal.h>
38595         (reboot): Prototypify.  Use ignore_value on HOWTO.
38596         * misc/ptrace.c: #include <libc-internal.h>
38597         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38599 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38601         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38602         XPG4, UNIX98 and XOPEN2K.
38603         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38604         Remove variable.
38605         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38607 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38609         * libio/fileops.c: Use ISO C style for function definitions.
38610         * libio/iofopen.c: Likewise.
38611         * libio/wfileops.c: Likewise.
38613         [BZ #17653]
38614         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38615         offset on EOF.
38616         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38617         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38618         (fgets_func): Function pointer to fgets and fgetws.
38619         (do_ftell_test): Add test to verify ftell value after read
38620         EOF.
38621         (do_test): Set fgets_func.
38623         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38624         O_TRUNC flag for w and w+ modes.
38625         (do_rewind_test): Likewise.
38626         (do_ftell_test): Likewise.
38627         (do_write_test): Likewise.
38629         [BZ #17647]
38630         * libio/fileops.c (do_ftell): Seek only when there are
38631         unflushed writes.
38632         * libio/wfileops.c (do_ftell_wide): Likewise.
38633         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38634         test case.
38635         (do_one_test): Call it.
38637 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38639         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38640         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38641         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38642         Remove variable.
38643         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38644         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38645         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38647 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38649         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38650         Remove variable.
38651         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38653         [BZ #17668]
38654         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38655         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38656         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38657         __freeifaddrs.  Use libc_hidden_weak.
38658         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38659         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38660         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38661         __freeifaddrs.  Use libc_hidden_weak.
38662         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38663         __getifaddrs and define as weak alias of __getifaddrs.  Use
38664         libc_hidden_weak.
38665         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38666         __freeifaddrs.  Use libc_hidden_weak.
38667         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38668         Remove variable.
38669         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38670         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38672 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38674         [BZ #17601]
38675         * sysdeps/mips/start.S (__start): Use indirect jump to call
38676         __libc_start_main.
38678 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38680         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38682         * nptl/tst-mutex1.c: Include <stdbool.h>.
38683         [!ATTR] (ATTR_NULL): New macro.
38684         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38685         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38686         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38688         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38689         to char *.
38691         [BZ #17665]
38692         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38693         Change conditional to [__USE_MISC].
38695         [BZ #17664]
38696         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38697         fgets_unlocked.
38698         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38699         __fgets_unlocked.
38700         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38701         fgets_unlocked.
38702         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38703         Remove variable.
38704         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38705         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38706         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38707         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38708         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38709         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38710         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38711         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38712         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38714         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38716 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38718         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38719         Remove strpbrk objects.
38720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38721         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38723         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38724         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38725         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38728         Remove strcspn objects.
38729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38730         (__libc_ifunc_impl_list): Remove strcspn implementation.
38731         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38732         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38733         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38734         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38737         Remove strspn objetcs.
38738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38739         (__libc_ifunc_impl_list): Remove strspn implementation.
38740         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38741         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38742         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38743         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38745 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38747         [BZ #17581]
38748         * malloc/hooks.c
38749         (mem2mem_check): Add a terminator to the chain of checking blocks.
38750         (malloc_check_get_size): Use it here.
38751         (mem2chunk_check): Ditto.
38753 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38755         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38756         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38758 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38760         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38762         * nptl/nptl-init.c: Include libc-internal.h.
38763         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38765         * elf/ldconfig.c (search_dir): Expand comment.
38767 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38769         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38770         variable.
38771         (linknamespace-symlist-stdlibs-tests): Likewise.
38772         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38773         instead of $(objpfx)symlist-stdlibs.
38774         (linknamespace-libs-isoc): New variable.
38775         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38776         (linknamespace-libs-ISO): New variable.
38777         (linknamespace-libs-ISO99): Likewise.
38778         (linknamespace-libs-ISO11): Likewise.
38779         (linknamespace-libs-XPG3): Likewise.
38780         (linknamespace-libs-XPG4): Likewise.
38781         (linknamespace-libs-POSIX): Likewise.
38782         (linknamespace-libs-UNIX98): Likewise.
38783         (linknamespace-libs-XOPEN2K): Likewise.
38784         (linknamespace-libs-POSIX2008): Likewise.
38785         (linknamespace-libs-XOPEN2K8): Likewise.
38786         ($(objpfx)symlist-stdlibs): Replace by
38787         $(linknamespace-symlist-stdlibs-tests).  Use
38788         $(linknamespace-libs-$*) as set of libraries.
38789         ($(linknamespace-header-tests)): Update dependencies.  Use
38790         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38791         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38792         * conform/linknamespace.pl: Remove comment about considering
38793         definitions of symbols from irrelevant libraries.
38795 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38797         [BZ #13862]
38798         * elf/dl-tls.c: Include <atomic.h>.
38799         (oom): Remove #ifdef SHARED/#endif.
38800         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38801         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38802         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38803         big enough.
38804         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38805         * nptl/Makefile (tests): Add tst-stack4.
38806         (modules-names): Add tst-stack4mod.
38807         ($(objpfx)tst-stack4): New.
38808         (tst-stack4mod.sos): Likewise.
38809         ($(objpfx)tst-stack4.out): Likewise.
38810         ($(tst-stack4mod.sos)): Likewise.
38811         (clean): Likewise.
38812         * nptl/tst-stack4.c: New file.
38813         * nptl/tst-stack4mod.c: Likewise.
38815 2014-11-27  J. Brown  <jb999@gmx.de>
38817         * sysdeps/x86/bits/string.h: Add recent CPUs.
38819 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38821         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38822         sigblock.
38824         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38825         feof.
38827         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38828         variable.
38830 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38832         * nscd/connections.c: Include libc-internal.h because of macro
38833         usage ignore_value.
38835 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38837         * string/bits/string3.h (__warn_memset_zero_len): Don't
38838         declare for gcc newer than 5.0.
38839         (memset): Don't test for zero-length __LEN for gcc newer than
38840         5.0.
38842 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38844         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38845         size_t for %zu format.
38847         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38848         difference, not %ju.
38850 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38852         * include/libc-internal.h (ignore_value): New macro.
38853         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38854         with ignore_value.
38856         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38857         definition.
38859         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38860         pthread_cleanup_push to void *.
38862         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38863         Undefine.
38865         [BZ #16619]
38866         [BZ #16740]
38867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38868         instead of 1L << 52.
38870         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38871         * libio/bug-rewind2.c (do_test): Likewise.
38873         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38874         * debug/test-strcpy_chk-ifunc.c: Likewise.
38875         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38876         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38877         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38878         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38879         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38880         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38881         * Rules [$(multi-arch) = no] (tests): Do not filter out
38882         $(tests-ifunc).
38883         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38884         * debug/Makefile (tests-ifunc): Remove variable.
38885         (tests): Do not add $(tests-ifunc).
38886         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38887         (tests): Do not add $(tests-ifunc).
38888         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38889         [TEST_IFUNC]: Remove conditionals.
38890         * string/test-string.h (TEST_IFUNC): Remove macro.
38891         [TEST_IFUNC]: Remove conditionals.
38893         * string/test-strchr.c [!WIDE] (L): New macro.
38894         [WIDE] (L): Likewise.
38895         (check1): Use CHAR instead of char.  Use L on string and character
38896         constants.
38898 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38900         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38901         tests.
38902         * sysdeps/powerpc/bits/atomic.h
38903         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38904         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38905         (atomic_exchange_and_add_acq): Likewise.
38906         (atomic_exchange_and_add_rel): Likewise.
38907         * sysdeps/powerpc/powerpc32/bits/atomic.h
38908         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38909         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38910         * sysdeps/powerpc/powerpc64/bits/atomic.h
38911         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38912         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38914 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38916         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38917         Change synchronization of __sched_fifo_min_prio and
38918         __sched_fifo_max_prio.
38919         * nptl/pthread_mutexattr_getprioceiling.c
38920         (pthread_mutexattr_getprioceiling): Likewise.
38921         * nptl/pthread_mutexattr_setprioceiling.c
38922         (pthread_mutexattr_setprioceiling): Likewise.
38923         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38924         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38925         Likewise.
38927 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38929         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38930         void.
38932 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38934         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38935         third argument const.
38937 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38939         fnmatch: work around GCC compiler warning bug with uninit var
38940         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38941         This works around a bug with x86-64 GCC 4.9.2 and earlier
38942         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38943         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38944         used uninitialized in this function [-Wmaybe-uninitialized]".
38946 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38948         * posix/bug-regex31.c (main): Return RES not 0.
38950 2014-11-25  Anton Blanchard <anton@samba.org>
38952         * sysdeps/powerpc/bits/atomic.h
38953         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38955 2014-11-24  Sterling Augustine  <saugustine@google.com>
38957         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38959 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38961         [BZ #17608]
38962         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38964 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38966         [BZ #17633]
38967         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38968         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38969         variable.
38970         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38971         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38973 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38975         * string/strncpy.c (strncpy): Improve performance by using memset.
38977 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38979         * string/strcpy.c (strcpy):
38980         Improve performance by using strlen and memcpy.
38982 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38984         * string/strcoll_l.c (get_next_seq): __always_inline.
38985         * string/strcoll_l.c (do_compare): __always_inline.
38987 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38989         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38990         defined.
38991         * include/mqueue.h: Likewise.
38992         * include/stdlib.h: Likewise.
38994         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38995         (get_null_defines): Adjust.
38996         * sunrpc/Makefile: Adjust comment.
38997         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38998         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38999         (CFLAGS-interp.c): Likewise.
39000         (CFLAGS-ldconfig.c): Likewise.
39001         (CPPFLAGS-.os): Likewise.
39002         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39003         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39004         * extra-modules.mk (extra-modules.mk): Likewise.
39005         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39006         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39007         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39008         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39009         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39010         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39011         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39012         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39013         * iconvdata/Makefile (CPPFLAGS): Likewise.
39014         (cpp-srcs-left): Add libof for all iconvdata routines.
39015         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39016         * include/assert.h: Likewise.
39017         * include/ctype.h: Likewise.
39018         * include/errno.h: Likewise.
39019         * include/libc-symbols.h: Likewise.
39020         * include/math.h: Likewise.
39021         * include/netdb.h: Likewise.
39022         * include/resolv.h: Likewise.
39023         * include/stdio.h: Likewise.
39024         * include/stdlib.h: Likewise.
39025         * include/string.h: Likewise.
39026         * include/sys/stat.h: Likewise.
39027         * include/wctype.h: Likewise.
39028         * intl/l10nflist.c: Likewise.
39029         * libidn/idn-stub.c: Likewise.
39030         * libio/libioP.h: Likewise.
39031         * nptl/libc_multiple_threads.c: Likewise.
39032         * nptl/pthreadP.h: Likewise.
39033         * posix/regex_internal.h: Likewise.
39034         * resolv/res_hconf.c: Likewise.
39035         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39036         * sysdeps/arm/memmove.S: Likewise.
39037         * sysdeps/arm/sysdep.h: Likewise.
39038         * sysdeps/generic/_itoa.h: Likewise.
39039         * sysdeps/generic/symbol-hacks.h: Likewise.
39040         * sysdeps/gnu/errlist.awk: Likewise.
39041         * sysdeps/gnu/errlist.c: Likewise.
39042         * sysdeps/i386/i586/memcpy.S: Likewise.
39043         * sysdeps/i386/i586/memset.S: Likewise.
39044         * sysdeps/i386/i686/memcpy.S: Likewise.
39045         * sysdeps/i386/i686/memmove.S: Likewise.
39046         * sysdeps/i386/i686/mempcpy.S: Likewise.
39047         * sysdeps/i386/i686/memset.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39064         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39065         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39066         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39067         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39068         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39069         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39073         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39074         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39075         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39077         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39078         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39079         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39082         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39084         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39085         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39086         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39088         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39090         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39091         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39094         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39095         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39096         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39097         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39098         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39099         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39100         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39101         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39102         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39103         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39104         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39105         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39106         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39107         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39108         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39109         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39110         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39111         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39112         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39113         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39114         * sysdeps/posix/closedir.c: Likewise.
39115         * sysdeps/posix/opendir.c: Likewise.
39116         * sysdeps/posix/readdir.c: Likewise.
39117         * sysdeps/posix/rewinddir.c: Likewise.
39118         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39119         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39120         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39121         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39122         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39129         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39130         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39133         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39135         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39137         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39138         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39141         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39146         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39153         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39154         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39155         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39156         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39157         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39158         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39159         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39160         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39161         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39162         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39163         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39164         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39166         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39167         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39168         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39169         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39172         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39175         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39176         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39177         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39178         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39180         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39181         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39182         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39183         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39184         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39185         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39186         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39187         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39188         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39189         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39190         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39191         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39192         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39193         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39194         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39195         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39196         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39197         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39198         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39200         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39202         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39204         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39205         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39206         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39207         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39208         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39209         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39210         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39213         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39214         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39216         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39217         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39218         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39219         * sysdeps/unix/alpha/sysdep.S: Likewise.
39220         * sysdeps/unix/alpha/sysdep.h: Likewise.
39221         * sysdeps/unix/make-syscalls.sh: Likewise.
39222         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39224         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39225         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39226         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39227         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39228         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39230         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39231         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39233         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39236         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39237         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39238         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39239         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39240         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39241         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39242         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39243         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39244         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39245         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39246         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39247         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39248         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39251         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39252         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39256         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39260         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39261         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39263         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39264         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39265         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39266         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39269         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39272         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39273         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39274         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39275         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39276         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39278         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39280         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39281         * sysdeps/x86_64/memcpy.S: Likewise.
39282         * sysdeps/x86_64/memmove.c: Likewise.
39283         * sysdeps/x86_64/memset.S: Likewise.
39284         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39285         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39286         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39287         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39289         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39291         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39292         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39293         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39294         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39296         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39297         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39298         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39299         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39301         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39302         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39303         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39304         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39305         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39306         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39307         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39308         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39309         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39310         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39311         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39312         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39313         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39314         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39315         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39316         * sysdeps/x86_64/strcmp.S: Likewise.
39318         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39320         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39321         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39322         * elf/rtld-Rules: Likewise.
39323         * elf/setup-vdso.h: Likewise.
39324         * include/assert.h: Likewise.
39325         * include/bits/stdlib-float.h: Likewise.
39326         * include/errno.h: Likewise.
39327         * include/sys/stat.h: Likewise.
39328         * include/unistd.h: Likewise.
39329         * sysdeps/aarch64/setjmp.S: Likewise.
39330         * sysdeps/alpha/setjmp.S: Likewise.
39331         * sysdeps/arm/__longjmp.S: Likewise.
39332         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39333         * sysdeps/arm/setjmp.S: Likewise.
39334         * sysdeps/arm/sysdep.h: Likewise.
39335         * sysdeps/generic/_itoa.h: Likewise.
39336         * sysdeps/generic/dl-sysdep.h: Likewise.
39337         * sysdeps/generic/ldsodefs.h: Likewise.
39338         * sysdeps/i386/dl-tls.h: Likewise.
39339         * sysdeps/i386/setjmp.S: Likewise.
39340         * sysdeps/m68k/setjmp.c: Likewise.
39341         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39342         * sysdeps/mach/hurd/opendir.c: Likewise.
39343         * sysdeps/posix/getcwd.c: Likewise.
39344         * sysdeps/posix/opendir.c: Likewise.
39345         * sysdeps/posix/profil.c: Likewise.
39346         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39347         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39349         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39350         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39351         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39352         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39353         * sysdeps/s390/dl-tls.h: Likewise.
39354         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39355         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39356         * sysdeps/sh/sh3/setjmp.S: Likewise.
39357         * sysdeps/sh/sh4/setjmp.S: Likewise.
39358         * sysdeps/unix/alpha/sysdep.h: Likewise.
39359         * sysdeps/unix/arm/sysdep.S: Likewise.
39360         * sysdeps/unix/i386/sysdep.S: Likewise.
39361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39362         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39363         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39364         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39366         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39367         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39370         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39371         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39372         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39373         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39376         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39380         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39381         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39384         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39385         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39388         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39389         * sysdeps/x86_64/setjmp.S: Likewise.
39391         * include/math.h: Use IS_IN instead of IS_IN_libm.
39392         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39393         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39394         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39395         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39396         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39397         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39398         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39399         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39400         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39401         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39402         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39403         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39404         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39405         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39406         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39407         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39408         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39409         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39410         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39411         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39412         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39413         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39414         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39415         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39416         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39417         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39418         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39419         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39420         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39421         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39422         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39423         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39424         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39426         Likewise.
39427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39428         Likewise.
39429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39430         Likewise.
39431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39432         Likewise.
39433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39434         Likewise.
39435         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39436         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39437         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39438         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39439         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39440         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39446         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39447         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39448         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39449         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39450         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39451         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39452         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39453         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39454         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39455         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39456         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39459         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39461         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39463         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39464         * nptl/pthreadP.h: Likewise.
39465         * nptl_db/structs.def: Likewise.
39466         * sysdeps/arm/sysdep.h: Likewise.
39467         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39468         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39469         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39470         * sysdeps/unix/alpha/sysdep.h: Likewise.
39471         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39473         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39474         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39475         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39476         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39478         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39479         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39480         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39481         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39482         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39483         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39484         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39489         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39492         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39493         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39494         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39496         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39498         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39499         * nptl/pthreadP.h: Likewise.
39500         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39501         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39502         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39504         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39505         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39506         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39507         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39508         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39509         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39510         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39511         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39513         Likewise.
39514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39515         Likewise.
39516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39518         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39521         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39522         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39523         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39525         * dlfcn/dladdr.c: Use IS_IN.
39526         * dlfcn/dladdr1.c: Likewise.
39527         * dlfcn/dlclose.c: Likewise.
39528         * dlfcn/dlerror.c: Likewise.
39529         * dlfcn/dlinfo.c: Likewise.
39530         * dlfcn/dlmopen.c: Likewise.
39531         * dlfcn/dlopen.c: Likewise.
39532         * dlfcn/dlsym.c: Likewise.
39533         * dlfcn/dlvsym.c: Likewise.
39535         * include/ifaddrs.h: Use IS_IN.
39536         * inet/check_pf.c: Likewise.
39537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39538         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39540         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39541         IS_IN_ldconfig.
39542         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39543         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39545         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39546         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39547         IS_IN (libc).
39549         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39551         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39552         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39553         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39554         * include/libc-symbols.h (IS_IN_LIB): New macro.
39555         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39556         * include/netdb.h: Likewise.
39557         * include/stap-probe.h: Remove all uses of IN_LIB.
39559         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39560         instead of IN_MODULE.
39561         * include/libc-symbols.h (IN_MODULE): Define using
39562         MODULE_NAME.
39563         (PASTE_NAME, PASTE_NAME1): New macros.
39564         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39565         of IN_LIB.
39566         (STAP_PROBE_ASM): Likewise.
39568 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39570         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39571         __mach_init in dlopened libc.
39573 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39575         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39576         * sysdeps/arm/preconfigure: Regenerate.
39578 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39580         * nptl/pthread_create.c (__pthread_create_2_1): Set
39581         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39582         when copying values from IATTR into PD.
39584 2014-11-21  Will Newton  <will.newton@linaro.org>
39585             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39587         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39588         Refactor inline-asm.  Also add comment.
39590         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39591         ElfW macro instead of hardcoded Elf64 types.
39592         (la_aarch64_gnu_pltenter): Likewise.
39593         * sysdeps/aarch64/dl-machine.h
39594         (elf_machine_runtime_setup): Use ElfW(Addr).
39596         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39597         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39598         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39599         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39600         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39601         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39602         (R_AARCH64_TLS_DTPMOD): This.
39603         (R_AARCH64_TLS_DTPREL64): Rename to ...
39604         (R_AARCH64_TLS_DTPREL): This.
39605         (R_AARCH64_TLS_TPREL64): Rename to ...
39606         (R_AARCH64_TLS_TPREL): This.
39607         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39608         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39609         R_AARCH64_TLS_TPREL64.
39610         (elf_machine_rela): Likewise.
39612 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39614         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39615         by setting it to 0.  64b atomics are not supported currently.
39617 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39619         [BZ #16469]
39620         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39621         search domain names.
39623 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39625         [BZ #16469]
39626         * NEWS: Update.
39627         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39628         trailing dot.
39629         * posix/tst-getaddrinfo5.c: New.
39630         * posix/Makefile (tests): Add it.
39632 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39634         [BZ #14498]
39635         * NEWS: Fixed.
39636         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39637         after parsing line but before break_if_match.
39638         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39639         if there is a protocol mismatch.
39641 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39643         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39644         because the potential race is on the user-supplied stream.
39646 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39648         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39649         string literal if not passed a buffer.
39650         * manual/job.texi (ctermid): Update reasoning, note deviation
39651         from posix, suggest mtasurace when not passed a buffer, for
39652         future non-preliminary safety notes.
39654 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39656         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39657         of not passing it a buffer.
39658         Reported by Peng Haitao.
39660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39662         * manual/Makefile ($(objpfx)stamp-summary): Require
39663         check-safety.sh to pass.
39664         * manual/check-safety.sh: Wish for verification that every
39665         @deftypefn and @deftypefun is followed by a @safety remark.
39667 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39669         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39671         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39672         PTHREAD_CANCEL_ASYNCHRONOUS.
39673         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39674         send SIGCANCEL.
39676         * nptl/default-sched.h: New file.
39677         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39678         * nptl/pthread_create.c: Include it.
39679         (__pthread_create_2_1): Use collect_default_sched instead of making
39680         Linux syscalls here directly.
39682 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39684         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39685         __pthread_once): Use C11 atomics.
39687 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39689         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39691 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39693         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39694         atomic_thread_fence_acquire, atomic_thread_fence_release,
39695         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39696         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39697         atomic_compare_exchange_weak_relaxed,
39698         atomic_compare_exchange_weak_acquire,
39699         atomic_compare_exchange_weak_release,
39700         atomic_exchange_acquire, atomic_exchange_release,
39701         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39702         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39703         atomic_fetch_and_acquire,
39704         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39706 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39708         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39709         USE_ATOMIC_COMPILER_BUILTINS): Define.
39710         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39712         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39714         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39716         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39718         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39720         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39722         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39724         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39726         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39728         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39730         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39732         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39734         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39736         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39738         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39740         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39742         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39744         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39745         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39748         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39751 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39753         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39754         the sched_priority value here.  It was already checked when the user
39755         called pthread_attr_setschedparam.
39757         * nptl/tst-bad-schedattr.c: New file.
39758         * nptl/Makefile (tests): Add it.
39760 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39761             Florian Weimer  <fweimer@redhat.com>
39762             Joseph Myers  <joseph@codesourcery.com>
39763             Adam Conrad  <adconrad@0c3.net>
39764             Andreas Schwab  <schwab@suse.de>
39765             Brooks  <bmoses@google.com>
39767         [BZ #17625]
39768         * wordexp-test.c (__dso_handle): Add prototype.
39769         (__register_atfork): Likewise.
39770         (__app_register_atfork): New function.
39771         (registered_forks): New global.
39772         (register_fork): New function.
39773         (test_case): Add 3 new tests for WRDE_CMDSUB.
39774         (main): Call __app_register_atfork.
39775         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39776         fork count is non-zero fail the test.
39777         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39778         is set.
39779         (parse_dollars): Remove check for WRDE_NOCMD.
39780         (parse_dquote): Likewise.
39782 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39784         * Makeconfig (built-modules): List non-library modules to be
39785         built.
39786         (module-cppflags): Include libc-modules.h for
39787         everything except shlib-versions.v.i.
39788         (CPPFLAGS): Use it.
39789         (before-compile): Add libc-modules.h.
39790         ($(common-objpfx)libc-modules.h,
39791         $(common-objpfx)libc-modules.stmp): New targets.
39792         (common-generated): Add libc-modules.h and libc-modules.stmp.
39793         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39794         * include/libc-symbols.h: Don't include libc-modules.h.
39795         * include/libc-modules.h: Remove file.
39796         * scripts/gen-libc-modules.awk: New script to generate
39797         libc-modules.h.
39798         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39799         Depend on libc-modules.stmp.
39801         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39803         * Makeconfig (in-module): Get value of libof set for the
39804         translation unit.
39805         (CPPFLAGS): Use $(in-module).
39806         * Makerules: Don't suffix routine names for nonlib.
39807         * include/libc-modules.h: New file.
39808         * include/libc-symbols.h: Include libc-modules.h
39809         (IS_IN): New macro to replace IS_IN_* macros.
39810         * elf/Makefile: Set libof-* for each routine.
39811         * elf/rtld-Rules: Likewise.
39812         * extra-modules.mk: Likewise.
39813         * iconv/Makefile: Likewise.
39814         * iconvdata/Makefile: Likewise.
39815         * locale/Makefile: Likewise.
39816         * malloc/Makefile: Likewise.
39817         * nss/Makefile: Likewise.
39818         * sysdeps/gnu/Makefile: Likewise.
39819         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39820         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39821         * sysdeps/s390/s390-64/Makefile: Likewise.
39822         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39823         CPPFLAGS for nscd instead of nonlib.
39825 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39827         * nptl/createthread.c: New file.
39829         * nptl/createthread.c: Moved ...
39830         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39832         * nptl/createthread.c: Add proper top-line comment.
39833         (do_clone): Folded into ...
39834         (create_thread): ... here.  Take new arguments STOPPED_START and
39835         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39836         increment __nptl_threads, do event-reporting logic, do
39837         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39838         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39839         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39840         just send SIGCANCEL.
39841         * nptl/pthread_create.c: Forward-declare create_thread before
39842         including createthread.c.
39843         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39844         declaration, and new macro START_THREAD_SELF to replace argument.
39845         Remove return statement.
39846         (report_thread_creation): New function.
39847         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39848         synchronization logic, and __nptl_nthreads increment here, around
39849         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39850         PD->parent_cancelhandling here, before create_thread.  When
39851         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39852         __deallocate_stack, and ENOMEM translation here.
39854 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39856         [BZ #17616]
39857         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39858         (mptwo): Rename to __mptwo.
39859         (__inv): Use __mptwo instead of mptwo.
39860         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39861         (mptwo): Rename to __mptwo.
39862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39863         of mpone and __mptwo instead of mptwo.
39864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39865         instead of mpone.
39866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39867         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39868         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39869         of mpone and __mptwo instead of mptwo.
39870         (__mpranred): Use __mpone instead of mpone.
39871         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39872         variable.
39873         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39874         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39875         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39876         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39877         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39878         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39879         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39880         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39881         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39882         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39883         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39884         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39885         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39886         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39887         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39888         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39889         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39890         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39891         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39893 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39895         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39896         replace BSD Handler xref with BSD Signal Handling.
39898 2014-11-17  Richard Henderson  <rth@redhat.com>
39900         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39901         (_FP_PACK_RAW_2): Remove.
39902         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39903         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39904         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39905         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39906         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39907         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39908         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39909         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39910         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39911         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39912         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39913         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39914         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39915         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39916         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39917         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39919 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39921         * signal/signal.h [__USE_MISC]
39922         (struct sigvec): Remove type.
39923         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39924         (sigvec): Remove declaration.
39925         * sysdeps/posix/sigvec.c: Moved ...
39926         * signal/sigvec.c: ... here, replacing old file.
39927         (struct sigvec): New type, copied from old signal.h definition.
39928         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39929         (__sigvec): Convert definition to prototype.
39930         (sigvec): Replace weak_alias with compat_symbol.
39931         * signal/Versions (libc: GLIBC_2.21): New version set.
39932         * include/signal.h: Remove __sigvec declaration.
39933         * sysdeps/unix/bsd/sigvec.c: Remove file.
39934         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39935         * manual/signal.texi (BSD Handler): Remove subsection.
39936         Move siginterrupt up to ...
39937         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39938         (Blocking in BSD): Fold subsection into its parent.
39939         * NEWS: Mention sigvec removal.
39941 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39943         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39944         (DLA_FMS): Make definition conditional only on [__FMA4__].
39945         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39946         definition.
39948         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39949         Make definition conditional only on [PROF].
39950         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39951         definition.
39952         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39953         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39955         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39956         !__GNUC__].
39957         * include/signal.h (__sigpause): Move declaration above call to
39958         libc_hidden_proto.
39959         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39960         variable.
39961         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39962         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39964 2014-11-14  David S. Miller  <davem@davemloft.net>
39966         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39967         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39969 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39971         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39972         * configure: Regenerated.
39973         * manual/install.texi (Tools for Compilation): Document a
39974         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39975         compiler verified to work.
39976         * INSTALL: Regenerated.
39978         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39979         redeclare with asm name.
39980         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39981         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39982         including <string.h>.
39983         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39985         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39986         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39987         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39989         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39991 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39993         * stdlib/strtol.c (__strtol): Use prototype definition.
39995         [BZ #17594]
39996         * stdlib/strtol.c (SYM__): New macro.
39997         (SYM__1): Likewise.
39998         (__strtol): Likewise.
39999         (strtol): Rename to __strtol and define as weak alias of
40000         __strtol.  Use libc_hidden_weak.
40002 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40004         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40005         Use numbered labels in inline assembly.
40007 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40009         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40010         Add setjmp LIBC_PROBE.
40011         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40012         Likewise.
40013         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40014         Add longjmp, longjmp_target LIBC_PROBE.
40015         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40016         Likewise.
40018 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40021         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40022         to get rid of unused variable warning.
40024 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40026         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40027         Check for unwind_backtrace ==  NULL only in SHARED case.
40028         (__backchain_backtrace): Compile only in SHARED case.
40029         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40030         Likewise.
40031         (__backchain_backtrace): Declare as static.
40033 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40035         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40036         (__libc_multiple_threads_ptr): Variable moved ...
40037         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40039 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40041         * conform/GlibcConform.pm: New file.
40042         * conform/conformtest.pl: Use GlibcConform module.
40043         * conform/linknamespace.pl: New file.
40044         * conform/list-header-symbols.pl: Likewise.
40045         * conform/Makefile (linknamespace-symlists-base): New variable.
40046         (linknamespace-symlists-tests): Likewise.
40047         (linknamespace-header-base): Likewise.
40048         (linknamespace-header-tests): Likewise.
40049         (tests-special): Add new tests.
40050         ($(linknamespace-symlists-tests)): New rule.
40051         (linknamespace-libs): New variable.
40052         ($(objpfx)symlist-stdlibs): New rule.
40053         ($(linknamespace-header-tests)): Likewise.
40054         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40055         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40056         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40057         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40058         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40059         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40060         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40061         (test-xfail-ISO/math.h/linknamespace): Likewise.
40062         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40063         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40064         (test-xfail-ISO/time.h/linknamespace): Likewise.
40065         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40066         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40067         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40068         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40069         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40070         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40071         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40072         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40073         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40074         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40075         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40076         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40077         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40078         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40079         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40080         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40081         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40082         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40083         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40084         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40085         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40086         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40087         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40088         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40089         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40090         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40091         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40092         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40093         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40094         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40095         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40096         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40097         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40098         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40099         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40100         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40101         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40102         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40103         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40104         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40105         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40106         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40107         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40108         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40109         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40110         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40111         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40112         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40113         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40114         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40115         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40116         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40117         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40118         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40119         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40120         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40121         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40122         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40123         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40124         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40125         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40126         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40127         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40128         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40129         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40130         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40131         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40132         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40133         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40134         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40135         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40136         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40137         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40138         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40139         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40140         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40141         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40142         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40143         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40144         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40145         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40146         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40147         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40148         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40149         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40150         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40151         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40152         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40153         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40154         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40155         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40156         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40157         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40158         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40159         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40160         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40161         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40162         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40163         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40164         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40165         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40166         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40167         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40168         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40169         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40170         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40171         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40172         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40173         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40174         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40175         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40176         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40177         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40178         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40179         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40180         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40181         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40182         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40183         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40184         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40185         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40186         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40187         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40188         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40189         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40190         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40191         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40192         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40193         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40194         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40195         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40196         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40197         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40198         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40199         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40200         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40201         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40202         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40203         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40204         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40205         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40206         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40207         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40208         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40209         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40210         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40211         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40212         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40213         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40214         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40216         [BZ #17589]
40217         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40218         of fgets_unlocked.
40220         [BZ #17585]
40221         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40222         (memmem): Rename to __memmem and define as weak alias of
40223         __memmem.  Use libc_hidden_weak.
40224         (__memmem): Use libc_hidden_def.
40225         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40226         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40227         memmem.
40229         [BZ #17582]
40230         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40231         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40232         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40233         and define as weak alias of __fgets_unlocked.  Use
40234         libc_hidden_weak.
40235         (__fgets_unlocked): Use libc_hidden_def.
40236         * include/stdio.h (__fgets_unlocked): Declare.  Use
40237         libc_hidden_proto.
40238         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40239         __fgets_unlocked instead of fgets_unlocked.
40240         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40241         (GET_NPROCS_CONF_PARSER): Likewise.
40242         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40243         (GET_NPROCS_CONF_PARSER): Likewise.
40245         [BZ #17574]
40246         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40247         weak alias of __wmemset.  Use libc_hidden_weak.
40248         (__wmemset): Use libc_hidden_def.
40249         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40250         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40251         of wmemset.
40253         [BZ #17573]
40254         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40255         with asm name __mempcpy.
40256         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40258         [BZ #17572]
40259         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40260         and define as weak alias of __rawmemchr.
40261         (__rawmemchr): Do not define as strong alias of rawmemchr.
40263         [BZ #17571]
40264         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40265         alias of __qsort_r.
40266         (qsort): Call __qsort_r instead of qsort_r.
40267         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40268         (__qsort_r): Declare.  Call libc_hidden_proto.
40269         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40270         instead of qsort_r.
40271         * nscd/gai.c (__qsort_r): Define to qsort_r.
40272         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40273         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40274         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40276         [BZ #17570]
40277         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40278         define as weak alias of __malloc_info.
40280         [BZ #17584]
40281         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40282         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40283         (__rewinddir): Use libc_hidden_def.
40284         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40285         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40286         (__rewinddir): Use libc_hidden_def.
40287         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40288         weak alias of __rewinddir.  Don't use libc_hidden_def.
40289         (__rewinddir): Use libc_hidden_def.
40290         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40291         (__rewinddir): Use libc_hidden_proto.
40292         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40293         rewinddir.
40294         (__getcwd): Use __rewinddir instead of rewinddir.
40296         [BZ #17583]
40297         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40298         alias of __fileno.  Use libc_hidden_weak.
40299         (__fileno): Use libc_hidden_def.
40300         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40301         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40302         alias of __ftello.
40303         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40304         __ftello.
40305         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40306         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40307         libc_hidden_def.
40308         (fread_unlocked): Don't use libc_hidden_ver.
40309         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40310         and define as weak alias of __fread_unlocked.  Don't use
40311         libc_hidden_def.
40312         (__fread_unlocked): Use libc_hidden_def.
40313         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40314         (ftello): Don't use libc_hidden_proto.
40315         (__ftello): Declare.  Use libc_hidden_proto.
40316         (fread_unlocked): Don't use libc_hidden_proto.
40317         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40318         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40319         and __ftello instead of fileno, fread_unlocked and ftello.
40321 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40323         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40324         GOT12.
40325         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40326         Likewise.
40327         (_dl_start_user): Likewise.
40328         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40330 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40331             Siddhesh Poyarekar  <siddhesh@redhat.com>
40333         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40334         Move argv and envp down instead of moving argc up.
40335         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40337 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40339         [BZ #17506]
40340         * test-skeleton.c (main): Return successful if one of
40341         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40342         * string/tst-strcoll-overflow.c: Define expected status.
40344 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40346         [BZ #17475]
40347         * locale/iso-639.def: Define Bhili and Tulu language codes.
40349 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40351         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40353 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40355         [BZ #17555]
40356         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40358 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40360         * configure.ac: Updated check of minimal required version to
40361         2.22.
40362         * manual/install.texi (Tools for Compilation): Updated version
40363         number.
40364         * configure: Regenerated.
40365         * INSTALL: Likewise.
40367 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40369         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40370         __tls_get_addr.
40372 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40374         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40375         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40376         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40377         libc_hidden_weak.
40378         (waitpid): Define as alias of __waitpid.
40379         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40380         __waitpid.
40381         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40382         libc_hidden_weak.
40383         (waitpid): Define as alias of __waitpid.
40384         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40385         __libc_waitpid alias.
40386         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40387         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40388         Likewise.
40389         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40390         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40391         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40392         alias.
40393         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40394         __waitpid.
40395         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40396         libc_hidden_weak.
40397         (waitpid): Define as alias of __waitpid.
40399 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40401         * manual/llio.texi: Add comment that write safety has been
40402         fixed in Linux.
40404         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40405         (localplt-build-dso): Add elf/ld.so.
40406         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40407         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40408         and free for ld.so.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40410         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40412         Likewise.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40414         Likewise.
40415         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40416         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40417         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40418         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40419         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40420         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40421         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40422         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40423         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40424         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40425         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40427 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40429         [BZ #14132]
40430         * include/libc-symbols.h (INTUSE): Remove macro.
40431         (INTDEF): Likewise.
40432         (INTVARDEF): Likewise.
40433         (_INTVARDEF): Likewise.
40434         (INTDEF2): Likewise.
40435         (INTVARDEF2): Likewise.
40436         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40437         rtld_hidden_def instead of INTVARDEF.
40438         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40439         (_dl_starting_up_internal): Remove declaration.
40440         (_dl_starting_up): Use rtld_hidden_proto.
40441         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40442         declaration.
40443         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40444         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40445         _dl_starting_up.
40446         * elf/dl-writev.h (_dl_writev): Likewise.
40447         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40448         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40449         _dl_starting_up_internal.
40451 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40453         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40454         test-skeleton.c.
40456 2014-11-05  Will Newton  <will.newton@linaro.org>
40458         * benchtests/Makefile: (bench-malloc): Add malloc thread
40459         scalability benchmark.
40460         * benchtests/bench-malloc-threads.c: New file.
40462 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40464         * sysdeps/aarch64/strchrnul.S: New file.
40466 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40468         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40469         definition.
40470         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40471         Likewise.
40472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40473         Likewise.
40474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40475         Likewise.
40476         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40477         Likewise.
40478         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40479         Likewise.
40481 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
40483         * catgets/test-gencat.c: Use test-skeleton.c.
40484         * catgets/tst-catgets.c: Likewise.
40485         * csu/tst-empty.c: Likewise.
40486         * elf/tst-audit2.c: Likewise.
40487         * elf/tst-global1.c: Likewise.
40488         * elf/tst-pathopt.c: Likewise.
40489         * elf/tst-piemod1.c: Likewise.
40490         * elf/tst-tls10.c: Likewise.
40491         * elf/tst-tls11.c: Likewise.
40492         * elf/tst-tls12.c: Likewise.
40493         * gnulib/tst-gcc.c: Likewise.
40494         * iconvdata/tst-e2big.c: Likewise.
40495         * iconvdata/tst-loading.c: Likewise.
40496         * iconv/tst-iconv1.c: Likewise.
40497         * iconv/tst-iconv2.c: Likewise.
40498         * inet/test-inet6_opt.c: Likewise.
40499         * inet/tst-gethnm.c: Likewise.
40500         * inet/tst-network.c: Likewise.
40501         * inet/tst-ntoa.c: Likewise.
40502         * intl/tst-codeset.c: Likewise.
40503         * intl/tst-gettext2.c: Likewise.
40504         * intl/tst-gettext3.c: Likewise.
40505         * intl/tst-ngettext.c: Likewise.
40506         * intl/tst-translit.c: Likewise.
40507         * io/test-stat.c: Likewise.
40508         * libio/test-fmemopen.c: Likewise.
40509         * libio/tst-freopen.c: Likewise.
40510         * libio/tst-sscanf.c: Likewise.
40511         * libio/tst-ungetwc1.c: Likewise.
40512         * libio/tst-ungetwc2.c: Likewise.
40513         * libio/tst-widetext.c: Likewise.
40514         * localedata/tst-ctype.c: Likewise.
40515         * localedata/tst-digits.c: Likewise.
40516         * localedata/tst-leaks.c: Likewise.
40517         * localedata/tst-mbswcs1.c: Likewise.
40518         * localedata/tst-mbswcs2.c: Likewise.
40519         * localedata/tst-mbswcs3.c: Likewise.
40520         * localedata/tst-mbswcs4.c: Likewise.
40521         * localedata/tst-mbswcs5.c: Likewise.
40522         * localedata/tst-setlocale.c: Likewise.
40523         * localedata/tst-trans.c: Likewise.
40524         * localedata/tst-wctype.c: Likewise.
40525         * localedata/tst-xlocale1.c: Likewise.
40526         * login/tst-grantpt.c: Likewise.
40527         * malloc/tst-calloc.c: Likewise.
40528         * malloc/tst-malloc.c: Likewise.
40529         * malloc/tst-mallocstate.c: Likewise.
40530         * malloc/tst-mcheck.c: Likewise.
40531         * malloc/tst-mtrace.c: Likewise.
40532         * malloc/tst-obstack.c: Likewise.
40533         * math/atest-exp2.c: Likewise.
40534         * math/atest-exp.c: Likewise.
40535         * math/atest-sincos.c: Likewise.
40536         * math/test-matherr.c: Likewise.
40537         * math/test-misc.c: Likewise.
40538         * math/test-powl.c: Likewise.
40539         * math/tst-definitions.c: Likewise.
40540         * misc/tst-dirname.c: Likewise.
40541         * misc/tst-efgcvt.c: Likewise.
40542         * misc/tst-fdset.c: Likewise.
40543         * misc/tst-hsearch.c: Likewise.
40544         * misc/tst-mntent2.c: Likewise.
40545         * nptl/tst-sem7.c: Likewise.
40546         * nptl/tst-sem8.c: Likewise.
40547         * nptl/tst-sem9.c: Likewise.
40548         * nss/test-netdb.c: Likewise.
40549         * posix/tst-fnmatch.c: Likewise.
40550         * posix/tst-getlogin.c: Likewise.
40551         * posix/tst-gnuglob.c: Likewise.
40552         * posix/tst-mmap.c: Likewise.
40553         * pwd/tst-getpw.c: Likewise.
40554         * resolv/tst-inet_ntop.c: Likewise.
40555         * rt/tst-timer.c: Likewise.
40556         * stdio-common/test-fseek.c: Likewise.
40557         * stdio-common/test-popen.c: Likewise.
40558         * stdio-common/test-vfprintf.c: Likewise.
40559         * stdio-common/tst-cookie.c: Likewise.
40560         * stdio-common/tst-fileno.c: Likewise.
40561         * stdio-common/tst-gets.c: Likewise.
40562         * stdio-common/tst-obprintf.c: Likewise.
40563         * stdio-common/tst-perror.c: Likewise.
40564         * stdio-common/tst-sprintf2.c: Likewise.
40565         * stdio-common/tst-sprintf3.c: Likewise.
40566         * stdio-common/tst-sprintf.c: Likewise.
40567         * stdio-common/tst-swprintf.c: Likewise.
40568         * stdio-common/tst-tmpnam.c: Likewise.
40569         * stdio-common/tst-unbputc.c: Likewise.
40570         * stdio-common/tst-wc-printf.c: Likewise.
40571         * stdlib/tst-environ.c: Likewise.
40572         * stdlib/tst-fmtmsg.c: Likewise.
40573         * stdlib/tst-limits.c: Likewise.
40574         * stdlib/tst-rand48-2.c: Likewise.
40575         * stdlib/tst-rand48.c: Likewise.
40576         * stdlib/tst-random2.c: Likewise.
40577         * stdlib/tst-random.c: Likewise.
40578         * stdlib/tst-strtol.c: Likewise.
40579         * stdlib/tst-strtoll.c: Likewise.
40580         * stdlib/tst-tls-atexit.c: Likewise.
40581         * stdlib/tst-xpg-basename.c: Likewise.
40582         * string/test-ffs.c: Likewise.
40583         * string/tst-bswap.c: Likewise.
40584         * string/tst-inlcall.c: Likewise.
40585         * string/tst-strtok.c: Likewise.
40586         * string/tst-strxfrm.c: Likewise.
40587         * sysdeps/x86_64/tst-audit10.c: Likewise.
40588         * sysdeps/x86_64/tst-audit3.c: Likewise.
40589         * sysdeps/x86_64/tst-audit4.c: Likewise.
40590         * sysdeps/x86_64/tst-audit5.c: Likewise.
40591         * time/tst-ftime_l.c: Likewise.
40592         * time/tst-getdate.c: Likewise.
40593         * time/tst-mktime3.c: Likewise.
40594         * time/tst-mktime.c: Likewise.
40595         * time/tst-posixtz.c: Likewise.
40596         * time/tst-strptime2.c: Likewise.
40597         * time/tst-strptime3.c: Likewise.
40598         * wcsmbs/tst-btowc.c: Likewise.
40599         * wcsmbs/tst-mbrtowc.c: Likewise.
40600         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40601         * wcsmbs/tst-wchar-h.c: Likewise.
40602         * wcsmbs/tst-wcpncpy.c: Likewise.
40603         * wcsmbs/tst-wcrtomb.c: Likewise.
40604         * wcsmbs/tst-wcsnlen.c: Likewise.
40605         * wcsmbs/tst-wcstof.c: Likewise.
40607 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40609         [BZ #14132]
40610         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40611         INTDEF.
40612         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40613         declaration.
40614         (_dl_mcount): Use rtld_hidden_proto.
40615         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40616         _dl_mcount.
40617         * elf/rtld.c (_rtld_global_ro): Likewise.
40619         [BZ #14132]
40620         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40621         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40622         of _dl_init_internal.
40623         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40624         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40625         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40626         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40627         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40628         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40629         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40630         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40631         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40632         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40633         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40634         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40635         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40636         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40637         * sysdeps/tile/dl-start.S (_start): Likewise.
40638         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40639         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40641         [BZ #14132]
40642         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40643         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40644         (rtld_progname): Make macro definition unconditional.
40645         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40646         INTDEF.
40647         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40648         (dl_main): Likewise.
40649         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40650         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40651         instead of _dl_argv_internal.
40652         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40653         __GI__dl_argv instead of INTUSE(_dl_argv).
40654         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40655         __GI__dl_argv instead of _dl_argv_internal.
40657         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40658         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40659         macro.
40660         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40661         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40662         New macro.
40663         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40664         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40665         macro.
40666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40667         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40669 2014-11-04  Andreas Schwab  <schwab@suse.de>
40671         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40673 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40675         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40676         mtvsrd instruction in binary form.
40678 2014-11-03  Andreas Schwab  <schwab@suse.de>
40680         [BZ #17522]
40681         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40682         for less than MB_LEN_MAX use a local buffer of that size.
40683         * libio/tst-fputws.c: New file.
40684         * libio/Makefile (tests): Add tst-fputws.
40686 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40688         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40689         the size of the fpu_fr.fpu_dregs[] array.
40691 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40693         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40694         (__nanosleep): Do not define as alias.
40695         (nanosleep): Define as alias of __nanosleep.
40696         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40697         __libc_nanosleep name.
40699 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40701         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40702         install.texi in comment.
40704 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40706         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40707         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40708         ... add here and use lwsync or sync ...
40709         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40710         ... and add here using lwsync.
40712 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40714         * elf/dl-machine-reject-phdr.h: New file.
40715         * elf/dl-load.c: #include that.
40716         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40717         if that returned true.
40719 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40721         [BZ #17496]
40722         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40723         gen-as-const-headers chunk.  Add a big scare comment after the last
40724         safe place to touch before-compile.
40726 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40728         * manual/install.texi (Tools for Compilation): Update autoconf
40729         version requirements.
40730         * INSTALL: Regenerated.
40732         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40733         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40734         (__libc_pselect): Likewise.
40736         [BZ #14138]
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40742 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40744         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40745         correct barrier instruction.
40746         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40747         Likewise.
40748         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40749         Likewise.
40751 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40753         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40754         after defining inlines.  Instead, just use parens to defeat macro
40755         expansion of __isctype in its declaration.
40757 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40759         * include/sys/uio.h (__libc_readv): Remove declaration.
40760         (__libc_writev): Likewise.
40761         * misc/readv.c (__libc_readv): Rename to __readv.
40762         (__readv): Do not define as alias.
40763         (readv): Define as alias of __readv.
40764         * misc/writev.c (__libc_writev): Rename to __writev.
40765         (__writev): Do not define as alias.
40766         (writev): Define as alias of __writev.
40767         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40768         (__readv): Do not define as alias.
40769         (readv): Define unconditionally as alias of __readv.
40770         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40771         (__writev): Do not define as alias.
40772         (writev): Define unconditionally as alias of __writev.
40773         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40774         name.
40775         (writev): Do not define __libc_writev name.
40777 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40779         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40780         (convert_charseq): New function, broken out of ...
40781         (use_from_charmap): ... here.  Call it.
40782         (use_to_charmap): Use convert_charseq and free instead of duplicating
40783         its code with a variable-length stack struct.
40785 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40787         * include/fcntl.h (__libc_creat): Remove declaration.
40788         * io/creat.c (__libc_creat): Rename to creat.
40789         (creat): Do not define as alias.
40790         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40791         of creat instead of __libc_creat.
40792         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40793         to creat.
40794         (creat): Do not define as alias.
40795         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40796         __libc_creat.
40797         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40798         __libc_creat name.
40799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40800         Likewise.
40802 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40804         * manual/llio.texi: Add comments discussing why write() may be
40805         considered MT-unsafe on Linux.
40807 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40809         * dl-load.c (local_strdup): Remove.
40810         (expand_dynamic_string_token): Use __strdup.
40811         (decompose_rpath): Likewise.
40812         (_dl_map_object): Likewise.
40814 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40816         [BZ #14132]
40817         * sysdeps/generic/unwind-dw2-fde.c
40818         (__register_frame_info_bases_internal): Do not declare.
40819         (__register_frame_info_table_bases_internal): Likewise.
40820         (__deregister_frame_info_bases_internal): Likewise.
40821         (__register_frame_info_bases): Declare and use hidden_proto before
40822         definition.  Use hidden_def instead of INTDEF.
40823         (__register_frame_info_table_bases): Likewise.
40824         (__deregister_frame_info_bases): Likewise.
40825         (__register_frame_info): Do not use INTUSE.
40826         (__register_frame): Likewise.
40827         (__register_frame_info_table): Likewise.
40828         (__register_frame_table): Likewise.
40829         (__deregister_frame_info): Likewise.
40830         (__deregister_frame): Likewise.
40832 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40835         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40836         not undefine.
40837         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40838         Likewise.
40839         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40840         Likewise.
40842 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40844         [BZ #14138]
40845         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40846         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40847         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40848         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40849         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40850         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40851         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40852         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40853         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40854         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40855         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40856         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40857         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40858         syscall.
40859         (setfsuid): Likewise.
40860         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40861         (setfsuid): Likewise.
40862         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40863         (setfsuid): Likewise.
40864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40865         Likewise.
40866         (setfsuid): Likewise.
40867         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40868         (setfsuid): Likewise.
40869         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40870         Likewise.
40871         (setfsuid): Likewise.
40873 2014-10-27  Andreas Schwab  <schwab@suse.de>
40875         [BZ #17501]
40876         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40877         check for Slow_SSE4_2 feature bit.
40878         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40879         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40880         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40881         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40883 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40885         * configure.ac: Validate compiler version with a empirical test of
40886         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40887         $CC -v output.
40888         * configure: Regenerated.
40890         * inet/htons.c (htons): Prototypify.
40891         * inet/htonl.c (htonl): Likewise.
40893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40895         * string/strncat.c (strncat): Improve performance by using strlen.
40897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40899         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40903         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40904         Call libc_fetestexcept_aarch64.
40906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40908         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40909         Call libc_feholdexcept_aarch64.
40911 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40913         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40914         Call get_rounding_mode.
40916 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40918         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40919         Simplify logic.
40921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40923         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40924         Simplify logic.
40926 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #14138]
40929         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40930         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40931         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40932         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40933         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40934         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40935         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40936         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40937         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40938         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40939         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40940         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40941         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40942         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40943         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40944         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40945         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40946         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40947         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40948         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40949         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40950         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40951         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40952         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40953         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40954         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40955         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40956         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40957         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40958         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40959         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40960         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40961         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40962         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40963         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40964         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40965         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40966         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40967         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40968         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40969         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40970         syscall.
40971         (geteuid): Likewise.
40972         (getgid): Likewise.
40973         (getuid): Likewise.
40974         (getresgid): Likewise.
40975         (getresuid): Likewise.
40976         (getgroups): Likewise.
40977         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40978         (geteuid): Likewise.
40979         (getgid): Likewise.
40980         (getuid): Likewise.
40981         (getresgid): Likewise.
40982         (getresuid): Likewise.
40983         (getgroups): Likewise.
40984         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40985         (geteuid): Likewise.
40986         (getgid): Likewise.
40987         (getuid): Likewise.
40988         (getresgid): Likewise.
40989         (getresuid): Likewise.
40990         (getgroups): Likewise.
40991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40992         Likewise.
40993         (geteuid): Likewise.
40994         (getgid): Likewise.
40995         (getuid): Likewise.
40996         (getresgid): Likewise.
40997         (getresuid): Likewise.
40998         (getgroups): Likewise.
40999         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41000         (geteuid): Likewise.
41001         (getgid): Likewise.
41002         (getuid): Likewise.
41003         (getresgid): Likewise.
41004         (getresuid): Likewise.
41005         (getgroups): Likewise.
41006         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41007         Likewise.
41008         (geteuid): Likewise.
41009         (getgid): Likewise.
41010         (getuid): Likewise.
41011         (getgroups): Likewise.
41013         [BZ #14138]
41014         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41015         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41016         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41017         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41018         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41019         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41020         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41021         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41022         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41023         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41024         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41025         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41026         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41027         __chown.
41028         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41029         (lchown): Likewise.
41030         (fchown): Likewise.
41031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41032         Likewise.
41033         (lchown): Likewise.
41034         (fchown): Likewise.
41035         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41036         (lchown): Likewise.
41037         (fchown): Likewise.
41038         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41039         Likewise.
41040         (lchown): Likewise.
41041         (fchown): Likewise.
41043 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41045         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41046         Simplify logic.
41048 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41050         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41051         Cleanup logic.
41053 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41055         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41056         Remove unused include.
41058 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41060         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41061         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41062         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41063         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41065 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41066             Helge Deller <deller@gmx.de>
41068         [BZ #17508]
41069         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41070         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41071         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41073 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41075         [BZ #14132]
41076         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41077         Remove macro definition.
41078         (__ashrdi3_v_glibc20): Likewise.
41079         (__lshrdi3_v_glibc20): Likewise.
41080         (__cmpdi2_v_glibc20): Likewise.
41081         (__ucmpdi2_v_glibc20): Likewise.
41082         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41083         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41084         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41085         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41086         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41087         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41089 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41091         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41092         old GNU extension [0] syntax.
41093         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41094         alloca rather than an array member with variable length.
41095         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41096         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41097         (parse_opt): ... here.  Likewise use alloca there.
41098         Validate the -i argument before checking for rootness.
41099         (send_shutdown): New function, broken out of ...
41100         (parse_opt): ... here.
41102 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41104         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41105         macro to get at the _rt_local_ro field.
41106         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41107         ([PIC] case) or _dl_hwcap ([!PIC] case).
41108         * sysdeps/arm/setjmp.S: Likewise.
41110         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41111         * sysdeps/arm/configure.ac: New check to define it.
41112         * sysdeps/arm/configure: Regenerated.
41113         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41114         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41115         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41116         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41117         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41118         Use move/movt pair instead of a load.
41119         (LDST_GLOBAL): Macro removed.
41120         (LDR_GLOBAL): New macro replaces it.
41121         (LDR_HIDDEN): New macro.
41122         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41123         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41125         * setjmp/tst-setjmp-static.c: New file.
41126         * setjmp/Makefile (tests): Add it.
41127         (tests-static): New variable.
41129 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41131         [BZ #17485]
41132         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41134 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41136         [BZ #14132]
41137         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41139 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41141         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41143 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41145         * io/fts.c (dirent_not_directory): New function.
41146         (fts_build): Call it.
41148 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41150         * nptl/version.c (__nptl_main): Use normal __write rather than
41151         INTERNAL_SYSCALL.
41152         (banner): Update copyright years.
41154         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41155         gettimeofday.
41156         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41157         * nptl/pthread_cond_timedwait.c: Likewise.
41158         * nptl/pthread_mutex_timedlock.c: Likewise.
41159         * nptl/sem_timedwait.c: Likewise.
41161         * sysdeps/nptl/bits/libc-lock.h
41162         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41163         (__libc_lock_init_recursive): Return void, not 0.
41164         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41165         (__libc_rwlock_init): Likewise.
41166         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41168 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41170         [BZ #15215]
41171         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41172         (__pthread_once_slow): ... here.
41173         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41174         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41176 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41178         [BZ #15215]
41179         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41180         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41181         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41182         * nptl/pthread_once.c (__pthread_once): Likewise.
41183         Update comments.
41185 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41187         [BZ #14138]
41188         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41189         name.
41190         (writev): Use __libc_writev as strong name.
41191         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41192         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41194 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41196         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41198         * sysdeps/i386/nptl/tls.h
41199         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41200         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41201         New macros.
41202         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41203         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41204         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41205         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41206         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41207         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41209         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41210         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41211         on [__NR_futex].
41212         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41213         broken out of ...
41214         (__pthread_mutex_init): ... here.  Call it.
41215         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41216         Conditionalize PI cases on [__NR_futex].
41217         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41218         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41219         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41221         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41222         conditional on [SIGSETXID].
41223         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41224         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41225         is defined.  Likewise for SIGSETXID.
41226         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41227         Conditionalize definitions on [SIGSETXID].
41228         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41229         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41230         unblocking on [SIGCANCEL].
41232         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41233         [__NR_set_robust_list].
41235 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41237         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41238         (do_compare): Likewise.
41240 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41242         [BZ #15884]
41243         * string/strcoll_l.c: Don't include stdio.h.
41244         (coll_seq): Remove members idxarr and rulearr.
41245         (get_next_seq_cached): Remove function.
41246         (get_next_seq): Likewise.
41247         (get_next_seq_nocache): Rename to get_next_seq.
41248         (do_compare): Remove function.
41249         (do_compare_nocache): Rename to do_compare.
41250         (STRCOLL): Remove weight and rules cache.
41252 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41254         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41255         * sysdeps/arm/sfp-machine.h: ... to here.
41256         * sysdeps/arm/Implies: Remove arm/soft-fp.
41258 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41260         * conform/data/sys/utsname.h-data (*_t): Allow.
41261         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41262         [POSIX] (WEXITED): Do not expect constant.
41263         [POSIX] (WSTOPPED): Likewise.
41264         [POSIX] (WNOHANG): Likewise.
41265         [POSIX] (WNOWAIT): Likewise.
41266         [POSIX] (siginfo_t): Do not expect type or elements.
41267         [POSIX] (pid_t): Do not expect type.
41268         [POSIX] (signal.h): Do not allow header.
41269         [POSIX] (sys/resource.h): Likewise.
41270         [POSIX] (si_*): Do not allow pattern.
41271         [POSIX] (W*): Likewise.
41272         [POSIX] (P_*): Likewise.
41273         [POSIX] (BUS_*): Likewise.
41274         [POSIX] (CLD_*): Likewise.
41275         [POSIX] (FPE_*): Likewise.
41276         [POSIX] (ILL_*): Likewise.
41277         [POSIX] (POLL_*): Likewise.
41278         [POSIX] (SEGV_*): Likewise.
41279         [POSIX] (SI_*): Likewise.
41280         [POSIX] (TRAP_*): Likewise.
41281         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41282         variable.
41284 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41286         [BZ #12926]
41287         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41288         infinite loop when __recvmsg returns 0.
41290 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41292         * CANCEL-FCT-WAIVE: Remove file.
41293         * CANCEL-FILE-WAIVE: Likewise.
41295         [BZ #14132]
41296         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41297         instead of INTVARDEF.
41298         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41299         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41300         rtld_hidden_data_def instead of INTVARDEF.
41301         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41302         * elf/dl-deps.c (expand_dst): Likewise.
41303         * elf/dl-load.c (_dl_dst_count): Likewise.
41304         (_dl_dst_substitute): Likewise.
41305         (decompose_rpath): Likewise.
41306         (_dl_init_paths): Likewise.
41307         (open_path): Likewise.
41308         (_dl_map_object): Likewise.
41309         * elf/rtld.c (dl_main): Likewise.
41310         (process_dl_audit): Likewise.
41311         (process_envvars): Likewise.
41312         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41313         Remove declaration.
41314         (__libc_enable_secure): Use rtld_hidden_proto.
41316 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41318         * elf/dl-load.c
41319         (add_path): New function broken out of _dl_rtld_di_serinfo.
41320         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41322 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41324         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41325         parentheses around macro arguments.
41326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41337         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41341         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41342         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41355         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41358         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41359         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41360         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41361         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41362         Likewise.
41363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41364         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41365         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41368         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41370         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41371         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41372         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41373         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41374         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41375         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41384         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41387         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41388         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41389         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41390         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41391         (_FP_FRAC_SRS_1): Likewise.
41392         (_FP_FRAC_CLZ_1): Likewise.
41393         (_FP_MUL_MEAT_1_imm): Likewise.
41394         (_FP_MUL_MEAT_1_wide): Likewise.
41395         (_FP_MUL_MEAT_1_hard): Likewise.
41396         (_FP_SQRT_MEAT_1): Likewise.
41397         (_FP_FRAC_ASSEMBLE_1): Likewise.
41398         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41399         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41400         (__FP_CLZ_2): Likewise.
41401         (_FP_MUL_MEAT_2_wide): Likewise.
41402         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41403         (_FP_MUL_MEAT_2_gmp): Likewise.
41404         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41405         (_FP_SQRT_MEAT_2): Likewise.
41406         (_FP_FRAC_ASSEMBLE_2): Likewise.
41407         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41408         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41409         (_FP_FRAC_CLZ_4): Likewise.
41410         (_FP_MUL_MEAT_4_wide): Likewise.
41411         (_FP_MUL_MEAT_4_gmp): Likewise.
41412         (_FP_SQRT_MEAT_4): Likewise.
41413         (_FP_FRAC_ASSEMBLE_4): Likewise.
41414         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41415         * soft-fp/op-common.h (_FP_CMP): Likewise.
41416         (_FP_CMP_EQ): Likewise.
41417         (_FP_CMP_UNORD): Likewise.
41418         (_FP_TO_INT): Likewise.
41419         (_FP_FROM_INT): Likewise.
41420         [!__FP_CLZ] (__FP_CLZ): Likewise.
41421         (_FP_DIV_HELP_imm): Likewise.
41422         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41423         Likewise.
41424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41429         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41434         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41435         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41437         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41438         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41439         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41440         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41453         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41455         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41456         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41457         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41458         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41459         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41460         (FP_UNPACK_RAW_SP): Likewise.
41461         (FP_PACK_RAW_S): Likewise.
41462         (FP_PACK_RAW_SP): Likewise.
41463         (FP_UNPACK_S): Likewise.
41464         (FP_UNPACK_SP): Likewise.
41465         (FP_UNPACK_SEMIRAW_S): Likewise.
41466         (FP_UNPACK_SEMIRAW_SP): Likewise.
41467         (FP_PACK_S): Likewise.
41468         (FP_PACK_SP): Likewise.
41469         (FP_PACK_SEMIRAW_S): Likewise.
41470         (FP_PACK_SEMIRAW_SP): Likewise.
41471         (_FP_SQRT_MEAT_S): Likewise.
41472         (FP_CMP_S): Likewise.
41473         (FP_CMP_EQ_S): Likewise.
41474         (FP_CMP_UNORD_S): Likewise.
41475         (FP_TO_INT_S): Likewise.
41476         (FP_FROM_INT_S): Likewise.
41478         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41480         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41481         (FP_EX_INVALID_IMZ): Likewise.
41482         (FP_EX_INVALID_IMZ_FMA): Likewise.
41483         (FP_EX_INVALID_ISI): Likewise.
41484         (FP_EX_INVALID_ZDZ): Likewise.
41485         (FP_EX_INVALID_IDI): Likewise.
41486         (FP_EX_INVALID_SQRT): Likewise.
41487         (FP_EX_INVALID_CVI): Likewise.
41488         (FP_EX_INVALID_VC): Likewise.
41489         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41490         "invalid" exceptions.
41491         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41492         (_FP_ADD_INTERNAL): Likewise.
41493         (_FP_MUL): Likewise.
41494         (_FP_FMA): Likewise.
41495         (_FP_DIV): Likewise.
41496         (_FP_CMP_CHECK_NAN): Likewise.
41497         (_FP_SQRT): Likewise.
41498         (_FP_TO_INT): Likewise.
41499         (FP_EXTEND): Likewise.
41501 2014-10-09  Allan McRae  <allan@archlinux.org>
41503         * po/fr.po: Update French translation from translation project.
41505 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41507         [BZ #14132]
41508         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41509         of INTDEF.
41510         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41511         (__cxa_atexit): Use libc_hidden_proto.
41512         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41514         [BZ #14132]
41515         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41516         declaration.
41517         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41518         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41519         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41520         [!_ISOMAC] (__iswctype_internal): Likewise.
41521         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41522         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41523         alias.
41524         (fcntl): Remove __fcntl_internal alias.
41525         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41526         __connect_internal alias.
41527         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41528         Likewise.
41530         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41531         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41532         FP_DENORM_ZERO.
41533         (_FP_CHECK_FLUSH_ZERO): New macro.
41534         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41535         (_FP_CMP): Likewise.
41536         (_FP_CMP_EQ): Likewise.
41537         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41538         FP_DENORM_ZERO.
41539         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41540         (FP_TRUNC): Likewise.
41542         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41543         treated as invalid conversion, not as normal exponent.
41545         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41546         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41547         (_FP_CMP_EQ): Likewise.
41548         (_FP_CMP_UNORD): Likewise.
41549         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41550         (FP_CMP_EQ_D): Likewise.
41551         (FP_CMP_UNORD_D): Likewise.
41552         * soft-fp/extended.h (FP_CMP_E): Likewise.
41553         (FP_CMP_EQ_E): Likewise.
41554         (FP_CMP_UNORD_E): Likewise.
41555         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41556         (FP_CMP_EQ_Q): Likewise.
41557         (FP_CMP_UNORD_Q): Likewise.
41558         * soft-fp/single.h (FP_CMP_S): Likewise.
41559         (FP_CMP_EQ_S): Likewise.
41560         (FP_CMP_UNORD_S): Likewise.
41561         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41562         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41563         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41564         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41565         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41566         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41567         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41568         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41569         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41570         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41571         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41572         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41573         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41574         to FP_CMP_Q.
41575         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41576         FP_CMP_Q.
41577         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41578         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41579         FP_CMP_EQ_Q.
41580         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41581         FP_CMP_Q.
41582         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41583         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41584         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41585         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41586         FP_CMP_EQ_Q.
41587         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41588         FP_CMP_Q.
41589         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41590         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41591         FP_CMP_EQ_Q.
41592         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41593         FP_CMP_Q.
41594         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41595         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41596         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41597         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41598         FP_CMP_EQ_Q.
41600         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41601         a subnormal result, set the underflow exception if trapping on
41602         underflow is enabled.
41603         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41604         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41605         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41606         redefine to 0.
41607         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41608         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41609         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41610         * soft-fp/extendxftf2.c (__extendxftf2): Use
41611         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41613         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41614         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41615         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41616         FP_HANDLE_EXCEPTIONS.
41617         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41618         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41619         FP_HANDLE_EXCEPTIONS.
41620         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41621         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41622         FP_HANDLE_EXCEPTIONS.
41623         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41624         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41625         FP_HANDLE_EXCEPTIONS.
41627 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41629         [BZ #14132]
41630         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41631         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41632         use INTUSE.
41633         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41634         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41635         Remove alias.
41636         (__adjtimex): Define using libc_hidden_ver.
41637         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41638         Remove declaration.
41639         (ntp_gettime): Call __adjtimex directly.
41640         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41641         Remove declaration.
41642         (ntp_gettimex): Call __adjtimex directly.
41643         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41644         __adjtimex_internal alias.
41646 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41648         [BZ #17460]
41649         * nscd/nscd.c (more_help): Rewrite list of tables collection
41650         using xstrdup and asprintf.
41652         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41654 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41655             Roland McGrath  <roland@hack.frob.com>
41657         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41658         (do_lookup_unique): ... local function 'enter' here; update callers.
41660 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41662         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41663         compat_symbol calls on [SHARED].
41664         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41665         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41666         Remove.
41667         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41668         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41669         (oldsetrlimit): Remove.
41670         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41672         (lchown): New syscall entry.
41673         (oldsetrlimit): Remove.
41674         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41675         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41676         (oldsetrlimit): Remove.
41677         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41679         [BZ #14138]
41680         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41681         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41682         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41683         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41684         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41685         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41686         (fchown): Likewise.
41687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41688         (fchown): Likewise.
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41690         Likewise.
41692 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41695         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41696         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41697         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41698         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41699         Likewise.
41700         (__old_sem_post): Likewise.
41702 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41704         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41705         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41706         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41707         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41708         Use INLINE_VSYSCALL macro.
41709         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41710         __vdso_clock_gettime.
41711         * sysdeps/unix/sysv/linux/tile/init-first.c
41712         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41713         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41714         __vdso_clock_gettime.
41716         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41717         to set up frame more cleanly.
41719         * sysdeps/tile/memcmp.c: New file.
41721         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41723         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41724         * sysdeps/tile/tilegx/strcasestr.c: New file.
41725         * sysdeps/tile/tilegx/strnlen.c: New file.
41726         * sysdeps/tile/tilegx/strstr.c: New file.
41728         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41730 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41732         * nptl/tst-setuid3.c: Write errors to stdout.
41734 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41736         * elf/dl-deps.c
41737         (preload): New functions broken out of _dl_map_object_deps.
41738         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41740 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41742         [BZ #14138]
41743         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41744         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41746 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41748         * sysdeps/mips/strcmp.S: New.
41750 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41752         [BZ #14138]
41753         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41754         (linkat): Likewise.
41755         (mkdirat): Likewise.
41756         (readlinkat): Likewise.
41757         (renameat): Likewise.
41758         (symlinkat): Likewise.
41759         (unlinkat): Likewise.
41760         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41761         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41762         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41763         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41764         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41765         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41766         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41768 2014-09-30  Will Newton  <will.newton@linaro.org>
41770         * math/math.h: Define long double math functions if
41771         _LIBC_TEST is defined.
41772         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41774         * localedata/Makefile: Move assignment to tests-special
41775         into an ifdef testing run-built-tests.
41776         * timezone/Makefile: Likewise.
41778 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41780         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41781         with $(BASH) not $(SHELL).
41783 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41784             Matthew LeGendre  <legendre1@llnl.gov>
41786         [BZ #17411]
41787         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41788         l_reloc_result.
41790 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41792         * stdio-common/printf_fp.c
41793         (hack_digit): New function, broken out of ...
41794         (__printf_fp): ... local function here.  Update call sites.
41795         hack_digit now takes an additional parameter that is a pointer
41796         to a struct of the referenced locals.  Those locals moved inside
41797         the struct and references updated.
41799 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41801         * aclocal.m4: Require autoconf 2.69.
41802         * configure: Regenerated.
41803         * sysdeps/aarch64/configure: Likewise.
41804         * sysdeps/alpha/configure: Likewise.
41805         * sysdeps/arm/armv7/configure: Likewise.
41806         * sysdeps/arm/configure: Likewise.
41807         * sysdeps/ia64/configure: Likewise.
41808         * sysdeps/mach/configure: Likewise.
41809         * sysdeps/mips/configure: Likewise.
41810         * sysdeps/s390/configure: Likewise.
41811         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41814         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41815         file.
41816         * sysdeps/ia64/configure.ac: Likewise.
41818 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41821         specify symbol version for ld.so.  Do not include entry for
41822         libpthread.
41823         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41824         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41825         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41827         [BZ #14171]
41828         * Makeconfig [$(build-shared) = yes]
41829         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41830         makefiles.
41831         [$(build-shared) = yes && $(soversions.mk-done) = t]
41832         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41833         [$(build-shared) = yes && $(soversions.mk-done) = t]
41834         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41835         to Makerules.
41836         [$(build-shared) = yes && $(soversions.mk-done) = t]
41837         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41838         here.
41839         [$(build-shared) = yes && $(soversions.mk-done) = t]
41840         (common-generated): Don't append gnu/lib-names.h and
41841         gnu/lib-names.stmp here.
41842         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41843         (lib-names-h-abi): New variable.
41844         [$(build-shared) = yes && $(soversions.mk-done) = t]
41845         (lib-names-stmp-abi): Likewise.
41846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41847         abi-variants] (before-compile): Append
41848         $(common-objpfx)$(lib-names-h-abi).
41849         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41850         abi-variants] (common-generated): Append gnu/lib-names.h.
41851         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41852         abi-variants] (install-others-nosubdir): Depend on
41853         $(inst_includedir)/$(lib-names-h-abi).
41854         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41855         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41856         [$(build-shared) = yes && $(soversions.mk-done) = t]
41857         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41858         [$(build-shared) = yes && $(soversions.mk-done) = t]
41859         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41860         [$(build-shared) = yes && $(soversions.mk-done) = t]
41861         (common-generated): Append $(lib-names-h-abi) and
41862         $(lib-names-stmp-abi).
41863         * scripts/lib-names.awk: Do not handle multi being set.
41864         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41865         Remove variable.
41866         (abi-lp64_be-ld-soname): Likewise.
41867         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41868         Likewise.
41869         (abi-hard-ld-soname): Likewise.
41870         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41871         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41872         Remove variable.
41873         (abi-o32_hard-ld-soname): Likewise.
41874         (abi-o32_soft_2008-ld-soname): Likewise.
41875         (abi-o32_hard_2008-ld-soname): Likewise.
41876         (abi-n32_soft-ld-soname): Likewise.
41877         (abi-n32_hard-ld-soname): Likewise.
41878         (abi-n32_soft_2008-ld-soname): Likewise.
41879         (abi-n32_hard_2008-ld-soname): Likewise.
41880         (abi-n64_soft-ld-soname): Likewise.
41881         (abi-n64_hard-ld-soname): Likewise.
41882         (abi-n64_soft_2008-ld-soname): Likewise.
41883         (abi-n64_hard_2008-ld-soname): Likewise.
41884         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41885         Likewise.
41886         (abi-64-v2-ld-soname): Likewise.
41887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41888         ld.so entries.
41889         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41890         variable.
41891         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41892         entry.
41893         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41894         variable.
41895         (abi-64-ld-soname): Likewise.
41896         (abi-x32-ld-soname): Likewise.
41897         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41898         entry.
41899         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41901 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41903         [BZ #14138]
41904         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41905         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41906         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41907         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41908         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41909         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41910         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41911         syscall entry for GLIBC_2.2 symbol version.
41912         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41913         Likewise.
41914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41915         (setrlimit): Likewise.
41916         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41917         Likewise.
41919 2014-09-23  Will Newton  <will.newton@linaro.org>
41921         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41922         _LINUX_ARM_SYSDEP_H include guard too.
41923         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41924         define.
41926 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41928         * sysdeps/unix/sysv/linux/eventfd.c:
41929         Make first argument unsigned.
41930         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41931         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41933 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41935         [BZ #16852]
41936         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41937         * socket/sys/socket.h: Likewise.
41938         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41940 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41942         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41944 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41946         * time/tst-ftime.c: New test.
41947         * time/Makefile (tests): Add tst-ftime.
41949 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41951         * soft-fp/extended.h: Fix comment formatting.
41952         * soft-fp/op-1.h: Likewise.
41953         * soft-fp/op-2.h: Likewise.
41954         * soft-fp/op-4.h: Likewise.
41955         * soft-fp/op-8.h: Likewise.
41956         * soft-fp/op-common.h: Likewise.
41957         * soft-fp/soft-fp.h: Likewise.
41959         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41961 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41963         [BZ #6652]
41964         * Makeconfig (soversions-default-setname): Remove variable.
41965         ($(common-objpfx)soversions.i): Don't pass default_setname to
41966         soversions.awk.
41967         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41968         oldest_abi to abi-versions.awk.
41969         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41970         * config.make.in (oldest-abi): Remove variable.
41971         * configure.ac (--enable-oldest-abi): Remove configure option.
41972         * configure: Regenerated.
41973         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41974         text.
41975         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41976         * scripts/soversions.awk: Do not handle default_setname variable.
41977         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41978         variable.
41979         * sysdeps/mach/hurd/configure: Regenerated.
41980         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41981         variable.
41982         * sysdeps/unix/sysv/linux/configure: Regenerated.
41984 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41986         * elf/Makefile (CFLAGS-interp.c): Remove.
41987         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41988         path string.
41989         * elf/interp.c: Include generated runtime-linker.h
41991         * Makerules (lib%.so): Don't include $(+interp) in
41992         prerequisites.
41993         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41994         * dlfcn/eval.c: Remove file.
41996         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41997         macros.
41999         [BZ #17266]
42000         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42001         4.2 and newer.
42003         [BZ #17370]
42004         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42006 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42007             Jakub Jelinek  <jakub@redhat.com>
42009         [BZ #17266]
42010         * libio/stdio.h: Check definition of __fortify_function
42011         instead of __extern_always_inline to include bits/stdio2.h.
42012         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42013         check if __extern_always_inline is defined.
42014         [__USE_MISC || __USE_XOPEN]: Likewise.
42015         [__USE_ISOC99] Likewise.
42016         * misc/sys/cdefs.h (__fortify_function): Define only if
42017         __extern_always_inline is defined.
42018         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42019         __extern_always_inline and __extern_inline only for g++-4.3
42020         and newer or a compatible gcc.
42022 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42024         [BZ #17371]
42025         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42026         last change to handle zero prefix length.
42028 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42030         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42031         _SC_REGEX_VERSION.
42033         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42034         _POSIX_RAW_SOCKETS.
42036 2014-09-13  Allan McRae  <allan@archlinux.org>
42038         * po/ru.po: Update Russian translation from translation project.
42040 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42042         * locale/programs/locale.c (show_locale_vars): Inline local function
42043         into its sole call site.  Clean up some style nits.
42044         (print_item): New function, broken out of ...
42045         (show_info): ... local function here.  Clean up style nits.
42047         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42048         out of ...
42049         (set_class_defaults): ... local function set_default here.
42050         Define set_default as a macro locally to pass constant parameters.
42051         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42052         rather than a shared local.
42054         * stdlib/rpmatch.c (try): New function, broken out of ...
42055         (rpmatch): ... local function here.  Also, prototypify definition.
42057 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42059         * scripts/soversions.awk: Do not handle configuration names.
42060         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42061         vendor and os variables to soversions.awk.
42062         * configure.ac: Do not modify gnu-* host_os.
42063         * configure: Regenerated
42064         * shlib-versions: Remove first column with configuration names.
42065         * nptl/shlib-versions: Likewise.
42066         * nptl_db/shlib-versions: Likewise.
42067         * sysdeps/hppa/shlib-versions: Likewise.
42068         * sysdeps/m68k/shlib-versions: Likewise.
42069         * sysdeps/mach/hurd/shlib-versions: Likewise.
42070         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42071         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42072         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42073         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42074         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42075         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42076         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42077         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42079         Likewise.
42080         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42081         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42082         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42083         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42084         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42085         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42086         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42087         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42090         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42092         Regenerated.
42093         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42095         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42097         * shlib-versions: Remove OS-specific entries.  Moved to files in
42098         sysdeps.
42099         * sysdeps/mach/hurd/shlib-versions: New file.
42100         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42102         * nptl/shlib-versions: Remove architecture-specific entries.
42103         Moved to files in sysdeps.
42104         * shlib-versions: Likewise.
42105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42106         file.
42107         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42108         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42109         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42110         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42112         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42113         (UDP_NO_CHECK6_RX): Likewise.
42115 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42117         * sysdeps/posix/sysconf.c (__sysconf): Spell
42118         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42120 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42122         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42123         loading.
42124         * iconv/Versions (__gconv_transliterate): Export for use from
42125         gconv modules.
42126         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42127         (struct __gconv_trans_data, __gconv_trans_fct,
42128         __gconv_trans_context_fct, __gconv_trans_query_fct,
42129         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42130         definitions.
42131         (struct __gconv_step_data): Remove __trans member.
42132         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42133         longer hidden.  Remove unused trans_data argument.
42134         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42135         (__gconv_translit_find): Remove declaration.
42136         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42137         prototype.
42138         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42139         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42140         trans_data argument.  Add hidden definition.
42141         (__gconv_translit_find): Remove.
42142         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42143         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42144         * iconv/skeleton.c: Remove transliteration initialization.
42145         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42146         __gconv_step_data initialization.
42147         * libio/iofwide.c (__libio_translit_): Remove.
42148         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42149         * wcsmbs/btowc.c (__btowc): Likewise.
42150         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42151         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42152         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42153         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42154         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42155         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42156         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42157         * wcsmbs/wctob.c (wctob): Likewise.
42159 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42161         [BZ #16194]
42162         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42163         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42164         register usage.
42165         * sysdeps/x86/Makefile: Adjust.
42167 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42168             Roland McGrath  <roland@hack.frob.com>
42170         * locale/weight.h: Add include guard.
42171         (findidx): Make static rather than auto; take new parameters
42172         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42173         * locale/weightwc.h: Likewise.
42174         * posix/fnmatch_loop.c
42175         (FCT): Change type of EXTRA from int32_t to wint_t.
42176         Don't include either header inside the function.
42177         Call FINDIDX rather than findidx, and pass new arguments.
42178         #undef FINDIDX at the end of the file.
42179         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42180         FINDIDX before including fnmatch_loop.c for the non-wide version.
42181         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42182         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42183         for the wide version.
42184         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42185         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42186         Pass new arguments to findidx.
42187         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42188         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42189         Don't #include it inside the function.  Pass new arguments to findidx.
42190         * posix/regex_internal.h
42191         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42192         (re_string_elem_size_at): Don't #include it inside the function.
42193         Pass new arguments to findidx.
42194         * string/strcoll_l.c: #include WEIGHT_H at top level.
42195         (get_next_seq): Don't #include it inside the function.
42196         Pass new arguments to findidx.
42197         (get_next_seq_nocache): Likewise.
42198         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42199         (STRXFRM): Don't #include it inside the function.
42200         Pass new arguments to findidx.
42202 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42204         [BZ #17344]
42205         * malloc/malloc.c (unlink): Turn asserts into a call to
42206         malloc_printerr.
42208 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42210         [BZ #17370]
42211         * libio/wfileops (do_ftell_wide): Free OUT.
42213 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42215         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42217 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42219         [BZ #17363]
42220         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42221         group if the current group is empty.
42223 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42225         * benchtests/bench-memset.c (test_main): Add more test from size
42226         from 32 to 512 bytes.
42227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42228         Add POWER8 memset object.
42229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42230         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42231         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42232         implementation.
42233         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42234         Likewise.
42235         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42236         multiarch POWER8 memset optimization.
42237         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42238         POWER8 memset optimization.
42240         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42241         Remove bzero multiarch objects.
42242         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42243         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42245         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42246         Remove define.
42247         [__bzero]: Redefine to specific name.
42248         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42249         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42250         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42251         define.
42252         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42253         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42255 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42257         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42258         warnings into errors.
42260         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42261         __cxa_thread_atexit_impl prototype.
42263 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42265         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42266         Fix capitalization of error message.
42268 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42270         * sysdeps/mips/preconfigure: Modify ABI tests.
42272 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42274         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42276 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42277             Carlos O'Donell  <carlos@systemhalted.org>
42279         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42280         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42281         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42282         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42283         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42285         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42286         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42287         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42301         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42302         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42303         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42304         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42305         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42306         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42307         Deconditionalize the code that was previously under [RESET_PID].
42308         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42309         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42310         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42311         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42312         include sysdep.h.
42314 2014-09-08  Allan McRae  <allan@archlinux.org>
42316         * version.h (RELEASE): Set to "development".
42317         (VERSION): Set to "2.20.90"
42319 2014-09-07  Allan McRae  <allan@archlinux.org
42321         * version.h (RELEASE): Set to "stable".
42322         (VERSION): Set to "2.20"
42323         * include/features.h (__GLIBC_MINOR__): Set to 20.
42325         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42326         Liebler.
42328         * po/ko.po: Update Korean translation from translation project.
42330 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42332         [BZ #17354]
42333         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42334         macro for handling signed relocations.
42336 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42338         [BZ #17325]
42339         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42340         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42341         assert.
42342         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42343         * iconvdata/ibm935.c (BODY): Likewise.
42344         * iconvdata/ibm937.c (BODY): Likewise.
42345         * iconvdata/ibm939.c (BODY): Likewise.
42346         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42347         assert.
42348         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42349         script.
42350         * iconvdata/run-iconv-test.sh: New test loop for checking for
42351         decoder crashers.
42353 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42355         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42356         libm_hidden_ver.
42358 2014-09-01  Allan McRae  <allan@archlinux.org>
42360         * po/eo.po: Update Esperanto translation from translation project.
42362         * po/ca.po: Update Catalan translation from translation project.
42364 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42366         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42367         __proc_dostop call.
42369 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42371         [BZ #17319]
42372         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42373         to call set_thread_area instead of hand written asm.
42374         (__NR_set_thread_area): Removed define.
42375         (TLS_FLAG_WRITABLE): Likewise.
42376         (__ASSUME_SET_THREAD_AREA): Remove check.
42377         (TLS_EBX_ARG): Remove define.
42378         (TLS_LOAD_EBX): Likewise.
42380 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42382         Simplify atomicity of socket creation in bind.
42384         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42385         looking up the name after linking the file.
42387 2014-08-27  Allan McRae  <allan@archlinux.org>
42389         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42391 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42393         [BZ #17187]
42394         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42395         trans_compare, open_translit, __gconv_translit_find):
42396         Remove module loading code.
42398 2014-08-26  Allan McRae  <allan@archlinux.org>
42400         * po/vi.po: Update Vietnamese translation from translation project.
42402         * po/uk.po: Update Ukrainian translation from translation project.
42404         * po/fr.po: Update French translation from translation project.
42406         * po/ru.po: Update Russian translation from translation project.
42408         * po/pl.po: Update Polish translation from translation project.
42410         * po/cs.po: Update Czech translation from translation project.
42412         * po/de.po: Update German translation from translation project.
42414         * po/bg.po: Update Bulgarian translation from translation project.
42416         * po/sv.po: Update Sweedish translation from translation project.
42418         * po/nl.po: Update Dutch translation from translation project.
42420         * po/es.po: Update Spanish translation from translation project.
42422 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42424         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42426         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42427         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42428         (CPPFLAGS-iconvconfig): Likewise.
42429         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42431         * include/libc-symbols.h: Remove unnecessary check for
42432         NOT_IN_libc.
42433         * nptl/pthreadP.h: Likewise.
42434         * sysdeps/aarch64/setjmp.S: Likewise.
42435         * sysdeps/alpha/setjmp.S: Likewise.
42436         * sysdeps/arm/sysdep.h: Likewise.
42437         * sysdeps/i386/setjmp.S: Likewise.
42438         * sysdeps/m68k/setjmp.c: Likewise.
42439         * sysdeps/posix/getcwd.c: Likewise.
42440         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42441         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42442         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42443         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42444         * sysdeps/sh/sh3/setjmp.S: Likewise.
42445         * sysdeps/sh/sh4/setjmp.S: Likewise.
42446         * sysdeps/unix/alpha/sysdep.h: Likewise.
42447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42449         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42450         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42458         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42460         * sysdeps/x86_64/setjmp.S: Likewise.
42462 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42464         [BZ #17263]
42465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42466         <stdint.h>.
42467         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42468         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42470 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42472         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42474         [BZ #17262]
42475         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42476         and __x86_64__ when disabling x87 inline functions.
42478 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42480         [BZ #17259]
42481         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42482         asm statement with __cpuid_count.
42484 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
42486         * configure.ac: Change __ehdr_start code to dereference the struct.
42487         Run readelf on the output to look for relocations.
42488         * configure: Regenerated.
42490 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
42492         [BZ #17261]
42493         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42494         value to 0.
42495         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42497 2014-08-12  Roland McGrath  <roland@hack.frob.com>
42499         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42501 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
42503         [BZ #16892]
42504         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42505         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42507 2014-08-12  Sean Anderson  <seanga2@gmail.com>
42509         * malloc/malloc.c: Fix typo in comment.
42511 2014-08-09  Allan McRae  <allan@archlinux.org>
42513         * Regenerate libc.po.
42515 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42517         * intl/tst-gettext2.sh: Check every lang file for creation.
42519 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42521         * sysdeps/aarch64/fpu/math_private.h
42522         (libc_feholdsetround_noex_aarch64_ctx): New function.
42524 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42526         * sysdeps/arm/armv6/strcpy.S (strcpy):
42527         Fix performance issue in misaligned cases.
42529 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42531         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42532         Move definition from termios.h.
42533         (struct termio): Likewise.
42534         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42535         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42536         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42537         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42538         Likewise.
42539         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42540         Move definition to ioctl-types.h
42541         (struct termio): Likewise.
42542         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42543         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42544         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42545         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42546         Likewise.
42548 2014-08-05  Richard Henderson  <rth@redhat.com>
42550         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42551         exceptions.
42552         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42553         Add fraiseexcpt.
42554         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42555         Use __feraiseexcept.
42556         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42557         Protect libm symbols with IS_IN_libm.
42559         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42561 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42563         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42565 2014-08-04  Will Newton  <will.newton@linaro.org>
42567         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42568         file.
42570 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42572         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42573         variants for each function.
42575 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42577         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42578         appended ...
42579         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42580         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42581         appended ...
42582         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42583         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42584         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42585         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42586         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42587         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42588         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42589         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42590         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42591         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42592         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42593         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42594         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42595         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42596         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42597         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42598         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42599         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42600         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42601         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42602         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42603         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42604         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42605         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42606         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42607         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42608         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42609         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42610         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42611         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42612         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42613         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42614         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42615         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42616         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42617         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42618         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42619         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42621         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42622         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42624         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42626         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42628         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42630         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42632         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42633         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42634         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42635         Update #include.
42636         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42637         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42639 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42641         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42642         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42643         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42644         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42645         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42646         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42648 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42650         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42651         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42652         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42653         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42655 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42657         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42658         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42659         (__libc_vfork): Define function under this name.
42660         (__vfork): Define as an alias.
42661         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42662         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42664 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42666         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42667         that was previously under [RESET_PID].
42668         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42670 2014-08-04  Andreas Schwab  <schwab@suse.de>
42672         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42674 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42676         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42677         (main): Likewise.
42679 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42681         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42683 2014-08-01  Richard Henderon  <rth@redhat.com>
42685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42686         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42687         typo in exact zero test.
42688         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42692 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42694         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42695         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42696         * sysdeps/arm/sysdep.h: ... here.
42697         [!__ASSEMBLER__]: Include <stdint.h>.
42699 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42701         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42702         (HAVE_WCTYPE_H): Likewise.
42703         (HAVE_ISWCTYPE): Likewise.
42704         (ENABLE_NLS): Likewise.
42705         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42706         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42708         * posix/regex_internal.c: Check if DEBUG is defined and is
42709         set.
42711         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42712         (HAVE_MBSRTOWCS): Likewise.
42713         * posix/fnmatch.c: Include string.h unconditionally.
42715 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42717         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42718         reversal.
42720 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42722         * sysdeps/generic/safe-fatal.h: New file.
42723         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42724         * nptl/forward.c: Include it.
42725         (__pthread_unwind): Use __safe_fatal as default action, rather
42726         than a bogus use of INTERNAL_SYSCALL that could never work.
42728         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42729         * configure.ac (libc_cv_builtin_trap): New test.
42730         * configure: Regenerated.
42731         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42732         (ABORT_INSTRUCTION): Define using __builtin_trap.
42734         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42735         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42736         * sysdeps/nptl/nptl-signals.h: New file.
42737         * nptl/pthreadP.h: Include <nptl-signals.h>.
42739 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42741         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42742         (ONE_DIRECTION): Define.
42743         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42744         (ONE_DIRECTION): Define.
42745         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42746         (ONE_DIRECTION): Define.
42748 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42750         * sysdeps/s390/Makefile: Delete file.
42751         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42752         * sysdeps/s390/__longjmp.c: Delete file.
42753         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42754         Remove fields __flags and __reserved.
42755         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42756         and add versioning.
42757         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42758         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42759         * sysdeps/s390/rtld-setjmp.S: Likewise.
42760         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42761         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42762         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42763         * sysdeps/s390/s390-32/setjmp.S: ... here.
42764         Add versioning.
42765         (__sigsetjmp): Remove setting __flags field.
42766         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42767         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42768         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42769         * sysdeps/s390/s390-64/setjmp.S: ... here.
42770         Add versioning.
42771         (__sigsetjmp): Remove setting __flags field.
42772         * sysdeps/s390/setjmp.S: Delete file.
42773         * sysdeps/s390/sigjmp.c: Likewise.
42774         * sysdeps/s390/v1-longjmp.c: Likewise.
42775         * sysdeps/s390/v1-setjmp.h: Likewise.
42776         * sysdeps/s390/v1-sigjmp.c: Likewise.
42777         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42778         Remove v1-longjmp_chk.
42779         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42780         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42781         Include debug/longjmp_chk.c and add versioning.
42782         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42783         Include nptl/pt-longjmp.c and add versioning.
42784         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42785         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42786         Include __longjmp.c.
42787         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42788         Move to ...
42789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42790         (__getcontext): Remove setting __flags field.
42791         Add versioning.
42792         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42793         Don't restore upper high grps.
42794         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42795         Likewise.
42796         (__swapcontext): Remove setting uc_flags field.
42797         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42798         Delete file.
42799         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42800         Include __longjmp.c.
42801         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42802         Move to ...
42803         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42804         (__getcontext): Remove setting __flags field.
42805         Add versioning.
42806         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42807         (__swapcontext): Remove setting uc_flags field.
42808         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42810         Remove fields uc_high_gprs and __reserved.
42811         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42812         New file with reverted content.
42813         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42814         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42815         Regenerated.
42816         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42817         Regenerated.
42819 2014-07-31  Andreas Schwab  <schwab@suse.de>
42821         * config.h.in (HAVE_IFUNC): Define to 0.
42822         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42823         definedness.
42825 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42828         memmove-avx-unaligned, memcpy-avx-unaligned and
42829         mempcpy-avx-unaligned.
42830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42831         Add tests for AVX memcpy functions.
42832         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42834         memcpy_chk.
42835         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42836         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42837         memmove_chk.
42838         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42839         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42840         mempcpy_chk.
42841         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42842         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42843         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42845 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42847         [BZ #17213]
42848         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42849         powerpc64le.
42851 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42853         [BZ #16839]
42854         * manual/llio.texi: Add section about open file description locks.
42855         * manual/examples/ofdlocks.c: Example of open file description
42856         lock usage.
42857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42858         F_OFD_SETLK, and F_OFD_SETLKW.
42860 2014-07-23  Allan McRae  <allan@archlinux.org>
42862         * po/es.po: Update Spanish translation from translation project.
42864 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42866         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42868 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42870         [BZ #17078]
42871         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42872         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42873         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42875 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42877         [BZ #17088]
42878         * math/fesetenv.c (__fesetenv)
42879         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42880         * math/feupdateenv.c (__feupdateenv)
42881         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42883         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42884         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42885         (__ASSUME_SOCKETCALL): Do not define.
42887         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42888         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42889         (__ASSUME_SOCKETCALL): Do not define.
42890         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42891         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42892         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42893         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42894         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42895         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42896         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42897         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42899         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42900         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42901         (__ASSUME_SOCKETCALL): Do not define.
42902         (__ASSUME_IPC64): Define unconditionally.
42903         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42904         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42905         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42907         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42908         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42909         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42910         Likewise.
42912         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42913         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42914         (__ASSUME_SOCKETCALL): Do not define.
42915         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42916         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42917         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42918         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42919         (__ASSUME_REQUEUE_PI): Define unconditionally.
42920         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42921         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42922         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42923         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42925         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42927         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42928         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42929         (__ASSUME_SOCKETCALL): Do not define.
42930         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42931         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42932         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42933         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42935         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42937         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42938         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42939         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42940         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42941         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42942         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42944         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42945         (__ASSUME_GETCPU_SYSCALL): Likewise.
42947         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42948         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42949         cases for individual architectures.
42950         * sysdeps/gnu/configure: Regenerated.
42951         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42952         LIBC_SLIBDIR_RTLDDIR.
42953         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42954         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42955         LIBC_SLIBDIR_RTLDDIR.
42956         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42958         LIBC_SLIBDIR_RTLDDIR.
42959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42960         Regenerated.
42961         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42962         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42963         file.
42964         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42965         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42966         file.
42967         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42968         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42969         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42970         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42972         * sysdeps/aarch64/shlib-versions: Move to ...
42973         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42974         * sysdeps/alpha/shlib-versions: Move to ...
42975         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42976         * sysdeps/arm/shlib-versions: Move to ...
42977         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42978         * sysdeps/hppa/shlib-versions: Move all contents except for
42979         libgcc_s entry to ...
42980         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42981         entry from ...
42982         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42983         * sysdeps/ia64/shlib-versions: Move to ...
42984         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42985         entry from ...
42986         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42987         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42988         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42989         * sysdeps/microblaze/shlib-versions: Move to ...
42990         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42991         * sysdeps/mips/shlib-versions: Move to ...
42992         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42993         entry from ...
42994         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42995         * sysdeps/tile/shlib-versions: Move to ...
42996         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42997         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42998         from ...
42999         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43000         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43001         entry from ...
43002         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43004 2014-07-17  Will Newton  <will.newton@linaro.org>
43006         * sysdeps/arm/bits/atomic.h
43007         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43008         (__arch_compare_and_exchange_bool_16_int): Likewise.
43009         (__arch_compare_and_exchange_bool_64_int): Likewise.
43011         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43012         into an #else block.
43014 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43016         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43017         just Linux configurations.  Test empirically that the compiler sets
43018         __ARM_EABI__, rather than using the tuple to decide.
43019         * sysdeps/arm/preconfigure: Regenerated.
43020         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43021         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43022         contents appended ...
43023         * sysdeps/arm/configure.ac: ... here.
43024         * sysdeps/arm/configure: Regenerated.
43026 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43028         * nptl/pthread_kill.c: New file.
43029         * nptl/pthread_sigmask.c: New file.
43030         * nptl/pthread_sigqueue.c: New file.
43032         * sysdeps/nptl/lowlevellock.h: New file.
43033         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43034         * sysdeps/nptl/lowlevellock-futex.h: New file.
43036         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43037         Remove dead declarations.
43039 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43041         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43042         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43043         config-cflags-avx2.
43044         * sysdeps/x86_64/configure.ac: Likewise.
43045         * sysdeps/i386/configure: Regenerated.
43046         * sysdeps/x86_64/configure: Likewise.
43047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43048         memset-avx2 only if config-cflags-avx2 is yes.
43049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43050         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43051         defined.
43052         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43053         only if HAVE_AVX2_SUPPORT is defined.
43054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43056 2014-07-14  Alan Modra  <amodra@gmail.com>
43058         [BZ #17153]
43059         * elf/elf.h (DT_PPC64_NUM): Correct value.
43060         * NEWS: Add to fixed bug list.
43062 2014-07-13  Jim Meyering  <meyering@fb.com>
43064         [BZ 17150]
43065         regex: don't deref NULL upon heap allocation failure
43066         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43067         failure in one more place.
43068         To trigger the segfault, configure grep -with-included-regex,
43069         build it, and run these commands:
43070         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43072 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43074         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43076 2014-07-11  Richard Henderson  <rth@redhat.com>
43078         * sysdeps/aarch64/libm-test-ulps: Update.
43080 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43082         [BZ #17135]
43083         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43084         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43085         (__nptl_setxid): Initialize error member.  Call
43086         __nptl_setxid_error.
43087         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43088         * nptl/descr.h (struct xid_command): Add error member.
43089         * nptl/tst-setuid3.c: New file.
43090         * nptl/Makefile (tests): Add it.
43092 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43094         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43095         New define.
43096         (__lll_trylock): Use __lll_base_trylock.
43097         (__lll_cond_trylock): Likewise.
43099 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43101         * nptl/pthread_create.c (start_thread): Use atomic_or and
43102         lll_futex_wake directly rather than lll_robust_dead.
43103         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43104         (lll_robust_dead): Macro removed.
43105         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43106         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43107         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43108         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43109         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43110         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43111         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43112         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43113         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43118         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43119         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43121         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43122         Use atomic_compare_and_exchange_val_acq directly rather than
43123         lll_robust_trylock.
43124         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43125         (__lll_robust_trylock, lll_robust_trylock): Removed.
43126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43127         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43128         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43130         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43132         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43133         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43135         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43141 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43143         * manual/locale.texi (Locale Names): New section documenting
43144         locale name syntax.  Adjust menu and node chaining accordingly.
43145         (Choosing Locale): Reference Locale Names, Locale Categories.
43146         Mention setting LC_ALL=C.  Reflect that name syntax is now
43147         documented.
43148         (Locale Categories): New section title.  Reference Locale Names.
43149         LC_ALL is an environment variable, but not a category.
43150         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43151         description, now in Locale Name.  Reference that section.  Locale
43152         name syntax is now documented.
43154 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43156         [BZ #17137]
43157         * locale/findlocale.c (name_present, valid_locale_name): New
43158         functions.
43159         (_nl_find_locale): Use the loc_name variable to store name
43160         candidates.  Call name_present and valid_locale_name to check and
43161         validate locale names.  Return an error if the locale is invalid.
43163 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43165         * locale/setlocale.c (setlocale): Use strdup for allocating
43166         composite name copy.
43168 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43170         Sync up with gnulib.
43171         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43172         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43173         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43174         and _GL_ARG_NONNULL.
43175         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43176         [!_LIBC]: Include code for Windows and Cygwin.
43177         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43178         Include prototype for int strerror_r.
43179         [!_LIBC] (is_open): New function.
43180         (flush_stdout): New function.
43181         (print_errno_message): Use it.
43182         (error): Likewise.
43183         (error_at_line): Likewise.
43184         (error_tail) Add function attribute macros.  Use
43185         __builtin_expect.
43187         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43189         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43191         * io/ftw.c: Include sys/param.h unconditionally.
43193         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43195         [BZ #17125]
43196         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43197         libc_freeres_ptr.
43198         (freecache): New function to free CACHE on exit.
43200         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43201         initialization.
43203 2014-07-09  David S. Miller  <davem@davemloft.net>
43205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43207         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43208         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43209         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43210         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43211         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43212         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43213         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43214         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43215         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43216         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43217         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43218         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43219         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43221 2014-07-09  Andreas Schwab  <schwab@suse.de>
43223         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43224         output.
43225         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43226         (do_test): Likewise.
43228         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43230 2014-07-09  Will Newton  <will.newton@linaro.org>
43232         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43233         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43234         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43235         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43236         * sysdeps/hppa/start.S (_start): Likewise.
43238 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43240         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43242         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43243         defined.
43245 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43247         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43248         after checking that it is non-NULL.
43250         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43252 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43254         * sysdeps/powerpc/memmove.c: Remove file.
43255         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43256         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43257         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43258         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43259         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43260         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43261         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43262         string memmove instead of removed powerpc one.
43264         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43265         [weak_alias]: Fix compiler warning due trailing data.
43266         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43267         [weak_alias]: Likewise.
43268         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43269         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43272         (__libc_ifunc_impl_list): Add memmove functions.
43274 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43276         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43277         Remove code.
43278         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43279         Likewise.
43280         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43281         Likewise.
43282         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43283         Likewise.
43284         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43285         Likewise.
43286         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43287         Likewise.
43288         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43289         Likewise.
43290         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43291         Likewise.
43292         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43293         Likewise.
43294         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43295         Likewise.
43296         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43297         Likewise.
43298         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43299         Likewise.
43300         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43301         Likewise.
43302         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43303         Likewise.
43304         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43305         Likewise.
43306         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43307         Likewise.
43308         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43309         Likewise.
43311 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43313         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43314         to avoid alignment traps in non-cacheable memory.
43315         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43318         multiarch objects.
43319         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43320         file: multiarch power7 memmove.
43321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43322         multiarch default memmove.
43323         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43324         multiarch memove for powerpc32/power4.
43326         * string/bcopy.c: Use full path to include memmove.c.
43327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43328         multiarch objects.
43329         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43330         bcopy for powerpc64.
43331         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43332         bcopy for powerpc64.
43333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43334         and memmove implementations.
43335         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43336         optimized multiarch memmove for POWER7/powerpc64.
43337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43338         default multiarch memmove for powerpc64.
43339         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43340         multiarch for powerpc64.
43341         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43342         for POWER7/powerpc64.
43343         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43344         memmove for POWER7/powerpc64.
43346         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43347         glibc default one.
43349         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43350         __ELF_NATIVE_CLASS equal to 64.
43352 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43354         * sysdeps/nptl/lowlevellock.h: File removed.
43356         * NEWS: NPTL is no longer an add-on!
43357         * nptl/internaltypes.h: Moved ...
43358         * sysdeps/nptl/internaltypes.h: ... here.
43359         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43360         * sysdeps/nptl/fork.c: Likewise.
43361         * sysdeps/nptl/gai_misc.h: Likewise.
43362         * sysdeps/nptl/librt-cancellation.c: Likewise.
43363         * sysdeps/nptl/jmp-unwind.c: Likewise.
43364         * sysdeps/nptl/setxid.h: Likewise.
43365         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43366         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43367         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43368         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43369         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43370         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43371         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43372         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43373         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43374         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43375         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43376         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43377         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43378         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43379         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43380         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43381         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43382         * nptl/Makeconfig: Moved ...
43383         * sysdeps/nptl/Makeconfig: ... here.
43384         * nptl/configure: File removed.
43385         * nptl/ANNOUNCE: File removed.
43386         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43387         * sysdeps/unix/sysv/linux/configure: Regenerated.
43389         * nptl/Makefile (routines): Add libc_pthread_init,
43390         libc_multiple_threads, register-atfork and unregister-atfork.
43391         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43392         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43393         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43394         pthread-pi-defines.sym, structsem.sym.
43395         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43396         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43397         [$(subdir) = nptl] (tests): Add tst-setgetname.
43398         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43399         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43400         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43401         [!LIBC_SIGACTION]: Remove aliases.
43402         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43403         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43404         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43405         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43406         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43407         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43410         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43411         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43412         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43413         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43414         __libc_allocate_rtsig_private.
43415         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43416         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43417         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43418         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43419         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43420         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43421         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43422         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43423         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43424         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43425         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43426         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43427         * nptl/internaltypes.h: ... here.
43428         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43429         * sysdeps/nptl/jmp-unwind.c: ... here.
43430         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43431         * nptl/libc-lowlevellock.c: ... here.
43432         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43433         * nptl/libc_multiple_threads.c: ... here.
43434         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43435         * nptl/libc_pthread_init.c: ... here.
43436         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43437         * nptl/lowlevelbarrier.sym: ... here.
43438         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43439         * nptl/lowlevelcond.sym: ... here.
43440         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43441         * nptl/lowlevellock.c: ... here.
43442         * nptl/lowlevellock.h: Moved ...
43443         * sysdeps/nptl/lowlevellock.h: ... here.
43444         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43445         * nptl/lowlevelrobustlock.c: ... here.
43446         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43447         * nptl/lowlevelrobustlock.sym: ... here.
43448         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43449         * nptl/lowlevelrwlock.sym: ... here.
43450         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43451         * nptl/pt-fork.c: ... here.
43452         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43453         * nptl/pthread-pi-defines.sym: ... here.
43454         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43455         * nptl/pthread_attr_getaffinity.c: ... here.
43456         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43457         * nptl/pthread_attr_setaffinity.c: ... here.
43458         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43459         * nptl/pthread_mutex_cond_lock.c: ... here.
43460         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43461         Update #include.
43462         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43463         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43464         * nptl/pthread_once.c: ... here, replacing old file.
43465         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43466         * nptl/pthread_yield.c: ... here.
43467         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43468         * nptl/register-atfork.c: ... here.
43469         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43470         * nptl/sem_post.c: ... here.
43471         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43472         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43473         * nptl/sem_timedwait.c: ... here.
43474         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43475         * nptl/sem_trywait.c: ... here.
43476         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43477         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43478         * nptl/sem_wait.c: ... here.
43479         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43480         * nptl/structsem.sym: ... here.
43481         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43482         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43483         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43484         * nptl/unregister-atfork.c: ... here.
43485         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43486         * nptl/unwindbuf.sym: ... here.
43487         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43488         * sysdeps/nptl/fork.c: ... here.
43489         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43490         * sysdeps/nptl/fork.h: ... here.
43491         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43492         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43493         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43494         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43495         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43496         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43497         * sysdeps/unix/sysv/linux/getpid.c: ... here.
43498         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43499         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43500         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43501         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43502         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43503         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43504         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43505         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43506         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43507         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43508         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43509         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43510         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43511         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43512         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43513         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43514         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43515         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43516         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43517         * sysdeps/unix/sysv/linux/raise.c: ... here.
43518         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43519         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43521         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43522         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43523         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43524         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43525         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43526         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43527         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43529         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43530         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43531         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43532         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43534 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43536         * sysdeps/generic/memcopy.h: Add comment for
43537         MEMCPY_OK_FOR_FWD_MEMMOVE.
43539 2014-07-04  Will Newton  <will.newton@linaro.org>
43541         * string/memchr.c: Merge from gnulib.
43542         [_LIBC]: Remove conditionals.
43543         (__ptr_t): Remove define.
43544         (LONG_MAX_32_BITS): Likewise.
43545         (LONG_MAX): Likewise.
43546         (MEMCHR): Use ANSI prototype and optimize algorithm.
43548         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43550 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43552         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43553         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43555         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43556         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43557         in a bare environment with no <stdlib.h> installed.
43558         * sysdeps/nptl/configure: Regenerated.
43560         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43562         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43563         AC_EGREP_CPP for kernel header checks, so they only succeed if
43564         including <linux/version.h> actually works right.
43565         * sysdeps/unix/sysv/linux/configure: Regenerated.
43567         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43568         value so it's not diagnosed as unused.
43570         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43571         thing) with "ifeq ($(subdir),rt)".
43573 2014-07-03  Richard Henderson  <rth@redhat.com>
43575         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43576         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43577         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43579         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43580         (math_force_eval): New.
43582         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43583         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43585         * sysdeps/alpha/fpu/s_round.c: Remove file.
43586         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43588         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43589         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43590         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43591         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43592         (_dl_start, print_statistics): Likewise.
43593         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43594         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43596         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43597         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43598         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43599         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43601         (HP_SMALL_TIMING_AVAIL): Define.
43602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43604         (HP_SMALL_TIMING_AVAIL): Define.
43605         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43606         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43608         * sysdeps/aarch64/hp-timing.h: New file.
43610         * sysdeps/generic/hp-timing.h: Remove dead comment.
43611         * sysdeps/generic/hp-timing-common.h: New file.
43612         * sysdeps/alpha/hp-timing.h: Include it.
43613         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43614         * sysdeps/i386/i686/hp-timing.h: Likewise.
43615         * sysdeps/ia64/hp-timing.h: Likewise.
43616         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43617         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43618         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43619         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43620         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43621         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43622         (hp_timing_t): New.
43624         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43625         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43626         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43627         * elf/rtld.c (_dl_start_final): Likewise.
43628         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43629         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43630         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43631         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43632         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43633         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43634         (HP_TIMING_DIFF_INIT): Remove.
43635         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43637         (HP_TIMING_DIFF_INIT): Remove.
43638         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43639         * sysdeps/i386/i686/hp-timing.c: Remove file.
43640         * sysdeps/x86_64/hp-timing.c: Remove file.
43641         * sysdeps/ia64/hp-timing.c: Remove file.
43642         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43643         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43645         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43647         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43648         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43649         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43650         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43651         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43652         (HP_TIMING_ACCUM): Remove.
43653         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43654         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43655         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43657         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43658         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43659         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43660         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43661         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43662         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43664         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43666         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43668 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43670         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43674         Sync up with gettext.
43675         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43676         [_MSC_VER]: Include malloc.h
43677         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43678         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43679         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43680         TEMP_FAILURE_RETRY.  Cast return of alloca.
43681         [!_LIBC] Call gl_rwlock_init.
43682         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43684 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43686         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43687         before checking its value.
43689 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43691         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43693         * debug/memcpy_chk.c: Don't include pagecopy.h.
43694         * debug/mempcpy_chk.c: Likewise.
43695         * string/memcpy.c: Likewise.
43696         * string/memmove.c: Likewise.
43697         * sysdeps/powerpc/memmove.c: Likewise.
43698         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43699         definition of PAGE_COPY_FWD_MAYBE here...
43700         * sysdeps/generic/pagecopy.h: ... from here.
43701         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43703 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43704             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43706         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43708         optimizations.
43709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43710         (__libc_ifunc_impl_list): Likewise.
43711         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43712         multiarch strcat for PPC64.
43713         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43714         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43716 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43718         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43720 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * intl/loadmsgcat.c: Remove declaration of
43723         get_sysdep_segment_value.
43724         (get_sysdep_segment_value): Use ISO C style.
43725         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43726         semicolon.  Fix typo and formatting in comment.
43727         (_nl_unload_domain): Use ISO C style.
43729         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43731 2014-07-02  Will Newton  <will.newton@linaro.org>
43733         * malloc/obstack.c: Merge from gnulib master.
43734         [HAVE_CONFIG_H]: Remove conditional code.
43735         [!_LIBC]: Include config.h.
43736         [!ELIDE_CODE]: Don't include inttypes.h, include
43737         stdint.h unconditionally.
43738         (print_and_abort): Mark as _Noreturn.
43739         (_obstack_allocated_p): Mark as __attribute_pure__.
43740         (obstack_free): Rename to __obstack_free.
43741         [!__attribute__]: Remove conditional code.
43742         * malloc/obstack.h: Merge from gnulib master.
43743         [__cplusplus]: Move conditional down.
43744         [!__attribute_pure__]: Define __attribute_pure__ here
43745         if it is not already defined.
43746         (_obstack_memory_used): Mark as __attribute_pure__.
43747         [!__obstack_free]: Define as obstack_free.
43748         [__GNUC__]: Remove check for ancient NeXT gcc.
43750 2014-07-02  Will Newton  <will.newton@linaro.org>
43751             Paul Eggert  <eggert@cs.ucla.edu>
43753         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43755 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43757         * resolv/gethnamaddr.c: Add comment warning that the file is
43758         not maintained.
43760 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43762         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43763         entries.
43765         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43766         entry for aio_cancel and aio_cancel64.
43767         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43768         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43769         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43770         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43771         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43772         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43773         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43774         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43775         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43776         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43777         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43778         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43779         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43781 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43783         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43784         * nptl/pthread_mutex_lock.c: Likewise.
43785         * nptl/pthread_mutex_timedlock.c: Likewise.
43786         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43788 2014-07-01  Richard henderson  <rth@redhat.com>
43790         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43791         (__isnan, __isnanl): Remove.
43792         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43794         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43796 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43800 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43802         * resolv/nss_dns/dns-host.c (getanswer_r)
43803         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43805 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43808         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43809         undefine.
43810         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43811         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43813 2014-07-01  Roland McGrath <roland@hack.frob.com>
43815         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43816         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43818         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43819         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43821         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43822         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43823         ... here.
43824         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43825         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43827         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43828         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43829         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43830         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43832         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43833         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43834         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43835         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43836         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43837         Moved ...
43838         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43839         ... here.
43840         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43841         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43842         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43843         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43844         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43845         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43846         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43847         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43848         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43849         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43850         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43851         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43852         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43853         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43854         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43855         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43856         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43857         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43858         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43859         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43860         ... here.
43861         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43862         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43863         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43864         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43865         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43866         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43867         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43868         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43870 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43872         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43873         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43874         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43875         Add sysdep.
43877 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43881 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43883         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43884         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43886         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43888         * sysdeps/arm/libm-test-ulps: Regenerated.
43890 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43891             Roland McGrath <roland@hack.frob.com>
43893         * test-skeleton.c (signal_handler): Kill the whole process group
43894         before killing the child individually.
43895         (main): Report any failure on `setpgid'.
43897 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43899         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43900         from _TLS_H to _ARM_NPTL_TLS_H.
43901         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43902         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43904 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43906         [BZ #16539]
43907         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43908         (__expm1l): Return argument unchanged when small but not
43909         subnormal.
43911         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43912         include macro name.
43913         (_FP_UNPACK_RAW_1_P): Likewise.
43914         (_FP_PACK_RAW_1): Likewise.
43915         (_FP_PACK_RAW_1_P): Likewise.
43916         (_FP_MUL_MEAT_1_wide): Likewise.
43917         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43918         (_FP_MUL_MEAT_1_hard): Likewise.
43919         (_FP_DIV_MEAT_1_imm): Likewise.
43920         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43921         (_FP_DIV_MEAT_1_udiv): Likewise.
43922         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43923         (_FP_UNPACK_RAW_2): Likewise.
43924         (_FP_UNPACK_RAW_2_P): Likewise.
43925         (_FP_PACK_RAW_2): Likewise.
43926         (_FP_PACK_RAW_2_P): Likewise.
43927         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43928         (_FP_MUL_MEAT_2_wide): Likewise.
43929         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43930         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43931         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43932         (_FP_MUL_MEAT_2_gmp): Likewise.
43933         (_FP_DIV_MEAT_2_udiv): Likewise.
43934         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43935         (_FP_FRAC_SRL_4): Likewise.
43936         (_FP_FRAC_SRST_4): Likewise.
43937         (_FP_FRAC_SRS_4): Likewise.
43938         (_FP_UNPACK_RAW_4): Likewise.
43939         (_FP_UNPACK_RAW_4_P): Likewise.
43940         (_FP_PACK_RAW_4): Likewise.
43941         (_FP_PACK_RAW_4_P): Likewise.
43942         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43943         (_FP_MUL_MEAT_4_wide): Likewise.
43944         (_FP_MUL_MEAT_4_gmp): Likewise.
43945         (umul_ppppmnnn): Likewise.
43946         (_FP_DIV_MEAT_4_udiv): Likewise.
43947         (__FP_FRAC_ADD_4): Likewise.
43948         (__FP_FRAC_SUB_3): Likewise.
43949         (__FP_FRAC_SUB_4): Likewise.
43950         (__FP_FRAC_DEC_3): Likewise.
43951         (__FP_FRAC_DEC_4): Likewise.
43952         (__FP_FRAC_ADDI_4): Likewise.
43953         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43954         (_FP_FRAC_SRL_8): Likewise.
43955         (_FP_FRAC_SRS_8): Likewise.
43957         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43958         include macro name.
43959         (FP_UNPACK_RAW_EP): Likewise.
43960         (FP_PACK_RAW_E): Likewise.
43961         (FP_PACK_RAW_EP): Likewise.
43962         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43963         (_FP_ISSIGNAN): Likewise.
43964         (_FP_ADD_INTERNAL): Likewise.
43965         (_FP_FMA): Likewise.
43966         (_FP_CMP): Likewise.
43967         (_FP_SQRT): Likewise.
43968         (_FP_TO_INT): Likewise.
43969         (_FP_FROM_INT): Likewise.
43970         (FP_EXTEND): Likewise.
43971         (_FP_DIV_MEAT_N_loop): Likewise.
43973 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43975         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43976         throughout.
43978 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43980         [BZ #17097]
43981         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43982         result with correct sign in case of exponents that produce
43983         overflow except for X very close to 1.
43985 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43987         mktime: merge #if/#ifdef usage from glibc
43988         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43989         as that works with both Glibc's and Gnulib's style.
43990         See thread starting at Siddhesh Poyarekar's bug report at:
43991         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43993 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43995         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43996         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43997         * sysdeps/tile/tilegx/memmove.c: Remove file.
43999 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44001         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44002         abi-name definition.
44003         * scripts/soversions.awk: Do not handle or generate ABI lines.
44004         * shlib-versions: Remove ABI entries.
44005         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44006         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44008 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44011         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44012         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44015         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44017         Moved ...
44018         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44019         ... here.
44020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44021         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44023         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44025         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44027         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44029         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44031         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44033         Moved ...
44034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44040         Moved ...
44041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44043         Moved ...
44044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44046         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44048         Moved ...
44049         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44051         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44053         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44055         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44057         Moved ...
44058         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44060         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44061         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44062         Moved ...
44063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44065         Moved ...
44066         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44068         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44072         ... here.
44073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44074         Identical file removed.
44075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44076         Moved ...
44077         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44079         Identical file removed.
44080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44081         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44083         Moved ...
44084         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44086         Identical file removed.
44087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44088         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44090         Identical file removed.
44091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44094         Identical file removed.
44095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44096         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44098         Identical file removed.
44099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44100         Moved ...
44101         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44103         Identical file removed.
44104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44105         Moved ...
44106         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44108         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44110         Identical file removed.
44111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44112         Moved ...
44113         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44114         ... here.
44115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44116         Identical file removed.
44117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44118         Moved ...
44119         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44121         Identical file removed.
44122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44123         Moved ...
44124         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44126         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44128         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44130         Moved ...
44131         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44132         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44133         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44135         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44136         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44137         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44138         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44139         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44141 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44143         [BZ #17092]
44144         * nscd/nscd.c (monitor_child): Return exit status of child
44145         instead of return value from wait syscall.
44147 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44149         * configure.ac (libc_commonpagesize): Remove variable.
44150         (libc_relro_required): Likewise.
44151         (libc_cv_z_relro): Remove configure test.
44152         * configure: Regenerated.
44153         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44154         variable.
44155         (libc_relro_required): Likewise.
44156         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44157         (libc_relro_required): Likewise.
44158         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44159         (libc_relro_required): Likewise.
44160         * sysdeps/arm/preconfigure: Regenerated.
44161         * sysdeps/ia64/preconfigure: Remove file.
44162         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44163         variable.
44164         (libc_relro_required): Likewise.
44166         [BZ #16561]
44167         [BZ #16562]
44168         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44169         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44170         recompute overflowing results in original rounding mode.
44171         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44172         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44173         recompute overflowing results in original rounding mode.
44174         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44175         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44176         recompute overflowing results in original rounding mode.
44177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44178         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44179         recompute overflowing results in original rounding mode.
44180         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44182         recompute overflowing results in original rounding mode.
44183         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44184         (libc_feholdsetround_ctx): New macro.
44185         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44186         * sysdeps/i386/fpu/libm-test-ulps: Update.
44187         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44189 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44191         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44192         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44193         corresponding .cpsetup call.
44195 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44197         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44198         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44199         * sysdeps/arm/Makefile [$(subdir) = csu]
44200         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44201         (static-only-routines): Add aeabi_read_tp here.
44202         (shared-only-routines): Add libc-aeabi_read_tp here.
44203         (CFLAGS-libc-start.c): Add -fexceptions here.
44204         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44205         (sysdep_routines, static-only-routines, shared-only-routines):
44206         Don't add to these here.
44207         (CFLAGS-libc-start.c): Likewise.
44209         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44210         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44211         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44212         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44213         * sysdeps/arm/Makefile [$(subdir) = rt]
44214         (librt-sysdep_routines, librt-shared-only-routines):
44215         Append rt-aeabi_unwind_cpp_pr1 here.
44216         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44217         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44218         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44219         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44220         Append nptl-aeabi_unwind_cpp_pr1 here.
44221         (tests): Filter out tst-cleanupx4 here.
44222         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44223         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44224         Don't do those here.
44226 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44228         * scripts/list-sources.sh: Do not handle ports specially.
44230 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44232         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44233         * sysdeps/arm/feupdateenv.c: Likewise.
44235         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44237 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44239         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44240         trailing whitespace removed.
44241         * scripts/config.guess: Update to version 2014-03-23.
44242         * scripts/config.sub: Update to version 2014-05-01
44243         * scripts/install-sh: Update to version 2013-12-25.23.
44244         * scripts/move-if-change: Update from gnulib.
44246 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44248         * debug/memmove_chk.c: Remove pagecopy.h include.
44250 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44252         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44253         identical to gnulib mktime.
44255 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44257         * configure.ac: Do not test for machine being rs6000.  Do not test
44258         for powerpc*-*soft.
44259         * configure: Regenerated.
44261         [BZ #11505]
44262         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44263         test.
44264         * configure: Regenerated.
44265         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44266         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44267         Remove configure test.
44268         * sysdeps/arm/configure: Regenerated.
44269         * sysdeps/nptl/configure.ac: Do not check
44270         libc_cv_asm_cfi_directives.
44271         * sysdeps/nptl/configure: Regenerated.
44272         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44273         * sysdeps/x86_64/nptl/configure: Remove generated file.
44274         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44275         unconditional.
44276         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44278 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44280         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44281         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44282         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44283         it is defined.
44285         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44286         instead of whether it is defined.
44287         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44288         * sysdeps/hppa/dl-machine.h: Likewise.
44289         * sysdeps/ia64/dl-machine.h: Likewise.
44290         * sysdeps/m68k/dl-machine.h: Likewise.
44291         * sysdeps/microblaze/dl-machine.h: Likewise.
44292         * sysdeps/mips/dl-machine.: Likewise.
44293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44297         * sysdeps/sh/dl-machine.h: Likewise.
44298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44300         * sysdeps/tile/dl-machine.h: Likewise.
44301         * sysdeps/x86_64/dl-machine.h: Likewise.
44303         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44304         code.
44305         (verify_persistent_db): Likewise.
44307 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44310         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44312         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44314         Moved ...
44315         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44316         ... here.
44317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44318         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44320         Identical file removed.
44321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44324         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44326         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44330         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44332         Moved ...
44333         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44335         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44337         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44339         Moved ...
44340         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44342         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44344         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44346         Identical file removed.
44347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44348         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44350         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44352         Moved ...
44353         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44354         ... here.
44355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44358         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44360         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44364         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44366         Moved ...
44367         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44369         Moved ...
44370         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44372         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44374         Moved ...
44375         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44377         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44379         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44380         folded into ...
44381         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44382         * sysdeps/unix/sysv/linux/s390/Versions
44383         (libpthread: GLIBC_2.19): New version set.
44384         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44385         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44386         (librt: GLIBC_2.3.3): New version set.
44387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44388         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44389         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44390         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44391         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44392         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44393         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44394         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44395         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44396         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44397         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44398         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44399         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44400         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44401         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44402         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44403         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44404         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44406         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44407         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44413         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44417         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44427         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44433         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44434         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44435         (__libc_vfork): Define the function under this name.
44436         [!NOT_IN_libc] (__vfork): Make this an alias.
44437         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44439         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44440         (__libc_vfork): Define the function under this name.
44441         [!NOT_IN_libc] (__vfork): Make this an alias.
44442         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44443         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44446         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44447         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44449         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44450         code that was previously under [RESET_PID].
44451         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44452         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44455         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44456         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44457         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44458         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44459         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44460         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44461         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44462         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44463         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44464         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44465         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44466         Moved ...
44467         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44468         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44469         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44470         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44472         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44473         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44474         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44475         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44476         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44477         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44478         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44479         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44480         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44481         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44482         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44483         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44484         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44485         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44486         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44487         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44488         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44489         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44490         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44491         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44492         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44493         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44494         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44497 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44499         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44500         that was previously under [RESET_PID].
44501         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44503 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44505         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44506         not undefine and redefine.
44507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44508         [O_CLOEXEC]: Make code unconditional.
44509         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44510         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44511         <kernel-features.h>.
44512         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44513         conditional variable definition.
44514         (shm_open) [O_CLOEXEC]: Make code unconditional.
44515         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44516         code.
44518         * configure.ac (USE_REGPARMS): Don't define here.
44519         * configure: Regenerated.
44520         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44521         * sysdeps/i386/configure: Regenerated.
44523         * nptl/createthread.c: Don't include kernel-features.h.
44524         * nptl/pthread_cancel.c: Likewise.
44525         * nptl/pthread_condattr_setclock.c: Likewise.
44526         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44527         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44528         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44529         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44530         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44531         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44532         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44535         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44536         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44537         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44538         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44539         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44540         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44541         * nscd/gai.c: Likewise.
44542         * nss/nss_db/db-open.c: Likewise.
44543         * sysdeps/generic/ldsodefs.h: Likewise.
44544         * sysdeps/sh/nptl/tls.h: Likewise.
44545         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44546         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44547         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44548         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44549         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44550         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44551         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44552         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44554         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44555         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44556         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44557         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44558         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44559         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44560         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44561         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44562         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44563         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44564         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44567         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44568         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44573         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44574         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44575         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44576         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44577         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44578         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44579         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44580         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44581         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44582         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44583         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44584         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44585         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44586         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44587         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44588         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44589         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44590         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44591         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44592         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44593         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44594         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44595         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44596         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44597         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44598         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44599         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44600         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44601         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44602         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44625         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44626         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44627         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44628         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44629         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44630         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44632         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44633         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44634         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44635         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44636         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44637         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44638         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44639         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44640         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44641         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44642         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44643         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44644         * sysdeps/unix/sysv/linux/system.c: Likewise.
44645         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44646         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44647         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44648         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44649         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44650         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44651         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44653         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44654         * configure: Regenerated.
44655         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44657         * configure.ac (base_machine): Do not set specially for particular
44658         machines here.
44659         * configure: Regenerated.
44660         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44661         settings from configure.ac.
44662         * sysdeps/i386/preconfigure: New file.
44663         * sysdeps/s390/preconfigure: Likewise.
44664         * sysdeps/sh/preconfigure: Likewise.
44665         * sysdeps/sparc/preconfigure: Likewise.
44667 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44669         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44670         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44671         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44672         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44673         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44674         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44675         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44676         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44677         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44678         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44679         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44680         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44681         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44686         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44687         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44689         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44690         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44691         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44692         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44693         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44694         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44695         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44696         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44697         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44698         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44699         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44700         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44701         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44702         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44703         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44704         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44705         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44706         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44707         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44708         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44710         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44716         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44720         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44722         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44723         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44724         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44726         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44729         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44731         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44733         Moved ...
44734         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44735         ... here.
44736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44737         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44739         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44741         Moved ...
44742         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44744         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44746         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44748         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44750         Moved ...
44751         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44753         Moved ...
44754         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44756         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44758         Moved ...
44759         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44761         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44763         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44765         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44769         Moved ...
44770         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44771         ... here.
44772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44773         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44775         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44777         Moved ...
44778         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44780         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44782         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44784         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44786         Moved ...
44787         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44792         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44794         Moved ...
44795         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44797         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44799         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44801 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44803         * timezone/checktab.awk: Update from tzcode 2014e.
44804         * timezone/private.h: Likewise.
44805         * timezone/tzfile.h: Likewise.
44806         * timezone/zdump.c: Likewise.
44807         * timezone/zic.c: Likewise.
44809         * sysdeps/unix/sysv/linux/kernel-features.h
44810         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44811         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44812         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44813         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44814         Remove conditional code.
44816 2014-06-25  Will Newton  <will.newton@linaro.org>
44818         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44819         (_dl_arm_cap_flags): Add HWCAP2 values.
44820         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44821         (_DL_HWCAP_COUNT): Increase to 37.
44822         (_DL_HWCAP_LAST): New define.
44823         (_DL_HWCAP2_LAST): New define.
44824         (_dl_procinfo): Add support for printing
44825         AT_HWCAP2 entries.
44826         (_dl_string_hwcap): Use _dl_hwcap_string.
44828 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44832 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44834         * README: Do not mention ports directory.
44836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44837         Remove macro.
44838         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44839         <kernel-features.h>.
44840         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44841         conditional variable definition.
44842         (__futimes): Update comment.
44843         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44844         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44846         [BZ #16560]
44847         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44848         arguments close to 0.
44849         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44850         Likewise.
44851         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44852         Likewise.
44853         * math/auto-libm-test-in: Add more tests of exp10.
44854         * math/auto-libm-test-out: Regenerated.
44855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44857         * sysdeps/unix/sysv/linux/kernel-features.h
44858         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44859         * sysdeps/unix/sysv/linux/readv.c: Do not include
44860         <kernel-features.h>.
44861         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44862         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44863         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44864         unconditional.
44865         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44866         conditional code.
44867         * sysdeps/unix/sysv/linux/writev.c: Do not include
44868         <kernel-features.h>.
44869         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44870         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44871         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44872         unconditional.
44873         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44874         conditional code.
44876 2014-06-25  Will Newton  <will.newton@linaro.org>
44878         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44879         comment changes throughout the file.  Remove checks
44880         for HAVE_*_H definitions that are not required.
44881         (__gen_tempname): Call abort if an unknown kind value is
44882         passed.
44884 2014-06-25  Andreas Schwab  <schwab@suse.de>
44886         [BZ #17086]
44887         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44888         scalbln, scalblnf, scalblnl in libc.
44890 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44892         [BZ #17086]
44893         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44894         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44895         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44897 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44899         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44900         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44901         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44902         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44903         Update #include.
44904         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44905         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44906         Update #include.
44907         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44908         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44909         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44910         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44911         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44912         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44913         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44914         * sysdeps/x86/bits/semaphore.h: ... here.
44915         * sysdeps/x86/nptl/elide.h: Moved ...
44916         * sysdeps/x86/elide.h: ... here.
44917         * sysdeps/x86_64/nptl/Implies: File removed.
44918         * sysdeps/i386/nptl/Implies: File removed.
44920 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44922         [BZ #16539]
44923         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44924         return the argument for normal arguments with exponent below -64.
44925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44926         Likewise.
44927         * math/auto-libm-test-in: Add another test of expm1.
44928         * math/auto-libm-test-out: Regenerated.
44930         [BZ #16287]
44931         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44932         calling __erfcl for arguments at least 16.
44933         * math/auto-libm-test-in: Add more tests of erf.
44934         * math/auto-libm-test-out: Regenerated.
44936         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44937         individual architectures.
44938         * sysdeps/unix/sysv/linux/configure: Regenerated.
44939         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44940         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44941         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44942         (ldd_rewrite_script): Define variable.
44943         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44945         file.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44947         generated file.
44948         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44949         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44950         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44951         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44952         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44953         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44954         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44955         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44957 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44959         [BZ #17084]
44960         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44961         Rename member __data.d to __data.__elision_data.
44963 2014-06-24  Wilco  <wdijkstr@arm.com>
44965         * NEWS: Add 16918 to fixed bug list.
44967 2014-06-24  Wilco  <wdijkstr@arm.com>
44969         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44971 2014-06-24  Wilco  <wdijkstr@arm.com>
44973         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44974         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44975         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44976         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44977         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44978         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44979         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44980         Use _FPU_MASK_RM.
44982 2014-06-24  Wilco  <wdijkstr@arm.com>
44984         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44986 2014-06-24  Wilco  <wdijkstr@arm.com>
44988         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44989         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44990         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44991         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44993 2014-06-24  Wilco  <wdijkstr@arm.com>
44995         [BZ #16918]
44996         * sysdeps/arm/feupdateenv.c (feupdateenv):
44997         Rewrite to reduce FPSCR accesses and fix return value.
44999 2014-06-24  Wilco  <wdijkstr@arm.com>
45001         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45002         Optimize to avoid unnecessary FPSCR writes.
45003         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45004         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45005         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45006         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45008 2014-06-24  Wilco  <wdijkstr@arm.com>
45010         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45011         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45012         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45013         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45014         Call libc_fetestexcept_vfp.
45015         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45016         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45017         __SOFTFP__ ifdef so that they can be built for softfp.
45019 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45021         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45022         argument type signed char.
45024         * Makerules (check-abi): Dump diff of symlist if the test
45025         fails.
45027 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45029         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45030         using abort.
45032         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45033         Remove unused variable ST.
45035 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45037         [BZ #16354]
45038         [BZ #17061]
45039         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45040         small arguments before calling __expm1.
45041         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45042         small arguments before calling __expm1f.
45043         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45044         small arguments before calling __expm1l.
45045         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45046         Likewise.
45047         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45048         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45049         spurious underflow for some cosh tests.
45050         * math/auto-libm-test-out: Regenerated.
45051         * sysdeps/i386/fpu/libm-test-ulps: Update.
45053         [BZ #17050]
45054         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45055         (__ieee754_y1): Set errno if return value overflows.
45056         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45057         (__ieee754_y1f): Set errno if return value overflows.
45058         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45059         (__ieee754_y1l): Set errno if return value overflows.
45060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45061         (__ieee754_y1l): Set errno if return value overflows.
45062         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45063         * math/auto-libm-test-out: Regenerated.
45065         * math/gen-auto-libm-tests.c: Document use of
45066         ignore-zero-inf-sign.
45067         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45068         (input_flags): Add ignore-zero-inf-sign.
45069         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45070         * math/gen-libm-test.pl (generate_testfile): Handle
45071         ignore-zero-inf-sign.
45072         * math/auto-libm-test-in: Mark some cpow tests with
45073         ignore-zero-inf-sign and some with xfail-rounding.
45074         * math/auto-libm-test-out: Regenerated.
45075         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45076         * sysdeps/i386/fpu/libm-test-ulps: Update.
45077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45079         [BZ #16315]
45080         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45081         overflowing or underflowing operations take place with sign of
45082         result.
45083         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45084         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45085         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45086         (__ieee754_pow): Recompute overflowing and underflowing results in
45087         original rounding mode.
45088         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45089         (__powl_helper): Allow negative argument X and scale negated value
45090         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45091         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45092         overflowing or underflowing operations take place with sign of
45093         result.
45094         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45095         Include <math.h>.
45096         * math/auto-libm-test-in: Add more tests of pow.
45097         * math/auto-libm-test-out: Regenerated.
45098         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45099         (pow_tonearest_test_data): Remove.
45100         (pow_test_tonearest): Likewise.
45101         (pow_towardzero_test_data): Likewise.
45102         (pow_test_towardzero): Likewise.
45103         (pow_downward_test_data): Likewise.
45104         (pow_test_downward): Likewise.
45105         (pow_upward_test_data): Likewise.
45106         (pow_test_upward): Likewise.
45107         (main): Don't call removed functions.
45108         * sysdeps/i386/fpu/libm-test-ulps: Update.
45109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45111 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45114         Moved ...
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45117         Moved ...
45118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45120         Moved ...
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45123         Moved ...
45124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45126         File removed.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45128         File removed.
45129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45130         File removed.
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45132         File removed.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45134         File removed.
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45136         File removed.
45137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45138         File removed.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45140         File removed.
45141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45142         File removed.
45143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45144         File removed.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45146         File removed.
45147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45148         File removed.
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45150         Moved ...
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45153         Moved ...
45154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45155         ... here.
45156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45157         Moved ...
45158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45160         Moved ...
45161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45163         Moved ...
45164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45166         Moved ...
45167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45169         Moved ...
45170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45172         Moved ...
45173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45175         Moved ...
45176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45179         ... here.
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45181         Moved ...
45182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45184         Moved ...
45185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45186         ... here.
45187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45188         Moved ...
45189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45190         ... here.
45191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45192         Moved ...
45193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45194         ... here.
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45196         Moved ...
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45199         Moved ...
45200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45204         Moved ...
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45206         ... here.
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45208         Moved ...
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45210         ... here.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45212         Moved ...
45213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45215         Moved ...
45216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45218         Moved ...
45219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45221         Moved ...
45222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45224         Moved ...
45225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45226         ... here.
45227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45228         Moved ...
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45231         Moved ...
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45234         Moved ...
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45237         Moved ...
45238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45242         Moved ...
45243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45245         Moved ...
45246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45248         Moved ...
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45250         ... here.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45252         Moved ...
45253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45254         ... here.
45255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45256         Moved ...
45257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45258         ... here.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45260         Moved ...
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45263         Moved ...
45264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45266         Moved ...
45267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45269         Moved ...
45270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45271         ... here.
45272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45273         Moved ...
45274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45275         ... here.
45276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45277         Moved ...
45278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45279         ... here.
45280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45281         Moved ...
45282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45284         Moved ...
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45287 2014-06-23  Will Newton  <will.newton@linaro.org>
45288             Wilco  <wdijkstr@arm.com>
45290         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45291         implementation.  Include get-rounding-mode.h.
45292         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45293         [!libc_feholdsetround_noex_ctx]: Define
45294         libc_feholdsetround_noex_ctx.
45295         [!libc_feholdsetround_noexf_ctx]: Define
45296         libc_feholdsetround_noexf_ctx.
45297         [!libc_feholdsetround_noexl_ctx]: Define
45298         libc_feholdsetround_noexl_ctx.
45299         (libc_feholdsetround_ctx): New function.
45300         (libc_feresetround_ctx): New function.
45301         (libc_feholdsetround_noex_ctx): New function.
45302         (libc_feresetround_noex_ctx): New function.
45304 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45306         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45307         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45308         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45309         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45310         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45311         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45313         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45314         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45316         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45317         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45318         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45320         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45322         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45324         Moved ...
45325         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45326         ... here.
45327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45328         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45330         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45332         Moved ...
45333         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45335         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45337         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45339         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45344         Moved ...
45345         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45347         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45349         Moved ...
45350         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45352         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45353         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45354         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45355         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45356         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45358         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45360         Moved ...
45361         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45362         ... here.
45363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45364         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45366         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45368         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45370         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45372         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45374         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45376         Moved ...
45377         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45381         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45383         Moved ...
45384         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45386         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45387         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45390         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45391         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45392         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45393         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45394         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45395         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45396         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45397         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45398         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45399         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45400         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45401         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45402         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45403         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45404         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45405         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45406         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45407         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45408         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45409         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45410         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45411         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45412         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45413         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45414         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45415         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45416         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45417         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45419 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45422         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45423         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45424         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45425         (IPV6_PMTUDISC_INTERFACE): Likewise.
45426         (IPV6_PMTUDISC_OMIT): Likewise.
45428 2014-06-23  Andreas Schwab  <schwab@suse.de>
45430         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45431         Remove unused errout label.
45433 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45435         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45436         macro: hardware supports Vector Crypto instructions.
45438 2014-06-23  Will Newton  <will.newton@linaro.org>
45440         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45441         rather than __builtin_expect.
45443         * elf/dl-lookup.c (undefined_msg): Remove variable.
45444         (_dl_lookup_symbol_x): Replace undefined_msg with string
45445         literal.
45447         * elf/dl-lookup.c (do_lookup_unique): New function.
45448         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45449         to a separate function.
45451 2014-06-23  Andreas Schwab  <schwab@suse.de>
45453         [BZ #17079]
45454         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45455         before reading the next line.
45457 2014-06-23  Will Newton  <will.newton@linaro.org>
45459         * test-skeleton.c (signal_handler): Use printf and %m
45460         rather than perror.  Use printf rather than fprintf to
45461         stderr.  Use puts rather than fputs to stderr.
45462         (main): Likewise.
45464 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45466         * nscd/nscd.c (thread_info_t): Remove typedef.
45467         (thread_info): Remove variable.
45469 2014-06-21  Allan McRae  <allan@archlinux.org>
45471         * NEWS: Mention CVE-2014-4043.
45473 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45475         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45476         * nptl/smp.h: ... here.
45478         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45480         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45481         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45482         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45483         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45485         * nptl/allocatestack.c: Include <stack-aliasing.h>.
45486         * nptl/stack-aliasing.h: New file.
45487         * sysdeps/i386/i686/stack-aliasing.h: New file.
45488         * sysdeps/i386/i686/nptl/Makefile: File removed.
45489         * sysdeps/x86_64/stack-aliasing.h: New file.
45490         * sysdeps/x86_64/nptl/Makefile
45491         (CFLAGS-pthread_create.c): Variable removed.
45493         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45494         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45495         old file.
45496         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45497         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45498         old file.
45500 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
45502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45503         (__ASSUME_SIGFRAME_V2): Remove macro.
45504         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45505         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45506         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45507         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45508         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45509         Declare as function.  Remove conditional macro definitions.
45510         (__default_rt_sa_restorer): Likewise.
45511         (__default_sa_restorer_v1): Remove declaration.
45512         (__default_sa_restorer_v2): Likewise.
45513         (__default_rt_sa_restorer_v1): Likewise.
45514         (__default_rt_sa_restorer_v2): Likewise.
45515         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45516         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45517         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45519 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45521         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45522         (libpthread-routines): Add sysdep.
45523         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45524         * sysdeps/unix/sysv/linux/sparc/Versions
45525         (libpthread: GLIBC_2.3.3): New version set.
45526         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45527         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45528         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45529         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45530         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45531         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45532         Moved ...
45533         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45534         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45535         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45536         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45537         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45539         * sysdeps/sparc/nptl/sem_init.c: ... here.
45540         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45541         * sysdeps/sparc/nptl/sem_post.c: ... here.
45542         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45543         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45545         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45546         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45547         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45548         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45549         (libpthread-routines): Add cpu_relax.
45550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45551         File removed.
45552         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45553         (librt: GLIBC_2.3.3): New version set.
45554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45555         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45556         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45557         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45560         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45562         Moved ...
45563         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45565         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45567         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45569         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45571         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45573         Moved ...
45574         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45575         Update #include.
45576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45577         Moved ...
45578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45579         Update #include.
45580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45581         Moved ...
45582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45583         Update #include.
45584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45585         Moved ...
45586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45587         Update #include.
45588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45589         Moved ...
45590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45591         Update #include.
45592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45593         Moved ...
45594         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45595         Update #include.
45596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45597         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45605         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45607         Moved ...
45608         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45610         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45612         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45614 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45616         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45617         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45618         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45619         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45620         * nscd/nscd.c: Likewise.
45621         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45622         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45623         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45624         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45626         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45627         <kernel-features.h>.
45628         (init_mq_netlink): Remove conditional have_sock_cloexec
45629         definitions.  Remove code conditional on have_sock_cloexec < 0.
45630         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45631         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45632         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45633         <kernel-features.h>.
45634         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45635         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45637 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45640         Add tests for memset_chk and memset.
45642         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45643         with AVX2_Usable.
45645 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45647         [BZ #16046]
45648         * elf/tst-dl-iter-static.c: New file.
45649         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45651         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45652         error.
45654 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45656         * sysdeps/unix/sysv/linux/kernel-features.h
45657         (__ASSUME_F_GETOWN_EX): Remove macro.
45658         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45659         <kernel-features.h>.
45660         (miss_F_GETOWN_EX): Remove variable or macro.
45661         (do_fcntl): Do not check miss_F_GETOWN_EX.
45662         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45664         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45665         Remove macro.
45666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45667         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45668         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45670         * sysdeps/unix/sysv/linux/kernel-features.h
45671         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45672         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45673         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45674         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45676 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45678         [BZ #17075]
45679         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45680         Fix calculation of the symbol's value.
45681         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45682         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45683         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45684         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45685         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45686         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45687         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45688         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45689         (modules-names): Add `tst-armtlsdescmod',
45690         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45691         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45692         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45693         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45694         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45695         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45696         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45697         ($(objpfx)tst-armtlsdescloc): New dependency.
45698         ($(objpfx)tst-armtlsdescextnow): Likewise.
45699         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45700         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45701         TLS scheme support.
45702         * sysdeps/arm/configure: Regenerate.
45704 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45706         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45707         (__atfct_seterrno_2): Likewise.
45708         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45709         <kernel-features.h>.
45710         (__ASSUME_ATFCTS): Do not undefine and redefine.
45711         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45712         (__have_atfcts): Remove conditional definition.
45713         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45714         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45715         unreachable if [__ASSUME_ATFCTS].
45716         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45717         not undefine and redefine.
45718         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45719         <kernel-features.h>.
45720         (faccessat) [__NR_faccessat]: Make code unconditional.
45721         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45722         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45723         <kernel-features.h>.
45724         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45725         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45726         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45727         <kernel-features.h>.
45728         (fchownat) [__NR_fchownat]: Make code unconditional.
45729         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45730         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45731         <kernel-features.h>.
45732         (futimesat) [__NR_futimesat]: Make code unconditional.
45733         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45734         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45735         <kernel-features.h>.
45736         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45738         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45739         <kernel-features.h>.
45740         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45741         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45742         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45743         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45744         <kernel-features.h>.
45745         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45746         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45747         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45748         <kernel-features.h>.
45749         (linkat) [__NR_linkat]: Make code unconditional.
45750         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45751         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45752         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45753         <kernel-features.h>.
45754         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45755         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45756         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45757         <kernel-features.h>.
45758         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45759         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45760         * sysdeps/unix/sysv/linux/openat.c: Do not include
45761         <kernel-features.h>.
45762         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45763         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45764         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45765         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45766         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45767         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45768         <kernel-features.h>.
45769         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45770         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45771         result of INLINE_SYSCALL directly, not via int variable.
45772         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45773         <kernel-features.h>.
45774         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45775         (renameat) [__NR_renameat]: Make code unconditional.
45776         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45777         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45778         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45779         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45780         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45781         (__ASSUME_ATFCTS): Do not undefine and redefine.
45782         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45783         <kernel-features.h>.
45784         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45785         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45786         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45787         <kernel-features.h>.
45788         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45789         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45790         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45791         (__ASSUME_ATFCTS): Do not undefine and redefine.
45792         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45793         <kernel-features.h>.
45794         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45795         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45796         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45797         <kernel-features.h>.
45798         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45799         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45801 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45803         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45805 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45807         [BZ #17069]
45808         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45809         constructed tree before returning error.
45810         * posix/bug-regexp36.c: Expand test case.
45812 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45814         [BZ #6803]
45815         * math/libm-test.inc (scalbln_test_date):
45816         Add errno expectations.
45817         * math/w_scalblnf.c: New File.
45818         Add wrapper which checks for setting errno to ERANGE.
45819         Add weak_alias for corresponding scalbln function.
45820         * math/w_scalbln.c: Likewise.
45821         * math/w_scalblnl.c: Likewise.
45822         * math/Makefile (libm-calls): Add w_scalbln.
45823         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45824         Remove weak_alias for corresponding scalbln function.
45825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45827         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45829         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45830         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45831         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45832         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45833         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45834         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45835         Remove long_double_symbol for scalblnl function in libm, libc.
45836         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45837         Add wrapper which checks for setting errno to ERANGE.
45838         Add long_double_symbol for scalblnl function in libm, libc.
45839         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45840         Remove long_double_symbol for scalblnl in libm.
45841         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45842         Add wrapper which checks for setting errno to ERANGE.
45843         Add long_double_symbol for scalblnl function in libm.
45844         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45845         Do not use wrapper because of own implementation.
45847 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45849         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45850         3 bytes for __pad1 for x32.
45851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45853 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45854             H.J. Lu  <hongjiu.lu@intel.com>
45856         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45857         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45858         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45859         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45860         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45862 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45864         [BZ #17069]
45865         * posix/regcomp.c (parse_expression): Deallocate partially
45866         constructed tree before returning error.
45867         * posix/Makefile.c (tests): Add bug-regex36.
45868         (generated): Add bug-regex36.mtrace.
45869         (tests-special): Add $(objpfx)bug-regex36-mem.out
45870         (bug-regex36-ENV): New variable.
45871         ($(objpfx)bug-regex36-mem.out): New rule.
45872         * posix/bug-regex36.c: New file.
45874 2014-06-19  Will Newton  <will.newton@linaro.org>
45876         * malloc/malloc.c (systrim): If extra is zero then return
45877         early.
45879 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45881         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45883 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45885         * sysdeps/aarch64/strchr.S: New file.
45887 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45889         [BZ #17022]
45890         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45891         from arguments -2 or below.
45892         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45893         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45895 2014-06-18  Andreas Schwab  <schwab@suse.de>
45897         [BZ #17062]
45898         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45899         of a bracket expr not to run off the end of the string.
45900         * posix/Makefile (tests): Add tst-fnmatch3.
45901         * posix/tst-fnmatch3.c: New file.
45903 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45905         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45906         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45907         [$(cross-compiling) = no]: Likewise.
45908         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45909         [$(cross-compiling) = no]: Likewise.
45911 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45913         [BZ #17031]
45914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45915         double, adjusted for any remainder from the high double.
45916         * math/libm-test.inc (nearbyint): Add tests.
45917         (rint): Likewise.
45919 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45921         * nptl/sysdeps/powerpc/Makefile: Moved ...
45922         * sysdeps/powerpc/nptl/Makefile: ... here.
45923         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45924         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45925         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45926         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45927         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45928         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45929         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45930         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45931         * nptl/sysdeps/powerpc/tls.h: Moved ...
45932         * sysdeps/powerpc/nptl/tls.h: ... here.
45934 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45936         [BZ #16681]
45937         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45938         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45939         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45940         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45941         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45942         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45943         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45944         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45945         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45947 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45949         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45951 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45953         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45954         defined operator.
45956         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45957         $TIMEOUTFACTOR.
45959 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45961         [BZ #17058]
45962         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45963         non-executed part of the test.
45965 2014-06-16  Andreas Schwab  <schwab@suse.de>
45967         * string/bits/string2.h (strdup, strndup): Update feature guard.
45969 2014-06-14  David S. Miller  <davem@davemloft.net>
45971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45973 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45975         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45976         that was previously under [RESET_PID].
45977         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45979         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45980         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45981         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45983         (__libc_vfork): New strong alias.
45984         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45986 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45988         * sysdeps/generic/elide.h: New file.
45990 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45992         * Makefile (installed-headers): Adjust path of pthread.h header.
45994 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45996         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45997         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45998         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45999         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46001         * nptl/sysdeps/s390/Makefile: Moved ...
46002         * sysdeps/s390/nptl/Makefile: ... here.
46003         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46004         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46005         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46006         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46007         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46008         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46009         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46010         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46011         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46012         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46013         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46014         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46015         * nptl/sysdeps/s390/tls.h: Moved ...
46016         * sysdeps/s390/nptl/tls.h: ... here.
46018         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46019         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46021 2014-06-13  David S. Miller  <davem@davemloft.net>
46023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46026         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46030         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46031         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46032         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46033         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46034         Remove RESET_PID cpp guards.
46035         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46036         Remove RESET_PID cpp guards.
46037         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46039 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46041         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46042         __sp to uintptr_t.
46044 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46067         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46068         (pthread_rwlock_rdlock): Add elision.
46069         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46070         (pthread_rwlock_wrlock): Add elision.
46071         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46072         (pthread_rwlock_trywrlock): Add elision.
46073         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46074         (pthread_rwlock_tryrdlock): Add elision.
46075         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46076         (pthread_rwlock_tryrdlock): Add elision unlock.
46077         * nptl/sysdeps/pthread/pthread.h:
46078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46079         (PTHREAD_RWLOCK_INITIALIZER,
46080         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46081         Handle new elision field.
46082         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46083         * sysdeps/arm/nptl/bits/pthreadtypes.h
46084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46085         * sysdeps/sh/nptl/bits/pthreadtypes.h
46086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46087         * sysdeps/tile/nptl/bits/pthreadtypes.h
46088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46089         * sysdeps/a/nptl/bits/pthreadtypes.h
46090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46093         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46095         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46097         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46099         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46101         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46103         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46105         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46107         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46108         (elision_init): Set try_xbegin to zero when no RTM.
46109         * sysdeps/x86/nptl/bits/pthreadtypes.h
46110         (pthread_rwlock_t): Change __pad1 to __rwelision.
46111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46113 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46115         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46116         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46117         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46118         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46120 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46122         [BZ #16996]
46123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46124         that the cached result has been set before returning it.
46126 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46128         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46129         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46131         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46132         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46133         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46135         * nptl/sysdeps/sparc/Makefile: Moved ...
46136         * sysdeps/sparc/nptl/Makefile: ... here.
46137         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46138         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46139         * nptl/sysdeps/sparc/tls.h: Moved ...
46140         * sysdeps/sparc/nptl/tls.h: ... here.
46141         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46142         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46143         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46144         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46145         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46146         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46147         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46148         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46149         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46150         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46151         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46152         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46153         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46154         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46155         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46156         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46159         Update #include.
46160         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46162         Update #include.
46163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46165         Update #include.
46166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46168         Update #include.
46170         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46172         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46173         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46175         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46176         (struct list_links): Type removed.
46177         (struct thread_node, struct timer_node): Replace struct list_links
46178         with struct list_head.
46179         (list_unlink_ip): Likewise.
46180         * sysdeps/pthread/timer_routines.c
46181         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46182         (list_append, list_insbefore): Likewise.
46183         (list_init): Function removed.
46184         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46185         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46186         * sysdeps/pthread/Makefile: ... here, new file.
46188         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46189         * sysdeps/nptl/Implies: ... here.
46190         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46191         * nptl/sysdeps/pthread/list.h: Moved ...
46192         * include/list.h: ... here.
46193         * nptl/sysdeps/pthread/createthread.c: Moved ...
46194         * nptl/createthread.c: ... here.
46195         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46196         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46197         * nptl/pt-longjmp.c: ... here.
46198         * nptl/sysdeps/pthread/Makefile: Moved ...
46199         * sysdeps/nptl/Makefile: ... here.
46200         * nptl/sysdeps/pthread/Subdirs: Moved ...
46201         * sysdeps/nptl/Subdirs: ... here.
46202         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46203         * sysdeps/nptl/aio_misc.h: ... here.
46204         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46205         * sysdeps/nptl/bits/libc-lock.h: ... here.
46206         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46207         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46208         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46209         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46210         * nptl/sysdeps/pthread/configure: Moved ...
46211         * sysdeps/nptl/configure: ... here.
46212         * nptl/sysdeps/pthread/configure.ac: Moved ...
46213         * sysdeps/nptl/configure.ac: ... here.
46214         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46215         * sysdeps/nptl/gai_misc.h: ... here.
46216         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46217         * sysdeps/nptl/librt-cancellation.c: ... here.
46218         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46219         * sysdeps/nptl/malloc-machine.h: ... here.
46220         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46221         * sysdeps/nptl/pthread-functions.h: ... here.
46222         * nptl/sysdeps/pthread/pthread.h: Moved ...
46223         * sysdeps/nptl/pthread.h: ... here.
46224         * nptl/sysdeps/pthread/setxid.h: Moved ...
46225         * sysdeps/nptl/setxid.h: ... here.
46226         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46227         * sysdeps/nptl/sigfillset.c: ... here.
46228         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46229         * sysdeps/nptl/tcb-offsets.h: ... here.
46230         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46231         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46232         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46233         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46234         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46235         * sysdeps/pthread/allocalim.h: ... here.
46236         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46237         * sysdeps/pthread/bits/sigthread.h: ... here.
46238         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46239         * sysdeps/pthread/flockfile.c: ... here.
46240         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46241         * sysdeps/pthread/ftrylockfile.c: ... here.
46242         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46243         * sysdeps/pthread/funlockfile.c: ... here.
46244         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46245         * sysdeps/pthread/posix-timer.h: ... here.
46246         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46247         * sysdeps/pthread/timer_create.c: ... here.
46248         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46249         * sysdeps/pthread/timer_delete.c: ... here.
46250         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46251         * sysdeps/pthread/timer_getoverr.c: ... here.
46252         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46253         * sysdeps/pthread/timer_gettime.c: ... here.
46254         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46255         * sysdeps/pthread/timer_routines.c: ... here.
46256         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46257         * sysdeps/pthread/timer_settime.c: ... here.
46258         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46259         * sysdeps/pthread/tst-timer.c: ... here.
46260         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46261         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46263         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46264         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46266         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46267         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46268         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46269         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46270         Update #include target.
46271         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46272         * sysdeps/i386/i686/nptl/Makefile: ... here.
46273         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46274         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46275         Update #include target.
46276         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46277         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46278         * nptl/sysdeps/i386/Makefile: Moved ...
46279         * sysdeps/i386/nptl/Makefile: ... here.
46280         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46281         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46282         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46283         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46284         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46285         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46286         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46287         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46288         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46289         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46290         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46291         * nptl/sysdeps/i386/tls.h: Moved ...
46292         * sysdeps/i386/nptl/tls.h: ... here.
46294         * sysdeps/sh/Makefile [$(subdir) = csu]
46295         (gen-as-const-headers): Add tcb-offsets.sym.
46296         * nptl/sysdeps/sh/Makefile: File removed.
46297         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46298         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46299         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46300         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46301         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46302         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46303         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46304         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46305         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46306         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46307         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46308         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46309         * nptl/sysdeps/sh/tls.h: Moved ...
46310         * sysdeps/sh/nptl/tls.h: ... here.
46311         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46312         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46314         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46315         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46317         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46320         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46322         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46324         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46326         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46328         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46330         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46332         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46336         Moved ...
46337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46338         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46339         Moved ...
46340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46345         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46346         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46347         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46348         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46349         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46350         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46351         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46352         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46353         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46354         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46355         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46356         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46357         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46358         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46360 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46362         * posix/spawn_faction_addopen.c: Include string.h.
46364 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46366         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46367         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46368         * nptl/sysdeps/x86_64/Makefile: Moved ...
46369         * sysdeps/x86_64/nptl/Makefile: ... here.
46370         * nptl/sysdeps/x86_64/configure: Moved ...
46371         * sysdeps/x86_64/nptl/configure: ... here.
46372         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46373         * sysdeps/x86_64/nptl/configure.ac: ... here.
46374         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46375         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46376         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46377         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46378         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46379         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46380         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46381         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46382         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46383         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46384         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46385         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46386         * nptl/sysdeps/x86_64/tls.h: Moved ...
46387         * sysdeps/x86_64/nptl/tls.h: ... here.
46388         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46389         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46390         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46391         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46393         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46395 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46399 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46401         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46402         type.
46403         [POSIX] (off_t): Likewise.
46404         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46405         [POSIX] (S_ISBLK): Require macro.
46406         [POSIX] (S_ISCHR): Likewise.
46407         [POSIX] (S_ISDIR): Likewise.
46408         [POSIX] (S_ISFIFO): Likewise.
46409         [POSIX] (S_ISREG): Likewise.
46410         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46411         optional-macro.
46412         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46413         type.
46414         [POSIX] (time_t): Likewise.
46415         [POSIX] (timer_t): Likewise.
46417 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46419         [BZ #17048]
46420         * posix/spawn_int.h (struct __spawn_action): Make the path string
46421         non-const to support deallocation.
46422         * posix/spawn_faction_addopen.c
46423         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46424         * posix/spawn_faction_destroy.c
46425         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46426         path in all spawn_do_open actions.
46427         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46428         posix_spawn_file_actions_addopen.
46430 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46432         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46433         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46434         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46435         conditional code always true.
46436         (__libc_vfork): New alias.
46438 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46440         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46441         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46443         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46445         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46446         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46448         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46449         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46451         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46452         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46454 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46456         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46457         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46458         multiarch strcmp for PPC64.
46459         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46460         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46462         multiarch optimizations.
46463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46464         (__libc_ifunc_impl_list): Likewise.
46466 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46468         * benchtests/scripts/validate_benchout.py: New script.
46469         * benchtests/Makefile (bench-func): Call it.
46470         * benchtests/scripts/benchout.schema.json: New file.
46472 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
46474         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46475         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46476         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46477         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46478         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46479         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46480         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46481         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46482         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46483         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46484         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46485         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46486         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46487         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46488         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46489         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46491         Moved ...
46492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46493         ... here.
46494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46495         Moved ...
46496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46498         Moved ...
46499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46500         ... here.
46501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46502         Moved ...
46503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46504         ... here.
46505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46506         Moved ...
46507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46509         Moved ...
46510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46511         ... here.
46512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46513         Moved ...
46514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46515         ... here.
46516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46517         Moved ...
46518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46520         Moved ...
46521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46522         ... here.
46523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46524         Moved ...
46525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46526         ... here.
46527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46528         Moved ...
46529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46530         ... here.
46531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46532         Moved ...
46533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46535         Moved ...
46536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46537         ... here.
46538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46539         Moved ...
46540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46541         ... here.
46542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46543         Moved ...
46544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46545         ... here.
46546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46547         Moved ...
46548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46550         Moved ...
46551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46552         ... here.
46553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46554         Moved ...
46555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46556         ... here.
46557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46558         Moved ...
46559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46561         Moved ...
46562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46563         ... here.
46564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46565         Moved ...
46566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46568         Moved ...
46569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46571         Moved ...
46572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46573         ... here.
46574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46575         Moved ...
46576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46577         ... here.
46578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46579         Moved ...
46580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46581         ... here.
46582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46583         Moved ...
46584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46586         Moved ...
46587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46588         ... here.
46589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46590         Moved ...
46591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46592         ... here.
46593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46594         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46596         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46598         Moved ...
46599         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46600         ... here.
46601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46602         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46608         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46610         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46612         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46614         Moved ...
46615         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46617         Moved ...
46618         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46620         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46622         Moved ...
46623         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46625         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46626         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46627         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46628         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46629         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46631 2014-06-10  Wilco  <wdijkstr@arm.com>
46633         * math/test-fenv-return.c: New file.
46634         * math/Makefile: Add new test test-fenv-return.
46636 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46638         [BZ #17042]
46639         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46640         when x - 1 is zero.
46641         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46642         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46643         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46644         0.0L for an argument of 1.0L.
46645         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46646         Likewise.
46647         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46648         value when x - 1 is zero.
46649         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46650         * sysdeps/i386/fpu/libm-test-ulps: Update.
46651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46653 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46655         [BZ #15119]
46656         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46658 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46660         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46661         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46663 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46665         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46666         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46668         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46669         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46671         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46672         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46674         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46675         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46677         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46678         if not already defined.
46679         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46680         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46681         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46682         (TLS_INIT_TP): Use it.
46683         (TLS_DEFINE_INIT_TP): New macro.
46684         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46686 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46688         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46689         constant.
46690         [POSIX] (IXANY): Likewise.
46691         [POSIX] (OLCUC): Likewise.
46692         [POSIX || POSIX2008] (CBAUD): Do not allow.
46693         [POSIX || POSIX2008] (DEFECHO): Likewise.
46694         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46695         [POSIX || POSIX2008] (ECHOKE): Likewise.
46696         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46697         [POSIX || POSIX2008] (EXTA): Likewise.
46698         [POSIX || POSIX2008] (EXTB): Likewise.
46699         [POSIX || POSIX2008] (FLUSHO): Likewise.
46700         [POSIX || POSIX2008] (LOBLK): Likewise.
46701         [POSIX || POSIX2008] (PENDIN): Likewise.
46702         [POSIX || POSIX2008] (SWTCH): Likewise.
46703         [POSIX || POSIX2008] (VDISCARD): Likewise.
46704         [POSIX || POSIX2008] (VDSUSP): Likewise.
46705         [POSIX || POSIX2008] (VLNEXT): Likewise.
46706         [POSIX || POSIX2008] (VREPRINT): Likewise.
46707         [POSIX || POSIX2008] (VSTATUS): Likewise.
46708         [POSIX || POSIX2008] (VWERASE): Likewise.
46709         (B*): Change to B[0123456789]*.
46710         * conform/data/time.h-data [POSIX || UNIX98]
46711         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46712         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46713         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46714         [POSIX] (tm_*): Do not allow.
46716 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46718         * Makefile (install): Don't set LANGUAGE.
46719         * Makefile.in (install): Likewise.
46720         * assert/Makefile (test-assert-ENV): Remove variable.
46721         (test-assert-perr-ENV): Likewise.
46722         * elf/Makefile (neededtest4-ENV): Likewise.
46723         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46724         [$(cross-compiling) = no]: Don't set LANGUAGE.
46725         * io/ftwtest-sh (LANG): Remove variable.
46726         * libio/Makefile (tst-widetext-ENV): Likewise.
46727         * manual/install.texi (Running make install): Don't refer to
46728         environment settings for make install.
46729         * INSTALL: Regenerated.
46730         * nptl/tst-tls6.sh: Don't set LANG.
46731         * posix/globtest.sh (LANG): Remove variable.
46732         * string/Makefile (tester-ENV): Likewise.
46733         (inl-tester-ENV): Likewise.
46734         (noinl-tester-ENV): Likewise.
46735         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46736         [$(cross-compiling) = no]: Don't set LANGUAGE.
46737         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46738         without explicit environment settings.
46740 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46742         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46743         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46744         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46745         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46747 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46749         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46750         other files in the crypt directory.
46751         * crypt/crypt.c: Remove duplicate includes.
46752         * crypt/crypt-entry.c: Likewise.
46753         * crypt/crypt_util.c: Likewise.
46755 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46757         * Makeconfig (run-program-env): New variable.
46758         (run-program-prefix-before-env): Likewise.
46759         (run-program-prefix-after-env): Likewise.
46760         (run-program-prefix): Define in terms of new variables.
46761         (built-program-cmd-before-env): New variable.
46762         (built-program-cmd-after-env): Likewise.
46763         (built-program-cmd): Define in terms of new variables.
46764         (test-program-prefix-before-env): New variable.
46765         (test-program-prefix-after-env): Likewise.
46766         (test-program-prefix): Define in terms of new variables.
46767         (test-program-cmd-before-env): New variable.
46768         (test-program-cmd-after-env): Likewise.
46769         (test-program-cmd): Define in terms of new variables.
46770         * Rules (make-test-out): Use $(run-program-env).
46771         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46772         (help): Do not mention environment variables.  Mention
46773         --timeoutfactor option.
46774         (timeoutfactor): New variable.
46775         (blacklist_exports): Remove function.
46776         (exports): Remove variable.
46777         (command): Do not include ${exports}.
46778         * manual/install.texi (Configuring and compiling): Do not mention
46779         test wrappers preserving environment variables.  Mention that last
46780         assignment to a variable must take precedence.
46781         * INSTALL: Regenerated.
46782         * benchtests/Makefile (run-bench): Use $(run-program-env).
46783         * catgets/Makefile ($(objpfx)test1.cat): Use
46784         $(built-program-cmd-before-env), $(run-program-env) and
46785         $(built-program-cmd-after-env).
46786         ($(objpfx)test2.cat): Do not specify environment variables
46787         explicitly.
46788         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46789         $(run-program-env) and $(built-program-cmd-after-env).
46790         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46791         $(run-program-env) and $(test-program-cmd-after-env).
46792         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46793         explicitly.
46794         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46795         run_program_env and test_program_cmd_after_env arguments.
46796         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46797         * elf/tst-pathopt.sh: Use run_program_env argument.
46798         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46799         $(test-wrapper-env) and $(run-program-env).
46800         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46801         run_program_env arguments.
46802         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46803         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46804         $(test-program-prefix-before-env), $(run-program-env) and
46805         $(test-program-prefix-after-env).
46806         ($(objpfx)tst-gettext2.out): Likewise.
46807         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46808         run_program_env and test_program_prefix_after_env arguments.
46809         * intl/tst-gettext2.sh: Likewise.
46810         * intl/tst-gettext4.sh: Do not set environment variables
46811         explicitly.
46812         * intl/tst-gettext6.sh: Likewise.
46813         * intl/tst-translit.sh: Likewise.
46814         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46815         $(test-program-prefix-before-env), $(run-program-env) and
46816         $(test-program-prefix-after-env).
46817         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46818         run_program_env and test_program_prefix_after_env arguments.
46819         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46820         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46821         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46822         explicitly with each use of ${test_wrapper_env}.
46823         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46824         $(test-program-prefix-before-env), $(run-program-env) and
46825         $(test-program-prefix-after-env).
46826         * posix/tst-getconf.sh: Do not set environment variables
46827         explicitly.
46828         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46829         run_program_env and test_program_prefix_after_env arguments.
46830         * stdio-common/tst-printf.sh: Do not set environment variables
46831         explicitly.
46832         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46833         $(test-program-prefix-before-env), $(run-program-env) and
46834         $(test-program-prefix-after-env).
46835         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46836         run_program_env and test_program_prefix_after_env arguments.
46837         Split $test calls into $test_pre and $test.
46838         * timezone/Makefile (build-testdata): Use
46839         $(built-program-cmd-before-env), $(run-program-env) and
46840         $(built-program-cmd-after-env).
46842 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46844         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46845         strlen for non SHARED builds.
46847 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46849         * nptl/allocatestack.c (check_list): Inlined function...
46850         (__reclaim_stacks): ... here.
46852 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46854         [BZ #15698]
46855         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46856         memory overrun.
46858 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46860         * Rules (make-test-out): Include
46861         LOCPATH=$(common-objpfx)localedata in default environment.
46862         * debug/Makefile (tst-chk1-ENV): Remove variable.
46863         (tst-chk2-ENV): Likewise.
46864         (tst-chk3-ENV): Likewise.
46865         (tst-chk4-ENV): Likewise.
46866         (tst-chk5-ENV): Likewise.
46867         (tst-chk6-ENV): Likewise.
46868         (tst-lfschk1-ENV): Likewise.
46869         (tst-lfschk2-ENV): Likewise.
46870         (tst-lfschk3-ENV): Likewise.
46871         (tst-lfschk4-ENV): Likewise.
46872         (tst-lfschk5-ENV): Likewise.
46873         (tst-lfschk6-ENV): Likewise.
46874         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46875         (tst-iconv7-ENV): Likewise.
46876         * intl/Makefile (LOCPATH-ENV): Likewise.
46877         (tst-codeset-ENV): Likewise.
46878         (tst-gettext3-ENV): Likewise.
46879         (tst-gettext5-ENV): Likewise.
46880         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46881         (tst-fopenloc-ENV): Likewise.
46882         (tst-fgetws-ENV): Remove variable.
46883         (tst-ungetwc1-ENV): Likewise.
46884         (tst-ungetwc2-ENV): Likewise.
46885         (bug-ungetwc2-ENV): Likewise.
46886         (tst-swscanf-ENV): Likewise.
46887         (bug-ftell-ENV): Likewise.
46888         (tst-fgetwc-ENV): Likewise.
46889         (tst-fseek-ENV): Likewise.
46890         (tst-ftell-partial-wide-ENV): Likewise.
46891         (tst-ftell-active-handler-ENV): Likewise.
46892         (tst-ftell-append-ENV): Likewise.
46893         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46894         (tst-regexloc-ENV): Likewise.
46895         (bug-regex1-ENV): Likewise.
46896         (tst-regex-ENV): Likewise.
46897         (tst-regex2-ENV): Likewise.
46898         (bug-regex5-ENV): Likewise.
46899         (bug-regex6-ENV): Likewise.
46900         (bug-regex17-ENV): Likewise.
46901         (bug-regex18-ENV): Likewise.
46902         (bug-regex19-ENV): Likewise.
46903         (bug-regex20-ENV): Likewise.
46904         (bug-regex22-ENV): Likewise.
46905         (bug-regex23-ENV): Likewise.
46906         (bug-regex25-ENV): Likewise.
46907         (bug-regex26-ENV): Likewise.
46908         (bug-regex30-ENV): Likewise.
46909         (bug-regex32-ENV): Likewise.
46910         (bug-regex33-ENV): Likewise.
46911         (bug-regex34-ENV): Likewise.
46912         (bug-regex35-ENV): Likewise.
46913         (tst-rxspencer-ENV): Likewise.
46914         (tst-rxspencer-no-utf8-ENV): Likewise.
46915         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46916         (tst-sscanf-ENV): Likewise.
46917         (tst-swprintf-ENV): Likewise.
46918         (tst-swscanf-ENV): Likewise.
46919         (test-vfprintf-ENV): Likewise.
46920         (scanf13-ENV): Likewise.
46921         (bug14-ENV): Likewise.
46922         (tst-grouping-ENV): Likewise.
46923         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46924         (tst-strtod3-ENV): Likewise.
46925         (tst-strtod4-ENV): Likewise.
46926         (tst-strtod5-ENV): Likewise.
46927         (testmb2-ENV): Likewise./
46928         * string/Makefile (tst-strxfrm-ENV): Likewise.
46929         (tst-strxfrm2-ENV): Likewise.
46930         (bug-strcoll1-ENV): Likewise.
46931         (test-strcasecmp-ENV): Likewise.
46932         (test-strncasecmp-ENV): Likewise.
46933         * time/Makefile (tst-strptime-ENV): Likewise.
46934         (tst-ftime_l-ENV): Likewise.
46935         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46936         (tst-mbrtowc-ENV): Likewise.
46937         (tst-wcrtomb-ENV): Likewise.
46938         (tst-mbrtowc2-ENV): Likewise.
46939         (tst-c16c32-1-ENV): Likewise.
46940         (tst-mbsnrtowcs-ENV): Likewise.
46942 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46944         * manual/resource.texi (How to get information about the memory
46945         subsystem?): Fix typo.
46946         Reported by Peon de la Parra Ivan <peon@keba.com>
46948 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46950         [BZ #16882]
46951         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46952         (pthread_spin_lock): Branch out of spin loop to proper location.
46953         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46954         (pthread_spin_lock): Likewise.
46956         * nptl/tst-spin4.c: New test.
46957         * nptl/Makefile (tests): Add tst-spin4.
46959 2014-06-03  Andreas Schwab  <schwab@suse.de>
46961         [BZ #15946]
46962         * resolv/res_send.c (send_dg): Reload file descriptor after
46963         calling reopen.
46965 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46967         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46969 2014-06-03  Richard Henderson  <rth@redhat.com>
46971         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46972         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46973         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46974         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46975         in the SAVE_PID block.
46976         (__libc_vfork): New alias.
46977         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46979         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46980         child in registers, not on the stack.  Remove RESET_PID conditionals.
46981         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46983 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46985         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46987 2014-06-03  Wilco  <wdijkstr@arm.com>
46989         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46990         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46991         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46992         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46993         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46994         Likewise.
46996 2014-06-03  Wilco  <wdijkstr@arm.com>
46998         * sysdeps/aarch64/fpu/math_private.h
46999         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47000         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47001         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47002         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47003         Fix declarations.
47005 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47007         * crypt/crypt-private.h: Include ufc-crypt.h.
47008         (__b64_from_24bit): Declare extern.
47009         * crypt/crypt_util.c(__b64_from_24bit): New function.
47010         (b64t): New static const variable.
47011         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47012         (b64t): Remove variable.
47013         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47014         * crypt/sha256-crypt.c: Include crypt-private.h.
47015         (b64t): Remove variable.
47016         (__sha256_crypt_r): Remove b64_from_24bit and replace
47017         with __b64_from_24bit.
47018         * crypt/sha512-crypt.c: Likewise.
47020 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47022         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47023         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47024         Label the code __libc_vfork rather than __vfork.
47025         [!NOT_IN_libc] (vfork): Define as weak alias.
47026         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47027         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47028         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47030 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47032         * malloc/malloc.c (malloc_info): Fix format specifier for
47033         n_mmaps.
47035 2014-06-02  Wilco  <wdijkstr@arm.com>
47037         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47038         FPCR write.
47040 2014-06-02  Wilco  <wdijkstr@arm.com>
47042         [BZ #17009]
47043         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47044         Rewrite to reduce FPCR/FPSR accesses.
47046 2014-06-01  David S. Miller  <davem@davemloft.net>
47048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47050 2014-05-31  David S. Miller  <davem@davemloft.net>
47052         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47053         to occur in round to nearest mode when |x| >= 2.0
47055 2014-05-30  Richard Henderson  <rth@twiddle.net>
47057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47058         (PSEUDO_RET_NOERRNO): Remove.
47059         (ret): Don't redefine.
47060         (ret_NOERRNO): Define in terms of ret.
47061         (ret_ERRVAL): Likewise.
47063         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47064         use of PSEUDO_RET; perform the error check directly.
47066 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47068         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47069         with __int128_t.
47071 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47073         * malloc/malloc (malloc_info): Fix formatting.
47075 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47076             Roland McGrath  <roland@hack.frob.com>
47078         * malloc/malloc (malloc_info): Also print mmapped statistics.
47080 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47082         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47083         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47085 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47087         * malloc/malloc.c (malloc_info): Inline mi_arena.
47089 2014-05-29  Richard Henderson  <rth@twiddle.net>
47091         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47092         Remove comma before expanding ASM_ARGS_##nr.
47093         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47094         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47095         of ASM_ARGS_##nr.
47096         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47097         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47098         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47099         (ASM_ARGS_1): Add leading comma.
47101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47102         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47103         to __errno_location.
47104         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47105         Remove the expected plt for __errno_location.
47107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47108         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47109         call to __read_tp.
47111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47112         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47113         it and break it down.
47114         (DOCARGS_0, DOCARGS_1): Do nothing.
47115         (DOCARGS_2): Update to store into the new stack frame.
47116         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47117         (UNDOCARGS_1): Update to restore from the new stack frame.
47118         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47119         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47122         (SINGLE_THREAD_P): New parameter for result regno.
47123         (PSEUDO): Update to match; use cbz instead of beq.
47125         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47126         Use ENTRY to define the _nocancel entry point.  Share the syscall
47127         and syscall error check paths with the cancel path.
47128         (PSEUDO_END): New.
47130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47131         whitespace; tabs before and after asm mnemonics.
47133 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47135         [BZ #15132]
47136         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47137         Call fstat64 or stat64 internally, depending on arguments passed.
47138         Replace stat buffer argument with file descriptor argument.
47139         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47140         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47141         Pass fd to __internal_statvfs instead of calling fstat64.
47142         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47143         Pass fd to __internal_statvfs64 instead of calling fstat64.
47144         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47145         Pass -1 to __internal_statvfs instead of calling stat64.
47146         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47147         Pass -1 to __internal_statvfs64 instead of calling stat64.
47149 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47151         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47152         that was previously under [RESET_PID].
47153         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47155         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47156         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47158 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47160         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47162         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47163         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47165 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47167         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47169 2014-05-27  Andreas Schwab  <schwab@suse.de>
47171         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47172         TLS_INIT_TP macro.
47173         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47174         * elf/rtld.c (init_tls, dl_main): Likewise.
47175         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47176         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47177         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47178         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47179         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47180         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47181         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47182         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47183         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47184         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47185         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47186         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47187         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47188         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47189         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47190         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47191         * sysdeps/generic/tls.h: Update description.
47193 2014-05-27  Will Newton  <will.newton@linaro.org>
47195         [BZ #16990]
47196         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47197         and restore r2 rather than just restoring.
47199 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47201         [BZ #16724]
47202         * libio/tst-ftell-append.c: New test case.
47203         * libio/Makefile (tests): Add test case.
47204         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47205         append mode.
47206         * libio/wfileops.c (do_ftell_wide): Likewise.
47208 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47212         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47213         ...
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47216         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47217         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47218         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47219         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47220         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47221         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47223         Moved ...
47224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47226         Moved ...
47227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47228         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47229         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47230         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47231         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47232         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47233         ...
47234         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47235         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47236         Moved ...
47237         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47238         here.
47239         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47240         ...
47241         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47242         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47243         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47245         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47246         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47247         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47248         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47251         merge into ...
47252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47254         ...
47255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47257         ...
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47260         Moved ...
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47262         here.
47263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47264         Moved ...
47265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47267         Moved ...
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47271         conditional [RESET_PID].
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47274         removed.
47275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47276         removed.
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47279         <tcb-offsets.h>.
47280         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47281         (__libc_vfork): New strong alias.
47282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47283         removed.
47284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47285         Removed.
47287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47288         <tcb-offsets.h>.
47289         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47290         (__libc_vfork): New strong alias.
47291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47292         removed.
47293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47294         removed.
47296 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47298         * malloc/malloc.c (mi_arena): New function.
47299         (malloc_info): Remove nested function mi_arena. Call non-nosted
47300         function mi_arena.
47302 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47304         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47305         by insrwi.
47306         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47307         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47308         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47309         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47310         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47311         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47312         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47314 2014-05-26  Andreas Schwab  <schwab@suse.de>
47316         [BZ #16984]
47317         * locale/programs/repertoire.c (repertoire_read): Add slash
47318         between I18NPATH element and file name.
47319         * locale/programs/locfile.c (locfile_read): Likewise.
47321 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47323         * nptl/pthread_mutexattr_settype.c
47324         (__pthread_mutexattr_settype):
47325         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47329         * nptl/tst-mutex5 (do_test):
47330         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47332 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47334         * benchtests/README: Document 'init' directive.
47335         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47336         BENCH_INIT.
47337         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47338         (parse_file): Recognize 'init' directive.
47340 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47342         [BZ #16796]
47343         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47344         alignment of struct pthread.
47346 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47348         [BZ #16878]
47349         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47350         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47351         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47352         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47354 2014-05-25  Richard Henderson  <rth@twiddle.net>
47356         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47357         (SINGLE_THREAD_P_PIC): Remove.
47358         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47359         (SINGLE_THREAD_P_PIC): Remove.
47361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47362         branch to syscall error ...
47363         (PSEUDO): ... here.
47364         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47365         from __local_syscall_error to .Lsyscall_error.
47366         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47367         (SYSCALL_ERROR): Update label name.
47369         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47370         Do not use DOARGS/UNDOARGS.
47371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47372         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47373         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47374         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47375         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47378         block comment.
47380         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47381         define if !NOT_IN_libc.
47382         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47383         define with non-default symbol versions.
47385 2014-05-23  Richard Henderson  <rth@twiddle.net>
47387         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47388         (vfork, __vfork): Define via compat_symbol.
47390         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47391         [!HAVE_IFUNC] (vfork_compat): Remove.
47392         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47394 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47396         [BZ #16978]
47397         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47398         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47399         variable.
47401 2014-05-23  Richard Henderson  <rth@twiddle.net>
47403         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47404         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47405         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47406         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47408         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47409         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47410         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47411         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47412         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47413         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47414         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47415         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47416         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47417         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47418         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47419         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47420         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47421         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47422         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47423         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47424         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47425         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47426         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47427         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47428         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47429         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47430         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47431         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47432         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47433         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47434         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47435         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47436         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47437         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47438         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47439         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47441         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47442         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47443         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47444         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47445         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47446         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47447         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47448         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47449         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47450         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47451         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47452         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47453         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47455         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47457         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47459         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47461         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47463         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47465         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47466         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47467         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47468         before exiting on error.
47469         (__libc_vfork): New strong alias.
47470         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47471         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47473         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47474         that was previously under [RESET_PID].
47475         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47477         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47479 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47481         [BZ #16977]
47482         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47483         value when x - 1 is zero.
47484         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47485         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47486         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47487         0.0L for an argument of 1.0L.
47488         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47489         Likewise.
47490         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47491         value when x - 1 is zero.
47492         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47493         * sysdeps/i386/fpu/libm-test-ulps: Update.
47494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47496 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
47498         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47499         alphasort and versionsort.
47501 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47503         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47504         macro.
47505         [copysignf]: Likewise.
47507 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47509         * crypt/md5-crypt.c: Fix formatting.
47511 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47513         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47514         (b64_from_24bit): New function.
47516 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47518         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47519         libc_hidden_builtin_def to ifunc.
47520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47521         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47523 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47525         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47526         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47528 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47530         * nscd/Depend (linuxthreads): Remove.
47531         (nptl): Add.
47532         * resolv/Depend (linuxthreads): Remove.
47533         * rt/Depend (linuxthreads): Remove.
47535         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47536         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47537         $(common-objpfx)elf/.
47538         (link-libc-before-gnulib): Likewise.
47539         (elfobjdir): Remove variable.
47540         * Makefile (install): Use $(elf-objpfx) instead of
47541         $(common-objpfx)elf/.
47542         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47543         $(elfobjdir)/.
47544         (link-libc-deps): Likewise.
47545         ($(common-objpfx)libc.so): Likewise.
47546         ($(common-objpfx)linkobj/libc.so): Likewise.
47547         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47548         instead of $(common-objpfx)elf/.
47549         (symbolic-link-list): Likewise.
47550         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47551         [$(cross-compiling) = no]: Likewise.
47552         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47553         $(elfobjdir)/.
47554         (static-gnulib-arch): Likewise.
47555         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47556         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47557         $(common-objpfx)elf/.
47559 2014-05-21  Richard Henderson  <rth@redhat.com>
47561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47562         (SINGLE_THREAD_P): Use the correct width load.  Fold
47563         into the ldr offset.
47565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47566         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47568 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47570         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47571         (libgcc_s_resume): Use __attribute_used__.
47572         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47573         Likewise.
47575 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47577         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47578         optimization when used with float constants.
47580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47582 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47584         [BZ #16915]
47585         * locale/nl_langinfo_l.c: Make direct reference to every
47586         _nl_current_CATEGORY symbol.
47587         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47588         (tests-static): Add tst-langinfo-static.
47589         (tests-special): Add tst-langinfo-static.out.
47590         ($(objpfx)tst-langinfo.out): Redirect output.
47591         ($(objpfx)tst-langinfo-static.out): New.
47592         * localedata/tst-langinfo.sh: Send output to stdout.
47593         * localedata/tst-langinfo-static.c: New file.
47595         [BZ #16965]
47596         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47597         when the shift amount is modulo the limb size.
47599 2014-05-20  Richard Henderson  <rth@redhat.com>
47601         [BZ #16967]
47602         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47603         Change type of sa_flags from unsigned int to int.
47605         [BZ #16966]
47606         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47608         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47610 2014-05-20  Will Newton  <will.newton@linaro.org>
47612         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47613         Test the return value of the system call in the nocancel case.
47615 2014-05-20  Will Newton  <will.newton@linaro.org>
47616             Yvan Roux  <yvan.roux@linaro.org>
47618         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47619         #include of asm/ptrace.h.
47620         (PTRACE_GET_THREAD_AREA): Remove #undef.
47621         (PTRACE_GETHBPREGS): Likewise.
47622         (PTRACE_SETHBPREGS): Likewise.
47623         (struct user_regs_struct): New structure.
47624         (struct user_fpsimd_struct): New structure.
47625         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47626         #include of asm/ptrace.h and second #include of sys/user.h.
47627         (PTRACE_GET_THREAD_AREA): Remove #undef.
47628         (PTRACE_GETHBPREGS): Likewise.
47629         (PTRACE_SETHBPREGS): Likewise.
47630         (ELF_NGREG): Use new struct user_regs_struct.
47631         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47633 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47638 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47640         [BZ #16958]
47641         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47642         membar to avoid block loads/stores to overlap previous stores.
47644 2014-05-17  Richard Henderson  <rth@redhat.com>
47646         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47647         Create the __##syscall_name##_nocancel entry point.
47648         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47649         Remove; let the sysdep-cancel.h code create it.
47651 2014-05-17  David S. Miller  <davem@davemloft.net>
47653         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47654         Protect with __USE_GNU.
47655         (TIOCSET_TEMPT): Likewise.
47656         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47657         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47658         these are already provided in bits/ioctl-types.h
47660 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47662         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47663         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47665         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47666         Use wait4 regardless of [__NR_waitpid].
47668 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47670         PR libgcc/60166
47671         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47672         (_FP_NANSIGN_Q): Set the quiet bit.
47674 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47676         * benchtests/Makefile
47677         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47678         not $(common-objpfx)math/libm.so.
47679         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47680         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47681         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47682         $(common-objpfx)dlfcn/libdl.so.
47683         ($(objpfx)tst-audit8): Depend on $(libm), not
47684         $(common-objpfx)math/libm.so.
47685         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47686         not $(common-objpfx)dlfcn/libdl.so.
47687         * math/Makefile
47688         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47689         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47690         [$(build-shared) = yes].
47691         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47692         $(common-objpfx)nptl/libpthread.so.
47693         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47694         $(common-objpfx)math/libm.so$(libm.so-version) or
47695         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47696         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47697         $(common-objpfx)dlfcn/libdl.so.
47698         * setjmp/Makefile (link-libm): Remove variable.
47699         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47700         * stdio-common/Makefile (link-libm): Remove variable.
47701         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47702         * stdlib/Makefile (link-libm): Remove variable.
47703         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47704         ($(objpfx)tst-strtod-round): Likewise.
47705         ($(objpfx)tst-tininess): Likewise.
47706         ($(objpfx)tst-strtod-underflow): Likewise.
47707         ($(objpfx)tst-strtod6): Likewise.
47708         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47709         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47710         $(common-objpfx)dlfcn/libdl.so.
47712 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47714         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47715         BSD terminal modes definitions.
47717 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47719         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47720         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47722         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47723         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47724         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47725         Don't do #include_next.
47726         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47727         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47728         Don't do #include_next.
47729         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47730         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47731         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47732         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47734 2014-05-16  Allan McRae  <allan@archlinux.org>
47736         * po/sv.po: Update Swedish translation from translation project.
47738         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47739         in sed expression.
47741 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47743         [BZ #16917]
47744         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47745         errno if the TIOCGPTN ioctl fails with an error different than
47746         EINVAL.
47747         * login/tst-ptsname.c: New file.
47748         * login/Makefile (tests): Add tst-ptsname.
47750         [BZ #16943]
47751         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47752         and prlimit64.
47754 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         [BZ #16849]
47757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47758         herrno to return EAI_AGAIN.
47760 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47762         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47763         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47764         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47765         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47766         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47767         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47768         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47769         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47771         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47772         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47773         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47774         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47775         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47776         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47777         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47778         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47779         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47780         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47781         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47782         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47783         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47784         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47785         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47786         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47787         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47788         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47789         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47790         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47791         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47793         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47795         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47797         Moved ...
47798         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47800         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47802         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47804         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47806         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47810         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47812         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47814         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47816         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47818         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47820         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47822         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47824         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47826         Moved ...
47827         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47829         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47831         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47833         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47835         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47837         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47839         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47841         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47843         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47845         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47847         Moved ...
47848         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47850         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47852         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47853         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47854         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47855         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47856         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47857         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47858         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47859         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47860         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47861         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47862         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47863         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47864         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47865         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47866         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47867         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47868         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47869         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47870         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47871         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47872         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47873         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47874         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47877         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47878         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47879         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47880         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47884         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47885         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47887         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47888         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47889         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47890         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47891         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47893         Moved ...
47894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47895         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47896         Moved ...
47897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47899         Moved ...
47900         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47902         Moved ...
47903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47904         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47905         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47907         Moved ...
47908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47909         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47910         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47912         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47913         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47914         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47916         Moved ...
47917         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47919         Moved ...
47920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47921         ... here.
47922         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47923         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47924         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47925         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47927         Moved ...
47928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47929         ... here.
47930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47931         Moved ...
47932         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47933         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47934         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47935         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47936         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47938         Moved ...
47939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47940         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47941         Moved ...
47942         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47944         Moved ...
47945         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47947         Moved ...
47948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47949         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47950         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47952         Moved ...
47953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47954         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47955         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47957         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47958         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47959         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47961         Moved ...
47962         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47964         Moved ...
47965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47966         ... here.
47967         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47968         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47969         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47970         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47972         Moved ...
47973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47974         ... here.
47975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47976         Moved ...
47977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47978         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47979         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47980         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47981         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47982         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47983         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47984         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47985         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47987         Moved ...
47988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47990         Moved ...
47991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47993         Moved ...
47994         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47996         Moved ...
47997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47998         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47999         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48000         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48001         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48003         Moved ...
48004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48005         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48006         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48008         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48009         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48010         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48012         Moved ...
48013         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48015         Moved ...
48016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48017         ... here.
48018         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48019         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48020         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48021         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48023         Moved ...
48024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48025         ... here.
48026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48027         Moved ...
48028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48029         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48030         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48031         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48032         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48033         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48034         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48036         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48037         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48038         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48040         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48041         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48043         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48044         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48046         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48047         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48048         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48049         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48050         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48051         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48052         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48053         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48054         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48055         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48057         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48059         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48060         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48062         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48064         Moved ...
48065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48067         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48069         Moved ...
48070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48074         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48078         Moved ...
48079         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48080         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48081         Moved ...
48082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48088         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48090         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48091         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48092         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48093         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48094         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48096         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48097         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48098         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48100         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48101         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48102         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48103         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48104         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48106         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48107         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48108         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48109         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48110         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48111         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48112         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48113         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48114         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48115         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48120         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48121         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48122         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48123         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48125         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48127         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48128         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48129         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48131         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48133         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48135         Update #include.
48136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48137         Likewise.
48138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48139         Likewise.
48140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48141         Likewise.
48142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48143         Likewise.
48144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48145         Likewise.
48146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48147         Likewise.
48148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48149         Likewise.
48150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48151         Likewise.
48152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48153         Likewise.
48154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48171         that was previously under [RESET_PID].
48172         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48173         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48174         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48176         * sysdeps/i386/nptl/Implies: New file.
48177         * sysdeps/x86_64/nptl/Implies: New file.
48178         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48179         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48180         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48181         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48183         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48184         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48185         (__libc_vfork): New strong alias.
48186         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48187         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48189         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48191         (__libc_vfork): New strong alias.
48192         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48193         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48195         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48197         (__libc_vfork): New strong alias.
48198         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48199         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48200         * nptl/pt-vfork.c: New file.
48201         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48202         (libpthread: GLIBC_2.20): New version set (empty).
48204 2014-05-14  Will Newton  <will.newton@linaro.org>
48206         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48207         rather than #if.
48209 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48211         [BZ #16564]
48212         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48213         arguments with exponent 65 or above.
48214         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48215         arguments 0x1p113L or above.
48216         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48217         to arguments 0x1p107L or above.
48218         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48219         positive arguments with exponent 65 or above.
48220         * math/auto-libm-test-in: Add more tests of log1p.
48221         * math/auto-libm-test-out: Regenerated.
48223         [BZ #16928]
48224         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48225         non-finite arguments is +0.
48226         * math/s_cacosf.c (__cacosf): Likewise.
48227         * math/s_cacosl.c (__cacosl): Likewise.
48228         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48229         * sysdeps/i386/fpu/libm-test-ulps: Update.
48230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48232         [BZ #16927]
48233         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48234         value.
48235         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48236         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48237         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48238         for explicit high bit of mantissa when testing for argument equal
48239         to 1.
48240         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48241         * sysdeps/i386/fpu/libm-test-ulps: Update.
48242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48244         [BZ #16516]
48245         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48246         (__erf): Scale by 16 instead of 8 in potentially underflowing
48247         case.  Ensure exception if result actually underflows.
48248         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48249         (__erff): Scale by 16 instead of 8 in potentially underflowing
48250         case.  Ensure exception if result actually underflows.
48251         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48252         (efx8): Remove variable.
48253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48254         case.  Ensure exception if result actually underflows.
48255         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48256         (efx8): Remove variable.
48257         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48258         case.  Ensure exception if result actually underflows.
48259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48260         (efx8): Remove variable.
48261         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48262         case.  Ensure exception if result actually underflows.
48263         * math/auto-libm-test-in: Add more tests of erf.
48264         * math/auto-libm-test-out: Regenerated.
48266 2014-05-14  Andreas Schwab  <schwab@suse.de>
48268         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48269         Remove code conditionalized on USE___THREAD.
48271         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48272         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48273         not definedness.
48275 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48278         Define unconditionally.
48279         (__ASSUME_O_CLOEXEC): Likewise.
48280         (__ASSUME_SOCK_CLOEXEC): Likewise.
48281         (__ASSUME_IN_NONBLOCK): Likewise.
48282         (__ASSUME_PIPE2): Likewise.
48283         (__ASSUME_EVENTFD2): Likewise.
48284         (__ASSUME_SIGNALFD4): Likewise.
48285         (__ASSUME_DUP3): Likewise.
48286         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48287         (__ASSUME_DUP3): Do not define.
48288         (__ASSUME_EVENTFD2): Likewise.
48289         (__ASSUME_IN_NONBLOCK): Likewise.
48290         (__ASSUME_O_CLOEXEC): Likewise.
48291         (__ASSUME_PIPE2): Likewise.
48292         (__ASSUME_SIGNALFD4): Likewise.
48293         (__ASSUME_SOCK_CLOEXEC): Likewise.
48294         (__ASSUME_UTIMES): Undefine.
48295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48296         (__ASSUME_UTIMES): Do not define.
48297         (__ASSUME_O_CLOEXEC): Likewise.
48298         (__ASSUME_SOCK_CLOEXEC): Likewise.
48299         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48300         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48301         0x020621].
48302         (__ASSUME_PIPE2): Likewise.
48303         (__ASSUME_EVENTFD2): Likewise.
48304         (__ASSUME_SIGNALFD4): Likewise.
48305         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48306         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48307         Do not define.
48308         (__ASSUME_EVENTFD2): Likewise.
48309         (__ASSUME_SIGNALFD4): Likewise.
48310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48311         (__ASSUME_32BITUIDS): Likewise.
48312         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48313         (__ASSUME_IPC64): Likewise.
48314         (__ASSUME_ST_INO_64_BIT): Likewise.
48315         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48316         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48317         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48318         (__ASSUME_UTIMES): Do not define.
48319         (__ASSUME_PSELECT): Likewise.
48320         (__ASSUME_PPOLL): Likewise.
48321         (__ASSUME_O_CLOEXEC): Likewise.
48322         (__ASSUME_SOCK_CLOEXEC): Likewise.
48323         (__ASSUME_IN_NONBLOCK): Likewise.
48324         (__ASSUME_PIPE2): Likewise.
48325         (__ASSUME_EVENTFD2): Likewise.
48326         (__ASSUME_SIGNALFD4): Likewise.
48327         (__ASSUME_DUP3): Likewise.
48328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48329         (__ASSUME_UTIMES): Likewise.
48330         (__ASSUME_O_CLOEXEC): Likewise.
48331         (__ASSUME_SOCK_CLOEXEC): Likewise.
48332         (__ASSUME_IN_NONBLOCK): Likewise.
48333         (__ASSUME_PIPE2): Likewise.
48334         (__ASSUME_EVENTFD2): Likewise.
48335         (__ASSUME_SIGNALFD4): Likewise.
48336         (__ASSUME_DUP3): Likewise.
48337         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48338         (__ASSUME_UTIMES): Likewise.
48339         (__ASSUME_O_CLOEXEC): Likewise.
48340         (__ASSUME_SOCK_CLOEXEC): Likewise.
48341         (__ASSUME_IN_NONBLOCK): Likewise.
48342         (__ASSUME_PIPE2): Likewise.
48343         (__ASSUME_EVENTFD2): Likewise.
48344         (__ASSUME_SIGNALFD4): Likewise.
48345         (__ASSUME_DUP3): Likewise.
48346         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48347         Likewise.
48348         (__ASSUME_UTIMES): Likewise.
48349         (__ASSUME_EVENTFD2): Likewise.
48350         (__ASSUME_SIGNALFD4): Likewise.
48351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48352         (__ASSUME_O_CLOEXEC): Likewise.
48353         (__ASSUME_SOCK_CLOEXEC): Likewise.
48354         (__ASSUME_IN_NONBLOCK): Likewise.
48355         (__ASSUME_PIPE2): Likewise.
48356         (__ASSUME_EVENTFD2): Likewise.
48357         (__ASSUME_SIGNALFD4): Likewise.
48358         (__ASSUME_DUP3): Likewise.
48359         (__ASSUME_UTIMES): Undefine.
48361         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48362         feclearexcept.  Remove symbol versioning code.
48363         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48364         symbol versioning code.
48365         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48366         symbol versioning code.
48367         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48368         feupdateenv.  Remove symbol versioning code.
48369         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48370         fegetexceptflag.  Remove symbol versioning code.
48371         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48372         fesetexceptflag.  Remove symbol versioning code.
48373         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48374         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48375         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48376         (__posix_fadvise64_l32): Remove prototype.
48377         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48378         code.
48380 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48382         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48383         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48384         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48385         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48387 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48389         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48390         current working directory
48392 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48394         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48395         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48396         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48397         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48398         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48399         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48400         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48401         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48402         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48403         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48404         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48405         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48406         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48407         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48408         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48409         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48410         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48411         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48412         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48413         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48414         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48415         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48416         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48417         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48418         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48419         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48420         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48421         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48422         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48423         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48424         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48425         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48427         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48428         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48429         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48430         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48431         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48432         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48433         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48434         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48435         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48437         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48438         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48440         * sysdeps/unix/sysv/linux/arm/Makefile
48441         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48442         Add rt-aeabi_unwind_cpp_pr1.
48443         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48444         Add nptl-aeabi_unwind_cpp_pr1.
48445         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48446         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48447         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48448         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48449         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48450         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48452         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48453         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48454         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48455         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48457         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48458         Deconditionalize the code that was previously under [RESET_PID].
48459         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48461         * sysdeps/generic/exit-thread.h: New file.
48462         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48463         * include/unistd.h (__exit_thread): Remove declaration.
48464         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48465         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48466         * csu/libc-start.c: Include <exit-thread.h>.
48467         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48468         * nptl/pthread_create.c: Include <exit-thread.h>.
48469         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48470         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48471         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48472         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48473         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48474         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48475         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48476         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48477         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48478         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48479         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48480         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48481         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48482         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48483         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48484         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48485         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48487 2014-05-13  Andreas Schwab  <schwab@suse.de>
48489         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48491 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
48493         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48494         (__ASSUME_UTIMES): Do not condition on kernel version.
48495         (__ASSUME_PSELECT): Define unconditionally.
48496         (__ASSUME_PPOLL): Likewise.
48497         (__ASSUME_ATFCTS): Likewise.
48498         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48499         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48500         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48501         (__ASSUME_UTIMENSAT): Define unconditionally.
48502         (__ASSUME_PRIVATE_FUTEX): Likewise.
48503         (__ASSUME_FALLOCATE): Likewise.
48504         (__ASSUME_O_CLOEXEC): Likewise.
48505         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48506         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48507         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48508         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48509         (__ASSUME_IN_NONBLOCK): Likewise.
48510         (__ASSUME_PIPE2): Likewise.
48511         (__ASSUME_EVENTFD2): Likewise.
48512         (__ASSUME_SIGNALFD4): Likewise.
48513         (__ASSUME_DUP3): Likewise.
48514         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48515         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48516         (__ASSUME_AT_RANDOM): Likewise.
48517         (__ASSUME_PREADV): Likewise.
48518         (__ASSUME_PWRITEV): Likewise.
48519         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48520         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48521         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48522         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48523         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48524         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48525         (__ASSUME_O_CLOEXEC): Define unconditionally.
48526         (__ASSUME_PSELECT): Do not undefine conditionally.
48527         (__ASSUME_PPOLL): Likewise.
48528         (__ASSUME_ATFCTS): Likewise.
48529         (__ASSUME_SET_ROBUST_LIST): Likewise.
48530         (__ASSUME_UTIMENSAT): Likewise.
48531         (__ASSUME_FDATASYNC): Define unconditionally.
48532         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48533         (__ASSUME_SIGFRAME_V2): Likewise.
48534         )__ASSUME_EVENTFD2): Likewise.
48535         (__ASSUME_SIGNALFD4): Likewise.
48536         (__ASSUME_PSELECT): Do not undefine conditionally.
48537         (__ASSUME_PPOLL): Likewise.
48538         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48539         (__ASSUME_PSELECT): Define unconditionally.
48540         (__ASSUME_PPOLL): Likewise.
48541         (__ASSUME_O_CLOEXEC): Likewise.
48542         (__ASSUME_SOCK_CLOEXEC): Likewise.
48543         (__ASSUME_IN_NONBLOCK): Likewise.
48544         (__ASSUME_PIPE2): Likewise.
48545         (__ASSUME_EVENTFD2): Likewise.
48546         (__ASSUME_SIGNALFD4): Likewise.
48547         (__ASSUME_DUP3): Likewise.
48548         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48549         (__ASSUME_O_CLOEXEC): Likewise.
48550         (__ASSUME_SOCK_CLOEXEC): Likewise.
48551         (__ASSUME_IN_NONBLOCK): Likewise.
48552         (__ASSUME_PIPE2): Likewise.
48553         (__ASSUME_EVENTFD2): Likewise.
48554         (__ASSUME_SIGNALFD4): Likewise.
48555         (__ASSUME_DUP3): Likewise.
48556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48557         (__ASSUME_EVENTFD2): Likewise.
48558         (__ASSUME_SIGNALFD4): Likewise.
48559         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48561 2014-05-12  Andreas Schwab  <schwab@suse.de>
48563         [BZ #16932]
48564         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48565         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48566         than maximum RPC packet size.
48567         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48568         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48569         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48570         (_nss_nis_getservbyport_r): Likewise.
48572 2014-05-12  Will Newton  <will.newton@linaro.org>
48574         * malloc/Makefile (tests): Add tst-mallopt.
48575         * malloc/tst-mallopt.c: New file.
48577 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48579         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48580         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48582 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48584         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48585         (tst-tlsmod6.so): Likewise.
48587 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48589         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48591 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48593         [BZ #16064]
48594         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48595         and <dl-procinfo.h>.
48596         (__fegetenv): Save SSE state in envp->__eip if supported.
48597         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48598         envp->__eip if supported.
48599         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48600         and <dl-procinfo.h>.
48601         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48602         __data_offset and __data_selector in environment to 0.  Set SSE
48603         state if supported.
48604         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48605         test-fenv-sse.
48606         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48607         -mfpmath=sse.
48608         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48610 2014-05-09  Will Newton  <will.newton@linaro.org>
48612         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48613         and libc_relro_required for ARM.
48614         * sysdeps/arm/preconfigure: Regenerate.
48616 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48617             Stefan Liebler  <stli@linux.vnet.ibm.com>
48619         * config.make.in (enable-lock-elision): New Makefile variable.
48620         * configure.ac: Likewise.
48621         * configure: Regenerate.
48622         * sysdeps/s390/configure.ac:
48623         Add check for gcc transactions support.
48624         * sysdeps/s390/configure: Regenerate.
48625         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48626         Build elision files if enabled.
48627         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48628         Add lock elision support for s390.
48629         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48630         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48631         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48632         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48633         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48634         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48636         Likewise.
48637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48638         Likewise.
48639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48640         Likewise.
48641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48642         Likewise.
48643         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48644         (__lll_timedlock_elision, __lll_lock_elision)
48645         (__lll_unlock_elision, __lll_trylock_elision)
48646         (lll_timedlock_elision, lll_lock_elision)
48647         (lll_unlock_elision, lll_trylock_elision): Add.
48648         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48649         (pthread_mutex_t): Add lock elision support for s390.
48651 2014-05-14  Wilco  <wdijkstr@arm.com>
48653         * sysdeps/arm/fclrexcpt.c: Cleanup.
48654         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48655         * sysdeps/arm/feenablxcpt.c: Cleanup.
48656         * sysdeps/arm/fegetenv.c: Cleanup.
48657         * sysdeps/arm/fegetexcept.c: Cleanup.
48658         * sysdeps/arm/fegetround.c: Cleanup.
48659         * sysdeps/arm/feholdexcpt.c: Cleanup.
48660         * sysdeps/arm/fesetenv.c: Cleanup.
48661         * sysdeps/arm/fesetround.c: Cleanup.
48662         * sysdeps/arm/feupdateenv.c: Cleanup.
48663         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48664         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48665         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48666         * sysdeps/arm/ftestexcept.c: Cleanup.
48667         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48668         * sysdeps/arm/setfpucw.c: Cleanup.
48670 2014-05-09  Will Newton  <will.newton@linaro.org>
48672         * sysdeps/arm/armv7/strcmp.S: New file.
48673         * NEWS: Mention addition of ARMv7 optimized strcmp.
48675 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48677         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48678         look for %.ac rather than %.in.
48680         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48681         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48682         * sysdeps/mach/hurd/configure: Regenerated.
48683         * sysdeps/unix/sysv/linux/configure: Regenerated.
48685         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48687 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48689         [BZ #16922]
48690         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48691         (LONG_SUB): Ditto.
48692         (PTR_SUB): Ditto.
48694 2014-05-07  Andreas Schwab  <schwab@suse.de>
48696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48697         when skipping over non-matching result from nscd.
48699 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48701         [BZ #16876]
48702         * nptl/sockperf.c (client): Check socket return value.
48704         [BZ #16877]
48705         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48706         nscd security class.
48708 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48710         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48711         * sysdeps/arm/unwind.h: ... here.
48713 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48715         [BZ #16916]
48716         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48717         Define.
48719 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48721         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48722         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48723         multiarch strncpy for PPC64.
48724         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48725         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48727         multiarch optimizations.
48728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48729         (__libc_ifunc_impl_list): Likewise.
48730         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48731         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48732         multiarch stpncpy for PPC64.
48733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48734         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48736 2014-05-06  Andreas Schwab  <schwab@suse.de>
48738         [BZ #16912]
48739         * gmon/mcount.c (_MCOUNT_DECL): Use
48740         atomic_compare_and_exchange_bool_acq instead of
48741         catomic_compare_and_exchange_bool_acq.
48743 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48745         * elf/Makefile (others, install-bin): Remove pldd.
48746         (pldd-modules): Variable removed.
48747         ($(objpfx)pldd): Target removed.
48748         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48749         (others, install-bin): Append pldd here.
48750         ($(objpfx)pldd): New target.
48752         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48753         to 0, so the first #if test emitted later doesn't see it undefined.
48754         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48755         * sysdeps/gnu/errlist.c: Regenerated.
48757 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48759         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48760         [libc_hidden_builtin_def]: Define to empty value.
48761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48762         [libc_hidden_builtin_def]: Likewise.
48763         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48764         [libc_hidden_builtin_def]: Likewise.
48765         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48766         [libc_hidden_builtin_def]: Likewise.
48767         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48768         __redirect_memcpy and define ifunc as default hidden symbol.
48769         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48770         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48772 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48774         * locale/iso-4217.def: Reintroduce XDR currency.
48776 2014-05-04  Allan McRae  <allan@archlinux.org>
48778         * po/eo.po: Update Esperanto translation from translation project.
48780 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48782         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48783         and FEATURE_INDEX_MAX to 1.
48784         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48786 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48788         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48789         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48790         * iconvdata/big5.c (ONE_DIRECTION): Define.
48791         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48792         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48793         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48794         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48795         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48796         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48797         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48798         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48799         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48800         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48801         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48802         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48803         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48804         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48805         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48806         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48807         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48808         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48809         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48810         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48811         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48812         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48813         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48814         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48815         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48816         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48817         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48818         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48819         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48820         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48821         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48822         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48823         * iconvdata/johab.c (ONE_DIRECTION): Define.
48824         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48825         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48826         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48827         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48828         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48829         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48830         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48831         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48832         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48833         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48835 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48837         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48838         (_IO_JUMPS_OFFSET): Define to 0.
48840         * nptl/sysdeps/pthread/bits/libc-lock.h
48841         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48842         (__libc_lock_define_initialized_recursive): Always define using
48843         initializer.  Modern compilers treat uninitialized (implicit zero) and
48844         explicit zero initializers the same (i.e. put the datum in bss).
48846 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48848         * nscd/nscd-client.h: Include <string.h>.
48850 2014-05-01  David S. Miller  <davem@davemloft.net>
48852         [BZ #16885]
48853         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48854         multiple zero bytes exist at the end of a string.
48855         Reported by Aurelien Jarno <aurelien@aurel32.net>
48857         * string/test-strcmp.c (check): Add explicit test for situations where
48858         there are multiple zero bytes after the first.
48860 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48862         [BZ #16890]
48863         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48864         when compiling wprintf.
48865         * stdio-common/tstdiomisc.c (t3): New function.
48866         (main): Call it.
48868 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48870         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48871         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48872         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48873         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48875 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48877         * stdlib/longlong.h: Updated from GCC.
48879 2014-05-01  Will Newton  <will.newton@linaro.org>
48880             Bernard Ogden  <bernie.ogden@linaro.org>
48882         * NEWS: Update fixed bug list.
48884         [BZ #15119]
48885         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48887 2014-04-30  David S. Miller  <davem@davemloft.net>
48889         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48890         (libc_feholdexcept_setround_sparc_ctx): New function.
48891         (libc_fesetenv_sparc_ctx): Likewise.
48892         (libc_feupdateenv_sparc_ctx): Likewise.
48893         (libc_feholdsetround_sparc_ctx): Likewise.
48894         (libc_feholdexcept_setround_ctx): Define.
48895         (libc_feholdexcept_setroundf_ctx): Likewise.
48896         (libc_feholdexcept_setroundl_ctx): Likewise.
48897         (libc_fesetenv_ctx): Likewise.
48898         (libc_fesetenvf_ctx): Likewise.
48899         (libc_fesetenvl_ctx): Likewise.
48900         (libc_feupdateenv_ctx): Likewise.
48901         (libc_feupdateenvf_ctx): Likewise.
48902         (libc_feupdateenvl_ctx): Likewise.
48903         (libc_feresetround_ctx): Likewise.
48904         (libc_feresetroundf_ctx): Likewise.
48905         (libc_feresetroundl_ctx): Likewise.
48906         (libc_feholdsetround_ctx): Likewise.
48907         (libc_feholdsetroundf_ctx): Likewise.
48908         (libc_feholdsetroundl_ctx): Likewise.
48910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48911         with __USE_GNU instead of XOPEN cpp guards.
48913         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48914         0.
48916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48917         with XOPEN cpp guards.
48919 2014-04-30  Julian Brown  <julian@codesourcery.com>
48921         [BZ #16888]
48922         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48923         handling.
48925 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48927         [BZ #9894]
48928         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48929         Change to 2.6.32.
48930         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48931         * sysdeps/unix/sysv/linux/configure: Regenerated.
48932         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48933         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48934         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48935         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48936         * README: Update reference to required Linux kernel version.
48937         * manual/install.texi (Linux): Update reference to required Linux
48938         kernel headers version.
48939         * INSTALL: Regenerated.
48941         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48942         header inclusion.
48943         [POSIX] (limits.h): Likewise.
48944         [POSIX] (math.h): Likewise.
48945         [POSIX] (sys/wait.h): Likewise.
48946         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48947         function.
48948         [POSIX] (stddef.h): Do not allow header inclusion.
48950 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48952         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48954 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48956         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48957         Return immediately after lll_futex_wake.
48959 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48961         [BZ #16791]
48962         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48963         structure.
48964         (datahead_init_pos): Call datahead_init_common early.
48965         (datahead_init_neg): Likewise.
48967         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48968         datahead_init_neg): New functions.
48969         * nscd/aicache.c (addhstaiX): Use them.
48970         * nscd/grpcache.c (cache_addgr): Likewise.
48971         * nscd/hstcache.c (cache_addhst): Likewise.
48972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48973         * nscd/netgroupcache.c (do_notfound): Likewise.
48974         (addgetnetgrentX): Likewise.
48975         (addinnetgrX): Likewise.
48976         * nscd/pwdcache.c (cache_addpw): Likewise.
48977         * nscd/servicescache.c (cache_addserv): Likewise.
48979 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48980             Atsushi Onoe  <atsushi@onoe.org>
48982         [BZ #14308]
48983         [BZ #12994]
48984         [BZ #13651]
48985         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48986         one response is valid.
48987         * resolv/res_send.c (send_dg): Check for validity of other
48988         response if the current response is a referral.
48990 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48992         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48994 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48996         [BZ #16823]
48997         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48998         Always divide by positive zero when computing -Inf result.
48999         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49000         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49002 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49004         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49005         FPSCR if value do not change.
49006         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49007         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49008         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49009         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49010         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49011         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49012         function.
49014 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49016         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49017         * sysdeps/unix/sysv/linux/hppa: Move directory from
49018         ports/systeps/unix/sysv/linux/hppa.
49019         * README: Update listing for hppa-*-linux-gnu.
49021 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49023         [BZ #16754]
49024         * manual/stdio.texi (Hook functions): Fix types of stream hook
49025         functions.
49026         [BZ #16854]
49027         * socket/sys/socket.h: Fix typo in comment.
49029 2014-04-28  Wilco  <wdijkstr@arm.com>
49031         * sysdeps/arm/fenv_private.h: New file.
49032         * sysdeps/arm/math_private.h: New file.
49033         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49035 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49037         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49038         with __int128_t.
49039         (La_x86_64_retval): Likewise.
49041 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49043         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49044         fpsr if value didn't change.
49045         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49046         to fpcr if value didn't change.
49047         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49048         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49049         fpsr or fpcr if value didn't change.
49050         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49051         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49052         fpcr if value didn't change.
49053         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49054         to fpsr if value didn't change.
49056 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49058         * nptl/tst-sem3.c: Use test-skeleton.c
49059         (main): Rename to do_test.  Use return instead of
49060         exit.
49061         * nptl/tst-sem4.c: Use test-skeleton.c
49062         (main): Rename to do_test.
49064 2014-04-22  David S. Miller  <davem@davemloft.net>
49066         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49067         (struct sigaction): New struct member __glibc_reserved0, change
49068         type of sa_flags to int.
49070 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49072         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49073         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49075 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49077         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49078         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49080 2014-04-22  Will Newton  <will.newton@linaro.org>
49081             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49083         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49084         (__longjmp): Add longjmp and longjmp_target SystemTap
49085         probes.
49086         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49087         (__sigsetjmp): Add setjmp SystemTap probe.
49089 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49091         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49092         match manual order.
49094 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49096         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49098         * sysdeps/powerpc/fpu/fenv_private.h
49099         (libc_feholdexcept_setroundl_ctx): Define to
49100         libc_feholdexcept_setround_ppc_ctx.
49101         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49102         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49103         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49104         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49106 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49108         * sysdeps/aarch64/math-tests.h: New file.
49110 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49112         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49113         New.
49114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49115         Check and set bit_AVX2_Usable.
49116         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49117         macro.
49118         (bit_AVX2): Likewise.
49119         (index_AVX2_Usable): Likewise.
49120         (CPUID_AVX2): Likewise.
49121         (HAS_AVX2): Likewise.
49123 2014-04-17  Will Newton  <will.newton@linaro.org>
49125         * manual/setjmp.texi (System V contexts): Add note that
49126         calling setcontext on a context created by a call to a
49127         signal handler is undefined.  Update text to note that
49128         setcontext from a signal handler is possible but not
49129         recommended.
49131         [BZ #16629]
49132         * stdlib/tst-setcontext.c: Include signal.h.
49133         (main): Check that the signal stack before and
49134         after swapcontext is the same.
49136         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49137         Re-implement to restore registers in user code and avoid
49138         rt_sigreturn system call.
49140 2014-04-17  Wilco  <wdijkstr@arm.com>
49142         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49143         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49144         * math/test-fenv.c: Skip exception trap tests on targets which only
49145         support non-stop mode.
49147 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49148             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49150         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49151         (libc_feholdsetround_aarch64_ctx)
49152         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49153         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49154         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49155         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49156         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49157         (libc_feresetround_noexl_ctx): Define.
49159 2014-04-16  Richard Henderson  <rth@redhat.com>
49161         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49163         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49164         unwind tables.
49166         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49167         const from the non-libc, non-ldso copy.
49169         * sysdeps/alpha/libm-test-ulps: Regenerate.
49171 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49172             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49174         * sysdeps/aarch64/fpu/math_private.h: New file.
49176 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49178         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49180 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49182         [BZ #16275]
49183         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49184         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49186         Intel MPX bound registers before _dl_profile_fixup.
49187         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49188         registers after _dl_profile_fixup.  Save and restore bound
49189         registers bnd0/bnd1 when calling _dl_call_pltexit.
49190         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49191         (LR_BND_OFFSET): Likewise.
49192         (LRV_BND0_OFFSET): Likewise.
49193         (LRV_BND1_OFFSET): Likewise.
49195 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49197         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49198         to...
49199         * sysdeps/mach/hurd/i386/tls.h: ... here.
49200         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49201         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49202         fields.
49204 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49206         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49208 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49212 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49214         [BZ #14770]
49215         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49216         * sysdeps/s390/configure: Regenerate.
49218         [BZ #16824]
49219         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49220         Set round-to-nearest internally to reduce error accumulation.
49222 2014-04-16  Alan Modra  <amodra@gmail.com>
49224         [BZ #16740]
49225         [BZ #16619]
49226         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49227         * math/libm-test.inc (frexp_test_data): Add tests.
49228         * NEWS: Update fixed bug list.
49230 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232         * benchtests/Makefile: Depend on libraries in build directory.
49233         (bench-math): Separate out math tests.
49234         (bench-pthread): Separate out pthread tests.
49235         (bench): Include math and pthread tests.
49237 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49239         [BZ #16831]
49240         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49241         _dl_debug_initialize.
49243         * configure.ac: Remove SELinux header check.
49244         * configure: Regenerate.
49245         * nscd/selinux.c (perms): Array of const char* to permission names.
49246         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49247         default policy. Call string_to_security_class and string_to_av_perm to
49248         translate strings. Enforce default policy and call avs_has_perm with
49249         results of translated strings.
49251 2014-04-13  David S. Miller  <davem@davemloft.net>
49253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49255 2014-04-12  Allan McRae  <allan@archlinux.org>
49257         [BZ #16838]
49258         * manual/string.texi (Collation Functions): Fix qsort argument
49259         order in example.
49260         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49262 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49264         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49265         Make the test a no-op if there are no exceptions defined.
49267 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49269         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49270         enable-hardcoded-path-in-tests
49272 2014-04-11  Will Newton  <will.newton@linaro.org>
49274         * benchtests/Makefile (extra-objs): Add json-lib.o.
49275         (bench-func): Tidy up JSON output.
49276         * benchtests/bench-skeleton.c: Include json-lib.h.
49277         (main): Use JSON library functions to do output of
49278         benchmark results.
49279         * benchtests/bench-timing-type.c (main): Output the
49280         timing type simply, leaving formatting to the user.
49281         * benchtests/json-lib.c: New file.
49282         * benchtests/json-lib.h: Likewise.
49284 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49286         [BZ #15215]
49287         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49288         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49289         memory barriers.  Add comments.
49290         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49291         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49292         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49293         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49294         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49295         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49297 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49299         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49300         * sysdeps/s390/s390-64/configure.ac: ... this ...
49301         * sysdeps/s390/configure.ac: ... to here.
49302         * sysdeps/s390/s390-32/configure: Delete file.
49303         * sysdeps/s390/s390-64/configure: Delete file.
49304         * sysdeps/s390/configure: Regenerate.
49306 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49308         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49310 2014-04-11  Will Newton  <will.newton@linaro.org>
49312         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49313         to zero if it is not defined elsewhere.  (mtrim): Test
49314         the value of MALLOC_DEBUG with #if rather than #ifdef.
49316 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49318         * benchtests/pthread_once-inputs: New file.
49319         * benchtests/pthread_once-source.c: New file.
49320         * benchtests/README: Update documentation.
49322 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49323             H.J. Lu  <hongjiu.lu@intel.com>
49325         [BZ #16275]
49326         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49327         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49328         * sysdeps/x86_64/configure: Regenerated.
49329         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49330         macro.
49331         (REGISTER_SAVE_RAX): Likewise.
49332         (REGISTER_SAVE_RCX): Likewise.
49333         (REGISTER_SAVE_RDX): Likewise.
49334         (REGISTER_SAVE_RSI): Likewise.
49335         (REGISTER_SAVE_RDI): Likewise.
49336         (REGISTER_SAVE_R8): Likewise.
49337         (REGISTER_SAVE_R9): Likewise.
49338         (REGISTER_SAVE_BND0): Likewise.
49339         (REGISTER_SAVE_BND1): Likewise.
49340         (REGISTER_SAVE_BND2): Likewise.
49341         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49342         bound registers when calling _dl_fixup.
49344 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49346         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49347         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49348         of its definition.
49349         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49350         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49351         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49352         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49353         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49354         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49355         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49357 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49359         [BZ #15514]
49360         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49361         pathconf(_PC_NAME_MAX).
49363 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49365         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49366         Remove macro usage.
49367         (__PTHREAD_SPINS): Move definition to ...
49368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49369         (__PTHREAD_SPINS): ... here.
49370         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49371         (__PTHREAD_SPIN): Likewise.
49372         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49373         (__PTHREAD_SPIN): Likewise.
49374         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49375         (__PTHREAD_SPIN): Likewise.
49376         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49377         (__PTHREAD_SPIN): Likewise.
49378         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49379         (__PTHREAD_SPIN): Likewise.
49380         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49381         (__PTHREAD_SPIN): Likewise.
49382         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49383         (__PTHREAD_SPIN): Likewise.
49384         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49385         (__PTHREAD_SPIN): Likewise.
49386         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49387         (__PTHREAD_SPIN): Likewise.
49388         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49389         (__PTHREAD_SPIN): Likewise.
49390         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49391         (__PTHREAD_SPIN): Likewise.
49392         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49393         (__PTHREAD_SPIN): Likewise.
49395         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49396         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49397         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49398         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49399         imply folder.
49400         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49401         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49402         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49403         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49404         correct imply path.
49405         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49406         strlen symbol for non multi-arch builds.
49407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49408         missing hidden_def and weak_alias.
49410 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49412         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49414 2014-04-07  Will Newton  <will.newton@linaro.org>
49416         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49417         and contents.  [!_LIBC] Remove #ifndef and contents.
49418         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49419         * string/memccpy.c (__memccpy): Use ANSI prototype.
49420         * string/memfrob.c (memfrob): Likewise.
49421         * string/strcoll.c (STRCOLL): Likewise.
49422         * string/strlen.c (strlen): Likewise.
49423         * string/strtok.c (STRTOK): Likewise.
49424         * string/strcat.c: Remove unused #include of memcopy.h.
49425         (strcat): Use ANSI prototype.
49426         * string/strchr.c: Remove unused #include of memcopy.h.
49427         (strchr): Use ANSI prototype.
49428         * string/strcmp.c: Remove unused #include of memcopy.h.
49429         (strcmp): Use ANSI prototype.
49430         * string/strcpy.c: Remove unused #include of memcopy.h.
49431         (strcpy): Use ANSI prototype.
49433 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49435         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49436         * config.make.in (config-extra-cppflags): Set it from
49437         libc_extra_cppflags.
49438         * configure.ac (libc_extra_cflags): Make it accumulate over
49439         configure fragments.
49440         (libc_extra_cppflags): New flag.
49441         * configure. Regenerate.
49442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49443         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49444         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49447         [BZ #16815]
49448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49449         result for FE_DOWNWARD rounding mode.
49450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49451         Likewise.
49452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49454 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49456         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49457         in function argument name.
49459 2014-04-03  David Svoboda  <svoboda@cert.org>
49461         [BZ #5666]
49462         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49463         explicitly.
49465 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49467         * elf/dl-unmap-segments.h: New file.
49468         * sysdeps/generic/ldsodefs.h
49469         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49470         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49471         * elf/dl-fptr.c: Likewise.
49472         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49473         * sysdeps/aarch64/tlsdesc.c: Likewise.
49474         * sysdeps/arm/tlsdesc.c: Likewise.
49475         * sysdeps/i386/tlsdesc.c: Likewise.
49476         * sysdeps/tile/dl-runtime.c: Likewise.
49477         * sysdeps/x86_64/tlsdesc.c: Likewise.
49478         * elf/dl-load.h: New file.
49479         * elf/dl-load.c: Include it.
49480         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49481         Macros moved to dl-load.h.
49482         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49483         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49484         Use _dl_unmap_segments in place of __munmap.
49485         Break out segment-mapping loop into ...
49486         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49488 2014-04-03  Will Newton  <will.newton@linaro.org>
49490         * elf/dl-lookup.c (do_lookup_x): Remove comment
49491         referring to nested function and move variable
49492         declarations down to before first use.
49494 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
49496         [BZ #16799]
49497         [BZ #16800]
49498         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49499         with 0 numerator.
49500         * math/s_catanf.c (__catanf): Likewise.
49501         * math/s_catanh.c (__catanh): Likewise.
49502         * math/s_catanhf.c (__catanhf): Likewise.
49503         * math/s_catanhl.c (__catanhl): Likewise.
49504         * math/s_catanl.c (__catanl): Likewise.
49505         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49506         by positive zero when computing -Inf result.
49507         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49508         (catanh_test): Likewise.
49509         * sysdeps/i386/fpu/libm-test-ulps: Update.
49510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49512         [BZ #16789]
49513         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49514         instead of using underflowing value in computing result.
49515         * math/s_clog10.c (__clog10): Likewise.
49516         * math/s_clog10f.c (__clog10f): Likewise.
49517         * math/s_clog10l.c (__clog10l): Likewise.
49518         * math/s_clogf.c (__clogf): Likewise.
49519         * math/s_clogl.c (__clogl): Likewise.
49520         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49521         (clog10_test): Likewise.
49522         * sysdeps/i386/fpu/libm-test-ulps: Update.
49523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49525 2014-04-02  Alan Modra  <amodra@gmail.com>
49527         [BZ #16739]
49528         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49529         output when value is near a power of two.  Use int64_t for lx and
49530         remove casts.  Use decimal rather than hex exponent constants.
49531         Don't use long double multiplication when double will suffice.
49532         * math/libm-test.inc (nextafter_test_data): Add tests.
49533         * NEWS: Add 16739 and 16786 to bug list.
49535         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49537         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49539 2014-04-01  Will Newton  <will.newton@linaro.org>
49541         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49542         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49544 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49546         [BZ #13347]
49547         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49548         * nptl/tst-setuid2.c: New file.
49549         * nptl/Makefile (xtests): Add tst-setuid2.
49551 2014-04-01  Alan Modra  <amodra@gmail.com>
49553         [BZ #16786]
49554         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49556 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49558         [BZ #6803]
49559         [BZ #6804]
49560         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49561         set errno as appropriate.
49562         * math/w_scalbf.c (__scalbf): Likewise.
49563         * math/w_scalbl.c (__scalbl): Likewise.
49564         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49565         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49566         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49567         Add more NaN tests.
49569         [BZ #16349]
49570         * math/w_atan2.c: Include <errno.h>.
49571         (__atan2): Set errno for result underflowing to zero.
49572         * math/w_atan2f.c: Include <errno.h>.
49573         (__atan2f): Set errno for result underflowing to zero.
49574         * math/w_atan2l.c: Include <errno.h>.
49575         (__atan2l): Set errno for result underflowing to zero.
49576         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49577         tests.
49578         * math/auto-libm-test-out: Regenerated.
49580 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49582         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49583         Encode instruction correctly in little endian.
49584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49585         Likewise.
49586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49587         Likewise.
49588         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49589         Likewise.
49590         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49591         Likewise.
49593 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49595         [BZ #9894]
49596         * sysdeps/unix/sysv/linux/kernel-features.h
49597         [__sparc__ && !__arch64__ && !__sparc_v9__]
49598         (__ASSUME_SET_ROBUST_LIST): Do not define.
49599         [__sparc__ && !__arch64__ && !__sparc_v9__]
49600         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49601         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49602         Likewise.
49603         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49604         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49605         (__ASSUME_REQUEUE_PI): Likewise.
49606         (__ASSUME_SET_ROBUST_LIST): Likewise.
49607         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49608         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49609         Undefine.
49610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49612         Likewise.
49613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49614         Likewise.
49615         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49616         Likewise.
49617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49618         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49619         Undefine.
49620         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49621         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49622         Likewise.
49624         [BZ #16648]
49625         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49626         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49627         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49629 2014-03-31  Will Newton  <will.newton@linaro.org>
49631         * benchtests/Makefile (bench): Add ffs and ffsll to list
49632         of tests.
49633         * benchtests/ffs-inputs: New file.
49634         * benchtests/ffsll-inputs: Likewise.
49636 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49638         [BZ #16770]
49639         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49640         too large before casting to int.
49641         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49642         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49643         * math/libm-test.inc (scalb_test_data): Add more tests.
49645 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49647         * benchtests/Makefile (DETAILED_OPT): New make option.
49648         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49649         set.
49650         * benchtests/bench-skeleton.c: Include stdbool.h.
49651         (main): Store and print timings per input.
49652         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49653         member to each argument value.
49654         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49655         (_print_arg_data): Initialize per-input timing to 0.
49657         * benchtests/Makefile (timing-type): New binary.
49658         (bench-clean): Also remove bench-timing-type.
49659         (bench): New target for timing-type.
49660         (bench-func): Print output in JSON format.
49661         * benchtests/bench-skeleton.c (main): Print output in JSON
49662         format.
49663         * benchtests/bench-timing-type.c: New file.
49664         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49665         (TIMING_PRINT_STATS): Remove.
49666         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49667         name separately.
49669         * benchtests/bench-modf.c: Remove.
49670         * benchtests/modf-inputs: New inputs file.
49672 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49674         [BZ #16362]
49675         * math/s_clog10.c (M_PI_LOG10E): New macro.
49676         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49677         imaginary parts are 0.
49678         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49679         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49680         imaginary parts are 0.
49681         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49682         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49683         imaginary parts are 0.
49684         * math/libm-test.inc (clog10_test_data): Update expected results
49685         for when real and imaginary parts are 0.
49687 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49689         * elf/dl-load.c: Finish conversion of __builtin_expect into
49690         __glibc_{un}likely.
49692 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49694         [BZ #16348]
49695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49696         1+x for argument with exponent below -67.
49697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49698         Likewise.
49699         * math/auto-libm-test-in: Add more tests of exp.
49700         * math/auto-libm-test-out: Regenerated.
49702 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49704         [BZ #16759]
49705         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49706         (nscd_getnetgrent): Use it.
49708         [BZ #16760]
49709         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49710         of stpcpy.
49712 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49714         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49715         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49716         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49717         (lll_robust_unlock): Remove out of line section. Use cfi
49718         intrinsics.
49719         (LLL_STUB_UNWIND_INFO*): Remove.
49720         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49723         (lll_robust_unlock): Remove out of line section. Use cfi
49724         intrinsics.
49725         (LLL_STUB_UNWIND_INFO*): Remove.
49727 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49729         [BZ #16758]
49730         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49731         blank values.
49733 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49735         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49737 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49739         [BZ #16198]
49740         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49741         fnstenv.
49742         * math/test-fenv-preserve.c: New file.
49743         * math/Makefile (tests): Add test-fenv-preserve.
49745 2014-03-26  Will Newton <will.newton@linaro.org>
49747         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49749 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49751         * scripts/versionlist.awk: Partition the version sets and emit all
49752         GLIBC_* (sorted) before all others (sorted).
49754 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49756         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49757         GLIBC_2.2.5 version.
49759 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49761         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49762         calls.
49764         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49765         previous change.
49767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49769 2014-03-25  Andreas Schwab  <schwab@suse.de>
49771         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49772         label to be used after in6ailist is initialized.
49774 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49776         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49777         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49779 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49781         [BZ #16357]
49782         [BZ #16599]
49783         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49784         min_plus_half.
49785         (fp_formats): Update initializers.
49786         (init_fp_formats): Initialize new field.
49787         (output_for_one_input_case): Allow underflow for results up to
49788         min_plus_half.
49789         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49790         * math/auto-libm-test-in: Don't mark some underflows from asin and
49791         atanh as spurious.
49792         * math/auto-libm-test-out: Regenerated.
49793         * sysdeps/i386/fpu/libm-test-ulps: Update.
49794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49796 2014-03-25  Andreas Schwab  <schwab@suse.de>
49798         * libio/Makefile (tst-ftell-partial-wide-ENV)
49799         (tst-ftell-active-handler-ENV): Define.
49801 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49803         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49805 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49807         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49809 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49811         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49812         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49813         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49815 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49817         [BZ #16634]
49818         * elf/dl-load.c (open_verify): Add mode parameter.
49819         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49820         (open_path): Change from boolean 'secure' to complete flag 'mode'
49821         (_dl_map_object): Adjust.
49822         * elf/Makefile (tests): Add tst-dlopen-aout.
49823         * elf/tst-dlopen-aout.c: New test.
49825 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49827         [BZ #16714]
49828         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49829         (struct stat): Rename member pad0 to __glibc_reserved0.
49831         [BZ #16712]
49832         * sysdeps/s390/s390-32/bits/wordsize.h
49833         (__WORDSIZE32_SIZE_ULONG): New define.
49834         * sysdeps/s390/s390-64/bits/wordsize.h
49835         (__WORDSIZE32_SIZE_ULONG): Likewise.
49836         * sysdeps/generic/stdint.h (SIZE_MAX):
49837         Define as UL if __WORDSIZE32_SIZE_ULONG.
49839         [BZ #16713]
49840         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49841         (__glibc_reserved0): New variable.
49842         (sa_flags): Change type to int.
49844         * posix/Makefile (before-compile): Use += before-compile instead
49845         of a :=.
49847         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49848         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49850 2014-03-20  Andreas Schwab  <schwab@suse.de>
49852         [BZ #16743]
49853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49854         non-matching result from nscd.
49856 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49858         * scripts/bench.py: Moved to ...
49859         * benchtests/scripts/bench.py: ... here.
49860         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49862 2014-03-24  Andreas Schwab  <schwab@suse.de>
49864         [BZ #16002]
49865         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49866         alloca_account and account alloca use for struct in6ailist.
49868 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49870         [BZ #16284]
49871         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49872         rounding mode to recompute results that overflow to infinity or
49873         underflow to zero.
49874         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49875         bug 16284.
49876         * math/auto-libm-test-out: Regenerated.
49877         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49878         (ccosh_test): Likewise.
49879         (csin_test_data): Use plus_oflow.
49880         (csin_test): Use ALL_RM_TEST.
49881         (csinh_test_data): Use plus_oflow.
49882         (csinh_test): Use ALL_RM_TEST.
49883         * sysdeps/i386/fpu/libm-test-ulps: Update.
49884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49886 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49888         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49889         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49890         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49892         [BZ #16731]
49893         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49894         when x - 1 is zero.
49895         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49897         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49898         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49899         argument is 1.
49900         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49901         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49902         zero.
49903         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49904         * sysdeps/i386/fpu/libm-test-ulps: Update.
49905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49907 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49909         * scripts/bench.pl: Remove file.
49910         * scripts/bench.py: New benchmark script.
49911         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49912         * benchtests/README: Mention python dependency.
49913         * scripts/pylintrc: New file.
49914         * scripts/pylint: New file.
49916         * bits/mathdef.h: Use #ifdef instead of #if.
49917         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49918         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49919         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49920         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49921         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49922         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49924 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49925             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49927         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49929         and strpbrk-ppc64 objects.
49930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49931         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49932         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49933         multiarch strpbrk for POWER7.
49934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49935         multiarch strpbrk for PPC64.
49936         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49937         ifunc selector.
49938         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49939         strpbrk for POWER7.
49941 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49943         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49944         (atan_test): Likewise.
49945         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49946         (atanh_test): Use ALL_RM_TEST.
49947         (atan2_test_data): Likewise.
49948         (cabs_test): Likewise.
49949         (cacosh_test): Likewise.
49950         (carg_test): Likewise.
49951         (casin_test): Likewise.
49952         (casinh_test): Likewise.
49953         (cbrt_test): Likewise.
49954         (csqrt_test): Likewise.
49955         (erf_test): Likewise.
49956         (erfc_test): Likewise.
49957         (pow10_test): Likewise.
49958         (exp2_test): Likewise.
49959         (hypot_test): Likewise.
49960         (j0_test): Likewise.
49961         (j1_test): Likewise.
49962         (lgamma_test): Likewise.
49963         (gamma_test): Likewise.
49964         (sincos_test): Likewise.
49965         (tanh_test): Likewise.
49966         (y0_test): Likewise.
49967         (y1_test): Likewise.
49968         * sysdeps/i386/fpu/libm-test-ulps: Update.
49969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49971 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49973         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49975         and strcspn-ppc64 objects.
49976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49977         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49978         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49979         multiarch strcspn for POWER7.
49980         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49981         multiarch strcspn for PPC64.
49982         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49983         ifunc selector.
49984         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49985         strcspn for POWER7.
49987 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49989         * math/gen-libm-test.pl (generate_testfile): Expect only function
49990         name as argument to AUTO_TESTS_* and pass results for all rounding
49991         modes to parse_args.
49992         (parse_auto_input): Separate inputs of automatic tests from
49993         outputs before storing in %auto_tests.
49994         * math/libm-test.inc (acos_test_data): Update call to
49995         AUTO_TESTS_f_f.
49996         (acos_test): Use ALL_RM_TEST.
49997         (acos_tonearest_test_data): Remove.
49998         (acos_test_tonearest): Likewise.
49999         (acos_towardzero_test_data): Likewise.
50000         (acos_test_towardzero): Likewise.
50001         (acos_downward_test_data): Likewise.
50002         (acos_test_downward): Likewise.
50003         (acos_upward_test_data): Likewise.
50004         (acos_test_upward): Likewise.
50005         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50006         (asin_test_data): Likewise.
50007         (asin_test): Use ALL_RM_TEST.
50008         (asin_tonearest_test_data): Remove.
50009         (asin_test_tonearest): Likewise.
50010         (asin_towardzero_test_data): Likewise.
50011         (asin_test_towardzero): Likewise.
50012         (asin_downward_test_data): Likewise.
50013         (asin_test_downward): Likewise.
50014         (asin_upward_test_data): Likewise.
50015         (asin_test_upward): Likewise.
50016         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50017         (atan_test_data): Likewise.
50018         (atanh_test_data): Likewise.
50019         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50020         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50021         (carg_test_data): Likewise.
50022         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50023         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50024         (ccosh_test_data): Likewise.
50025         (cexp_test_data): Likewise.
50026         (clog_test_data): Likewise.
50027         (clog10_test_data): Likewise.
50028         (cos_test_data): Update call to AUTO_TESTS_f_f.
50029         (cos_test): Use ALL_RM_TEST.
50030         (cos_tonearest_test_data): Remove.
50031         (cos_test_tonearest): Likewise.
50032         (cos_towardzero_test_data): Likewise.
50033         (cos_test_towardzero): Likewise.
50034         (cos_downward_test_data): Likewise.
50035         (cos_test_downward): Likewise.
50036         (cos_upward_test_data): Likewise.
50037         (cos_test_upward): Likewise.
50038         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50039         (cosh_test): Use ALL_RM_TEST.
50040         (cosh_tonearest_test_data): Remove.
50041         (cosh_test_tonearest): Likewise.
50042         (cosh_towardzero_test_data): Likewise.
50043         (cosh_test_towardzero): Likewise.
50044         (cosh_downward_test_data): Likewise.
50045         (cosh_test_downward): Likewise.
50046         (cosh_upward_test_data): Likewise.
50047         (cosh_test_upward): Likewise.
50048         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50049         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50050         (ctan_test_data): Likewise.
50051         (ctan_test): Use ALL_RM_TEST.
50052         (ctan_tonearest_test_data): Remove.
50053         (ctan_test_tonearest): Likewise.
50054         (ctan_towardzero_test_data): Likewise.
50055         (ctan_test_towardzero): Likewise.
50056         (ctan_downward_test_data): Likewise.
50057         (ctan_test_downward): Likewise.
50058         (ctan_upward_test_data): Likewise.
50059         (ctan_test_upward): Likewise.
50060         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50061         (ctanh_test): Use ALL_RM_TEST.
50062         (ctanh_tonearest_test_data): Remove.
50063         (ctanh_test_tonearest): Likewise.
50064         (ctanh_towardzero_test_data): Likewise.
50065         (ctanh_test_towardzero): Likewise.
50066         (ctanh_downward_test_data): Likewise.
50067         (ctanh_test_downward): Likewise.
50068         (ctanh_upward_test_data): Likewise.
50069         (ctanh_test_upward): Likewise.
50070         (erf_test_data): Update call to AUTO_TESTS_f_f.
50071         (erfc_test_data): Likewise.
50072         (exp_test_data): Likewise.
50073         (exp_test): Use ALL_RM_TEST.
50074         (exp_tonearest_test_data): Remove.
50075         (exp_test_tonearest): Likewise.
50076         (exp_towardzero_test_data): Likewise.
50077         (exp_test_towardzero): Likewise.
50078         (exp_downward_test_data): Likewise.
50079         (exp_test_downward): Likewise.
50080         (exp_upward_test_data): Likewise.
50081         (exp_test_upward): Likewise.
50082         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50083         (exp10_test): Use ALL_RM_TEST.
50084         (exp10_tonearest_test_data): Remove.
50085         (exp10_test_tonearest): Likewise.
50086         (exp10_towardzero_test_data): Likewise.
50087         (exp10_test_towardzero): Likewise.
50088         (exp10_downward_test_data): Likewise.
50089         (exp10_test_downward): Likewise.
50090         (exp10_upward_test_data): Likewise.
50091         (exp10_test_upward): Likewise.
50092         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50093         (expm1_test_data): Likewise.
50094         (expm1_test): Use ALL_RM_TEST.
50095         (expm1_tonearest_test_data): Remove.
50096         (expm1_test_tonearest): Likewise.
50097         (expm1_towardzero_test_data): Likewise.
50098         (expm1_test_towardzero): Likewise.
50099         (expm1_downward_test_data): Likewise.
50100         (expm1_test_downward): Likewise.
50101         (expm1_upward_test_data): Likewise.
50102         (expm1_test_upward): Likewise.
50103         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50104         (fma_test): Use ALL_RM_TEST.
50105         (fma_towardzero_test_data): Remove.
50106         (fma_test_towardzero): Likewise.
50107         (fma_downward_test_data): Likewise.
50108         (fma_test_downward): Likewise.
50109         (fma_upward_test_data): Likewise.
50110         (fma_test_upward): Likewise.
50111         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50112         (j0_test_data): Update call to AUTO_TESTS_f_f.
50113         (j1_test_data): Likewise.
50114         (jn_test_data): Update call to AUTO_TESTS_if_f.
50115         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50116         (log_test_data): Update call to AUTO_TESTS_f_f.
50117         (log10_test_data): Likewise.
50118         (log1p_test_data): Likewise.
50119         (log2_test_data): Likewise.
50120         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50121         (pow_tonearest_test_data): Likewise.
50122         (sin_test_data): Update call to AUTO_TESTS_f_f.
50123         (sin_test): Use ALL_RM_TEST.
50124         (sin_tonearest_test_data): Remove.
50125         (sin_test_tonearest): Likewise.
50126         (sin_towardzero_test_data): Likewise.
50127         (sin_test_towardzero): Likewise.
50128         (sin_downward_test_data): Likewise.
50129         (sin_test_downward): Likewise.
50130         (sin_upward_test_data): Likewise.
50131         (sin_test_upward): Likewise.
50132         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50133         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50134         (sinh_test): Use ALL_RM_TEST.
50135         (sinh_tonearest_test_data): Remove.
50136         (sinh_test_tonearest): Likewise.
50137         (sinh_towardzero_test_data): Likewise.
50138         (sinh_test_towardzero): Likewise.
50139         (sinh_downward_test_data): Likewise.
50140         (sinh_test_downward): Likewise.
50141         (sinh_upward_test_data): Likewise.
50142         (sinh_test_upward): Likewise.
50143         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50144         (sqrt_test): Use ALL_RM_TEST.
50145         (sqrt_tonearest_test_data): Remove.
50146         (sqrt_test_tonearest): Likewise.
50147         (sqrt_towardzero_test_data): Likewise.
50148         (sqrt_test_towardzero): Likewise.
50149         (sqrt_downward_test_data): Likewise.
50150         (sqrt_test_downward): Likewise.
50151         (sqrt_upward_test_data): Likewise.
50152         (sqrt_test_upward): Likewise.
50153         (tan_test_data): Update call to AUTO_TESTS_f_f.
50154         (tan_test): Use ALL_RM_TEST.
50155         (tan_tonearest_test_data): Remove.
50156         (tan_test_tonearest): Likewise.
50157         (tan_towardzero_test_data): Likewise.
50158         (tan_test_towardzero): Likewise.
50159         (tan_downward_test_data): Likewise.
50160         (tan_test_downward): Likewise.
50161         (tan_upward_test_data): Likewise.
50162         (tan_test_upward): Likewise.
50163         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50164         (tgamma_test_data): Likewise.
50165         (y0_test_data): Likewise.
50166         (y1_test_data): Likewise.
50167         (yn_test_data): Update call to AUTO_TESTS_if_f.
50168         (main): Do not call removed functions.
50170 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50172         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50173         (ldexp_test_data): Remove.
50174         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50175         scalbn_test_data.
50176         (scalb_test): Use ALL_RM_TEST.
50178 2014-03-19  Andreas Schwab  <schwab@suse.de>
50180         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50182 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50184         [BZ #16649]
50185         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50187         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50189         (__ASSUME_PREADV): Undefine.
50190         (__ASSUME_PWRITEV): Likewise.
50192 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50194         * bits/mman-linux.h: Add comment about non-Linux use.
50195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50196         bits/mman-linux.h resting place.
50198         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50199         * bits/mman-linux.h: ... here.
50201 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50203         * conform/conformtest.pl: Add standard definition when calling C
50204         preprocessor on data files.
50205         (checknamespace): Remove unused variable.
50207 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50209         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50210         minus_oflow, plus_uflow and minus_uflow in expected results.
50211         * math/libm-test.inc (scalbn_test_data): Add more tests of
50212         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50213         minus_uflow.
50214         (scalbn_test): Use ALL_RM_TEST.
50215         (scalbln_test_data): Add more tests of negative arguments.  Use
50216         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50217         (scalbln_test): Use ALL_RM_TEST.
50219 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50221         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50223 2014-03-18  Will Newton  <will.newton@linaro.org>
50225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50226         inaccurate comment.
50228 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50230         * Makerules [!subdir] (check-abi): Exit with error status if a
50231         test failed.
50233 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50235         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50236         for rint.  Include results for all rounding modes.
50237         (nearbyint_test): Use ALL_RM_TEST.
50238         (rint_test_data): Include all tests used for nearbyint.
50240 2014-03-17  Will Newton  <will.newton@linaro.org>
50242         * nptl/sysdeps/pthread/pthread.h: Revert previous
50243         change.
50245         * sysdeps/generic/ldsodefs.h: Revert previous
50246         change.
50248         * libio/genops.c: Revert previous change.
50249         * libio/libioP.h: Likewise.
50250         * stdio-common/vfprintf.c: Likewise.
50252         * sysdeps/generic/math_private.h: Revert previous
50253         change.
50255         * sysdeps/generic/math_private.h: Check whether
50256         HAVE_RM_CTX is defined with #ifdef rather
50257         than #if.
50259         * argp/argp-fmtstream.h: Check whether
50260         __STRICT_ANSI__ is defined with #ifdef rather
50261         than #if.
50262         * argp/argp.h: Likewise.
50264         * libio/genops.c: Check whether
50265         _IO_JUMPS_OFFSET is defined with #ifdef rather
50266         than #if.
50267         * libio/libioP.h: Likewise.
50268         * stdio-common/vfprintf.c: Likewise.
50270         * sysdeps/generic/ldsodefs.h: Check whether
50271         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50272         than #if.
50274         * nptl/sysdeps/pthread/pthread.h: Check
50275         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50276         its value.
50278 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50280         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50281         setting O_APPEND.
50282         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50283         test case.
50285         [BZ #16680]
50286         * libio/fileops.c (_IO_file_open): Seek to end of file but
50287         don't cache the offset.
50288         (get_file_offset): Remove function.
50289         (do_ftell): Use cached offset when available.
50290         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50291         don't cache the offset.
50292         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50293         case.
50294         (do_one_test): Call it.
50295         (do_ftell_test): Fix up expected old offset for a+ mode.
50296         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50297         available.
50299         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50300         up test status with function return status.
50301         (do_write_test): Likewise.
50302         (do_append_test): Likewise.
50304         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50305         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50306         Remove.
50308 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50310         * math/gen-libm-test.pl (parse_args): Handle results specified for
50311         each rounding mode separately.
50312         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50313         tests and results from lrint_tonearest_test_data,
50314         lrint_towardzero_test_data, lrint_downward_test_data and
50315         lrint_upward_test_data.
50316         (lrint_test): Use ALL_RM_TEST.
50317         (lrint_tonearest_test_data): Remove.
50318         (lrint_test_tonearest): Likewise.
50319         (lrint_towardzero_test_data): Likewise.
50320         (lrint_test_towardzero): Likewise.
50321         (lrint_downward_test_data): Likewise.
50322         (lrint_test_downward): Likewise.
50323         (lrint_upward_test_data): Likewise.
50324         (lrint_test_upward): Likewise.
50325         (llrint_test_data): Merge in per-rounding-mode tests and results
50326         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50327         llrint_downward_test_data and llrint_upward_test_data.
50328         (llrint_test): Use ALL_RM_TEST.
50329         (llrint_tonearest_test_data): Remove.
50330         (llrint_test_tonearest): Likewise.
50331         (llrint_towardzero_test_data): Likewise.
50332         (llrint_test_towardzero): Likewise.
50333         (llrint_downward_test_data): Likewise.
50334         (llrint_test_downward): Likewise.
50335         (llrint_upward_test_data): Likewise.
50336         (llrint_test_upward): Likewise.
50337         (rint_test_data): Merge in per-rounding-mode tests and results
50338         from rint_tonearest_test_data, rint_towardzero_test_data,
50339         rint_downward_test_data and rint_upward_test_data.  Add
50340         per-rounding-mode results for tests not in those arrays.
50341         (rint_test): Use ALL_RM_TEST.
50342         (rint_tonearest_test_data): Remove.
50343         (rint_test_tonearest): Likewise.
50344         (rint_towardzero_test_data): Likewise.
50345         (rint_test_towardzero): Likewise.
50346         (rint_downward_test_data): Likewise.
50347         (rint_test_downward): Likewise.
50348         (rint_upward_test_data): Likewise.
50349         (rint_test_upward): Likewise.
50350         (main): Don't call removed functions.
50352 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50354         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50355         "Compiled on ..." crapola.  It is anti-useful.
50357 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50359         * scripts/evaluate-test.sh: Handle fourth argument to determine
50360         whether test run should stop on failure.
50361         * Makeconfig (stop-on-test-failure): New variable.
50362         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50363         $(stop-on-test-failure).
50364         * Makefile (tests): Give a summary of results from testing and
50365         exit with failure status if they include an ERROR or FAIL.
50366         (xtests): Likewise.
50367         * manual/install.texi (Configuring and compiling): Mention
50368         stop-on-test-failure=y.
50369         * INSTALL: Regenerated.
50371 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50373         * scripts/versionlist.awk: New file.
50374         * Makerules [$(build-shared) = yes]
50375         (postclean-generated): Add Versions.def, not Versions.def.v and
50376         Versions.def.v.i.
50377         ($(common-objpfx)Versions.def.v.i): Target removed.
50378         ($(common-objpfx)Versions.def): New target.
50379         ($(common-objpfx)Versions.all): Depend on that rather that
50380         $(common-objpfx)Versions.def.v.
50381         * Versions.def: File removed.
50383         * Makeconfig (+gccwarn): Add -Wundef.
50384         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50385         a dl-sysdep.h breaking its contract.
50386         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50387         * include/stackinfo.h: New file.
50388         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50389         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50390         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50391         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50392         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50393         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50394         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50395         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50396         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50397         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50398         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50399         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50400         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50401         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50402         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50404 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50406         [BZ #16707]
50407         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50408         implementation.
50409         * math/libm-test.inc (round_test_data): Add more tests.
50411         [BZ #16706]
50412         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50413         implementation.
50414         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50416         [BZ #16701]
50417         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50418         implementation.
50419         * math/libm-test.inc (ceil_test_data): Add more tests.
50421         * math/libm-test.inc (trunc_test_data): Add more tests related to
50422         BZ#16414.
50424 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50426         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50427         with #if rather than #ifdef.
50428         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50430 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50432         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50433         first.  Disable AVX-512 GCC support if assembler doesn't support
50434         it.
50435         * sysdeps/x86_64/configure: Regenerated.
50437 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50439         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50440         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50441         (__old_pthread_attr_setstack): Likewise.
50442         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50443         [!_STACK_GROWS_DOWN]: Likewise.
50445 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50447         * config.make.in (have-bash2): Delete.
50448         * configure.ac (libc_cv_have_bash2): Delete.
50449         * configure: Regenerate.
50450         * elf/Makefile (common-ldd-rewrite): Rename to ...
50451         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50452         (sh-ldd-rewrite): Delete.
50453         (bash-ldd-rewrite): Delete.
50454         (have-bash2): Delete checks.
50455         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50456         ldd-rewrite.
50458         * config.make.in (have-ksh): Delete.
50459         (KSH): Delete.
50460         * configure.ac (libc_cv_have_ksh): Delete.
50461         * configure: Regenerate.
50463         * elf/Makefile: Delete $(have-ksh) check.
50464         ($(objpfx)sotruss): Change KSH to BASH.
50465         * elf/sotruss.ksh: Rename to ...
50466         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50467         function style to match POSIX.  Drop ksh vim mode setting.
50469         * manual/time.texi (Specifying the Time Zone with TZ): Change
50470         Tuesday to Thursday.
50472         * debug/tst-longjmp_chk2.c: Update header comment.
50473         (stackoverflow_handler): Add comment.  Call assert on pass value.
50475 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
50477         [BZ #16194]
50478         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50479         (HAVE_AVX512_ASM_SUPPORT): Likewise.
50480         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50481         (La_x86_64_vector): Add zmm.
50482         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50483         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50484         ($(objpfx)tst-audit10): New target.
50485         ($(objpfx)tst-audit10.out): Likewise.
50486         (tst-audit10-ENV): New.
50487         (AVX512-CFLAGS): Likewise.
50488         (CFLAGS-tst-audit10.c): Likewise.
50489         (CFLAGS-tst-auditmod10a.c): Likewise.
50490         (CFLAGS-tst-auditmod10b.c): Likewise.
50491         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50492         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50493         * sysdeps/x86_64/configure: Regenerated.
50494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50495         AVX-512 zmm register support.
50496         (_dl_x86_64_save_sse): Likewise.
50497         (_dl_x86_64_restore_sse): Likewise.
50498         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50499         size vector registers.
50500         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50501         (ZMM_SIZE): Likewise.
50502         * sysdeps/x86_64/tst-audit10.c: New file.
50503         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50504         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50506 2014-03-13  Roland McGrath  <roland@hack.frob.com>
50508         * configure.ac (HAVE_EHDR_START): New check.
50509         * configure: Regenerated.
50510         * config.h.in (HAVE_EHDR_START): New #undef.
50511         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50512         assuming the lowest-addressed segment maps the start of the file.
50514 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50516         * INSTALL: Regenerated.
50518 2014-03-13  Will Newton  <will.newton@linaro.org>
50520         * manual/setjmp.texi (System V contexts): Improve
50521         clarity and grammar of documentation.
50523 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50525         [BZ #16381]
50526         * elf/Makefile (tests): Add tst-pie2.
50527         (tests-pie): Add tst-pie2.
50528         * elf/tst-pie2.c: New file.
50529         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50530         for ET_EXEC.
50531         * elf/rtld.c (map_doit): Load executable as lt_executable.
50532         (dl_main): Likewise.
50534 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50536         [BZ #16642]
50537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50538         (__ASSUME_PSELECT): Undefine.
50540 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50542         [BZ #16689]
50543         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50544         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50545         static build.
50546         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50547         selector for static builds.
50549 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50551         [BZ #16695]
50552         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50553         key in the buffer.
50555 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50557         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50558         IFUNC selector for static builds.
50560 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50562         * sysdeps/mips/math_private.h [__mips_hard_float]
50563         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50564         libc_feresetround_mips_ctx.
50565         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50566         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50567         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50569         [BZ #16677]
50570         * math/s_nextafter.c (__nextafter): Do not return value from
50571         overflowing computation.
50572         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50573         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50574         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50575         Likewise.
50576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50577         Likewise.
50578         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50579         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50581 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50583         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50584         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50585         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50586         the new mov targetting sp.
50588 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50590         [BZ #16683]
50591         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50592         Define it for static builds as well.
50593         (NO_BZERO_IMPL): Likewise.
50595 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50597         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50599         multiarch strspn for PPC64.
50600         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50601         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50603         (__libc_ifunc_impl_list): Likewise.
50604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50605         multiarch optimizations
50606         * string/strspn.c (strspn): Using macro to redefine symbol name.
50608 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50609             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50611         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50612         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50613         multiarch strncat for PPC64.
50614         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50615         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50617         (__libc_ifunc_impl_list): Likewise.
50618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50619         multiarch optimizations
50621 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50623         [BZ #16639]
50624         * nscd/nscd.service: Make service type forking.
50626 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50628         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50629         sign in non default rounding modes.
50630         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50632 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50634         * math/libm-test.inc (ALL_RM_TEST): New macro.
50635         (ceil_test): Use ALL_RM_TEST.
50636         (cimag_test): Likewise.
50637         (conj_test): Likewise.
50638         (copysign_test): Likewise.
50639         (cproj_test): Likewise.
50640         (creal_test): Likewise.
50641         (fabs_test): Likewise.
50642         (floor_test): Likewise.
50643         (fmax_test): Likewise.
50644         (fmin_test): Likewise.
50645         (fmod_test): Likewise.
50646         (fpclassify_test): Likewise.
50647         (frexp_test): Likewise.
50648         (ilogb_test): Likewise.
50649         (isfinite_test): Likewise.
50650         (finite_test): Likewise.
50651         (isgreater_test): Likewise.
50652         (isgreaterequal_test): Likewise.
50653         (isinf_test): Likewise.
50654         (isless_test): Likewise.
50655         (islessequal_test): Likewise.
50656         (islessgreater_test): Likewise.
50657         (isnan_test): Likewise.
50658         (isnormal_test): Likewise.
50659         (issignaling_test): Likewise.
50660         (isunordered_test): Likewise.
50661         (logb_test): Likewise.
50662         (logb_downward_test_data): Remove.
50663         (logb_test_downward): Likewise.
50664         (lround_test): Use ALL_RM_TEST.
50665         (llround_test): Likewise.
50666         (modf_test): Likewise.
50667         (nexttoward_test): Likewise.
50668         (remainder_test): Likewise.
50669         (drem_test): Likewise.
50670         (remainder_tonearest_test_data): Likewise.
50671         (remainder_test_tonearest): Likewise.
50672         (drem_test_tonearest): Likewise.
50673         (remainder_towardzero_test_data): Likewise.
50674         (remainder_test_towardzero): Likewise.
50675         (drem_test_towardzero): Likewise.
50676         (remainder_downward_test_data): Likewise.
50677         (remainder_test_downward): Likewise.
50678         (drem_test_downward): Likewise.
50679         (remainder_upward_test_data): Likewise.
50680         (remainder_test_upward): Likewise.
50681         (drem_test_upward): Likewise.
50682         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50683         (round_test): Use ALL_RM_TEST.
50684         (signbit_test): Likewise.
50685         (trunc_test): Likewise.
50686         (significand_test): Likewise.
50687         (main): Don't call removed functions.
50689 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50691         [BZ #16674]
50692         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50693         || __USE_XOPEN2K8].
50694         (ILL_ILLOPN): Likewise.
50695         (ILL_ILLADR): Likewise.
50696         (ILL_ILLTRP): Likewise.
50697         (ILL_PRVOPC): Likewise.
50698         (ILL_PRVREG): Likewise.
50699         (ILL_COPROC): Likewise.
50700         (ILL_BADSTK): Likewise.
50701         (FPE_INTDIV): Likewise.
50702         (FPE_INTOVF): Likewise.
50703         (FPE_FLTDIV): Likewise.
50704         (FPE_FLTOVF): Likewise.
50705         (FPE_FLTUND): Likewise.
50706         (FPE_FLTRES): Likewise.
50707         (FPE_FLTINV): Likewise.
50708         (FPE_FLTSUB): Likewise.
50709         (SEGV_MAPERR): Likewise.
50710         (SEGV_ACCERR): Likewise.
50711         (BUS_ADRALN): Likewise.
50712         (BUS_ADRERR): Likewise.
50713         (BUS_OBJERR): Likewise.
50714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50715         (TRAP_TRACE): Likewise.
50716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50717         __USE_XOPEN2K8].
50718         (CLD_KILLED): Likewise.
50719         (CLD_DUMPED): Likewise.
50720         (CLD_TRAPPED): Likewise.
50721         (CLD_STOPPED): Likewise.
50722         (CLD_CONTINUED): Likewise.
50723         (POLL_IN): Likewise.
50724         (POLL_OUT): Likewise.
50725         (POLL_MSG): Likewise.
50726         (POLL_ERR): Likewise.
50727         (POLL_PRI): Likewise.
50728         (POLL_HUP): Likewise.
50729         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50730         Likewise.
50731         (ILL_ILLOPN): Likewise.
50732         (ILL_ILLADR): Likewise.
50733         (ILL_ILLTRP): Likewise.
50734         (ILL_PRVOPC): Likewise.
50735         (ILL_PRVREG): Likewise.
50736         (ILL_COPROC): Likewise.
50737         (ILL_BADSTK): Likewise.
50738         (FPE_INTDIV): Likewise.
50739         (FPE_INTOVF): Likewise.
50740         (FPE_FLTDIV): Likewise.
50741         (FPE_FLTOVF): Likewise.
50742         (FPE_FLTUND): Likewise.
50743         (FPE_FLTRES): Likewise.
50744         (FPE_FLTINV): Likewise.
50745         (FPE_FLTSUB): Likewise.
50746         (SEGV_MAPERR): Likewise.
50747         (SEGV_ACCERR): Likewise.
50748         (BUS_ADRALN): Likewise.
50749         (BUS_ADRERR): Likewise.
50750         (BUS_OBJERR): Likewise.
50751         (BUS_MCEERR_AR): Likewise.
50752         (BUS_MCEERR_AO): Likewise.
50753         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50754         (TRAP_TRACE): Likewise.
50755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50756         __USE_XOPEN2K8].
50757         (CLD_KILLED): Likewise.
50758         (CLD_DUMPED): Likewise.
50759         (CLD_TRAPPED): Likewise.
50760         (CLD_STOPPED): Likewise.
50761         (CLD_CONTINUED): Likewise.
50762         (POLL_IN): Likewise.
50763         (POLL_OUT): Likewise.
50764         (POLL_MSG): Likewise.
50765         (POLL_ERR): Likewise.
50766         (POLL_PRI): Likewise.
50767         (POLL_HUP): Likewise.
50768         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50769         (ILL_ILLOPN): Likewise.
50770         (ILL_ILLADR): Likewise.
50771         (ILL_ILLTRP): Likewise.
50772         (ILL_PRVOPC): Likewise.
50773         (ILL_PRVREG): Likewise.
50774         (ILL_COPROC): Likewise.
50775         (ILL_BADSTK): Likewise.
50776         (FPE_INTDIV): Likewise.
50777         (FPE_INTOVF): Likewise.
50778         (FPE_FLTDIV): Likewise.
50779         (FPE_FLTOVF): Likewise.
50780         (FPE_FLTUND): Likewise.
50781         (FPE_FLTRES): Likewise.
50782         (FPE_FLTINV): Likewise.
50783         (FPE_FLTSUB): Likewise.
50784         (SEGV_MAPERR): Likewise.
50785         (SEGV_ACCERR): Likewise.
50786         (BUS_ADRALN): Likewise.
50787         (BUS_ADRERR): Likewise.
50788         (BUS_OBJERR): Likewise.
50789         (BUS_MCEERR_AR): Likewise.
50790         (BUS_MCEERR_AO): Likewise.
50791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50792         (TRAP_TRACE): Likewise.
50793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50794         __USE_XOPEN2K8].
50795         (CLD_KILLED): Likewise.
50796         (CLD_DUMPED): Likewise.
50797         (CLD_TRAPPED): Likewise.
50798         (CLD_STOPPED): Likewise.
50799         (CLD_CONTINUED): Likewise.
50800         (POLL_IN): Likewise.
50801         (POLL_OUT): Likewise.
50802         (POLL_MSG): Likewise.
50803         (POLL_ERR): Likewise.
50804         (POLL_PRI): Likewise.
50805         (POLL_HUP): Likewise.
50806         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50807         Likewise.
50808         (ILL_ILLOPN): Likewise.
50809         (ILL_ILLADR): Likewise.
50810         (ILL_ILLTRP): Likewise.
50811         (ILL_PRVOPC): Likewise.
50812         (ILL_PRVREG): Likewise.
50813         (ILL_COPROC): Likewise.
50814         (ILL_BADSTK): Likewise.
50815         (ILL_BADIADDR): Likewise.
50816         (ILL_BREAK): Likewise.
50817         (FPE_INTDIV): Likewise.
50818         (FPE_INTOVF): Likewise.
50819         (FPE_FLTDIV): Likewise.
50820         (FPE_FLTOVF): Likewise.
50821         (FPE_FLTUND): Likewise.
50822         (FPE_FLTRES): Likewise.
50823         (FPE_FLTINV): Likewise.
50824         (FPE_FLTSUB): Likewise.
50825         (FPE_DECOVF): Likewise.
50826         (FPE_DECDIV): Likewise.
50827         (FPE_DECERR): Likewise.
50828         (FPE_INVASC): Likewise.
50829         (FPE_INVDEC): Likewise.
50830         (SEGV_MAPERR): Likewise.
50831         (SEGV_ACCERR): Likewise.
50832         (SEGV_PSTKOVF): Likewise.
50833         (BUS_ADRALN): Likewise.
50834         (BUS_ADRERR): Likewise.
50835         (BUS_OBJERR): Likewise.
50836         (BUS_MCEERR_AR): Likewise.
50837         (BUS_MCEERR_AO): Likewise.
50838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50839         (TRAP_TRACE): Likewise.
50840         (TRAP_BRANCH): Likewise.
50841         (TRAP_HWBKPT): Likewise.
50842         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50843         __USE_XOPEN2K8].
50844         (CLD_KILLED): Likewise.
50845         (CLD_DUMPED): Likewise.
50846         (CLD_TRAPPED): Likewise.
50847         (CLD_STOPPED): Likewise.
50848         (CLD_CONTINUED): Likewise.
50849         (POLL_IN): Likewise.
50850         (POLL_OUT): Likewise.
50851         (POLL_MSG): Likewise.
50852         (POLL_ERR): Likewise.
50853         (POLL_PRI): Likewise.
50854         (POLL_HUP): Likewise.
50855         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50856         (ILL_ILLOPN): Likewise.
50857         (ILL_ILLADR): Likewise.
50858         (ILL_ILLTRP): Likewise.
50859         (ILL_PRVOPC): Likewise.
50860         (ILL_PRVREG): Likewise.
50861         (ILL_COPROC): Likewise.
50862         (ILL_BADSTK): Likewise.
50863         (FPE_INTDIV): Likewise.
50864         (FPE_INTOVF): Likewise.
50865         (FPE_FLTDIV): Likewise.
50866         (FPE_FLTOVF): Likewise.
50867         (FPE_FLTUND): Likewise.
50868         (FPE_FLTRES): Likewise.
50869         (FPE_FLTINV): Likewise.
50870         (FPE_FLTSUB): Likewise.
50871         (SEGV_MAPERR): Likewise.
50872         (SEGV_ACCERR): Likewise.
50873         (BUS_ADRALN): Likewise.
50874         (BUS_ADRERR): Likewise.
50875         (BUS_OBJERR): Likewise.
50876         (BUS_MCEERR_AR): Likewise.
50877         (BUS_MCEERR_AO): Likewise.
50878         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50879         (TRAP_TRACE): Likewise.
50880         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50881         __USE_XOPEN2K8].
50882         (CLD_KILLED): Likewise.
50883         (CLD_DUMPED): Likewise.
50884         (CLD_TRAPPED): Likewise.
50885         (CLD_STOPPED): Likewise.
50886         (CLD_CONTINUED): Likewise.
50887         (POLL_IN): Likewise.
50888         (POLL_OUT): Likewise.
50889         (POLL_MSG): Likewise.
50890         (POLL_ERR): Likewise.
50891         (POLL_PRI): Likewise.
50892         (POLL_HUP): Likewise.
50893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50894         (ILL_ILLOPN): Likewise.
50895         (ILL_ILLADR): Likewise.
50896         (ILL_ILLTRP): Likewise.
50897         (ILL_PRVOPC): Likewise.
50898         (ILL_PRVREG): Likewise.
50899         (ILL_COPROC): Likewise.
50900         (ILL_BADSTK): Likewise.
50901         (FPE_INTDIV): Likewise.
50902         (FPE_INTOVF): Likewise.
50903         (FPE_FLTDIV): Likewise.
50904         (FPE_FLTOVF): Likewise.
50905         (FPE_FLTUND): Likewise.
50906         (FPE_FLTRES): Likewise.
50907         (FPE_FLTINV): Likewise.
50908         (FPE_FLTSUB): Likewise.
50909         (SEGV_MAPERR): Likewise.
50910         (SEGV_ACCERR): Likewise.
50911         (BUS_ADRALN): Likewise.
50912         (BUS_ADRERR): Likewise.
50913         (BUS_OBJERR): Likewise.
50914         (BUS_MCEERR_AR): Likewise.
50915         (BUS_MCEERR_AO): Likewise.
50916         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50917         (TRAP_TRACE): Likewise.
50918         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50919         __USE_XOPEN2K8].
50920         (CLD_KILLED): Likewise.
50921         (CLD_DUMPED): Likewise.
50922         (CLD_TRAPPED): Likewise.
50923         (CLD_STOPPED): Likewise.
50924         (CLD_CONTINUED): Likewise.
50925         (POLL_IN): Likewise.
50926         (POLL_OUT): Likewise.
50927         (POLL_MSG): Likewise.
50928         (POLL_ERR): Likewise.
50929         (POLL_PRI): Likewise.
50930         (POLL_HUP): Likewise.
50931         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50932         (ILL_ILLOPN): Likewise.
50933         (ILL_ILLADR): Likewise.
50934         (ILL_ILLTRP): Likewise.
50935         (ILL_PRVOPC): Likewise.
50936         (ILL_PRVREG): Likewise.
50937         (ILL_COPROC): Likewise.
50938         (ILL_BADSTK): Likewise.
50939         (FPE_INTDIV): Likewise.
50940         (FPE_INTOVF): Likewise.
50941         (FPE_FLTDIV): Likewise.
50942         (FPE_FLTOVF): Likewise.
50943         (FPE_FLTUND): Likewise.
50944         (FPE_FLTRES): Likewise.
50945         (FPE_FLTINV): Likewise.
50946         (FPE_FLTSUB): Likewise.
50947         (SEGV_MAPERR): Likewise.
50948         (SEGV_ACCERR): Likewise.
50949         (BUS_ADRALN): Likewise.
50950         (BUS_ADRERR): Likewise.
50951         (BUS_OBJERR): Likewise.
50952         (BUS_MCEERR_AR): Likewise.
50953         (BUS_MCEERR_AO): Likewise.
50954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50955         (TRAP_TRACE): Likewise.
50956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50957         __USE_XOPEN2K8].
50958         (CLD_KILLED): Likewise.
50959         (CLD_DUMPED): Likewise.
50960         (CLD_TRAPPED): Likewise.
50961         (CLD_STOPPED): Likewise.
50962         (CLD_CONTINUED): Likewise.
50963         (POLL_IN): Likewise.
50964         (POLL_OUT): Likewise.
50965         (POLL_MSG): Likewise.
50966         (POLL_ERR): Likewise.
50967         (POLL_PRI): Likewise.
50968         (POLL_HUP): Likewise.
50969         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50970         (ILL_ILLOPN): Likewise.
50971         (ILL_ILLADR): Likewise.
50972         (ILL_ILLTRP): Likewise.
50973         (ILL_PRVOPC): Likewise.
50974         (ILL_PRVREG): Likewise.
50975         (ILL_COPROC): Likewise.
50976         (ILL_BADSTK): Likewise.
50977         (ILL_DBLFLT): Likewise.
50978         (ILL_HARDWALL): Likewise.
50979         (FPE_INTDIV): Likewise.
50980         (FPE_INTOVF): Likewise.
50981         (FPE_FLTDIV): Likewise.
50982         (FPE_FLTOVF): Likewise.
50983         (FPE_FLTUND): Likewise.
50984         (FPE_FLTRES): Likewise.
50985         (FPE_FLTINV): Likewise.
50986         (FPE_FLTSUB): Likewise.
50987         (SEGV_MAPERR): Likewise.
50988         (SEGV_ACCERR): Likewise.
50989         (BUS_ADRALN): Likewise.
50990         (BUS_ADRERR): Likewise.
50991         (BUS_OBJERR): Likewise.
50992         (BUS_MCEERR_AR): Likewise.
50993         (BUS_MCEERR_AO): Likewise.
50994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50995         (TRAP_TRACE): Likewise.
50996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50997         __USE_XOPEN2K8].
50998         (CLD_KILLED): Likewise.
50999         (CLD_DUMPED): Likewise.
51000         (CLD_TRAPPED): Likewise.
51001         (CLD_STOPPED): Likewise.
51002         (CLD_CONTINUED): Likewise.
51003         (POLL_IN): Likewise.
51004         (POLL_OUT): Likewise.
51005         (POLL_MSG): Likewise.
51006         (POLL_ERR): Likewise.
51007         (POLL_PRI): Likewise.
51008         (POLL_HUP): Likewise.
51009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51010         (ILL_ILLOPN): Likewise.
51011         (ILL_ILLADR): Likewise.
51012         (ILL_ILLTRP): Likewise.
51013         (ILL_PRVOPC): Likewise.
51014         (ILL_PRVREG): Likewise.
51015         (ILL_COPROC): Likewise.
51016         (ILL_BADSTK): Likewise.
51017         (FPE_INTDIV): Likewise.
51018         (FPE_INTOVF): Likewise.
51019         (FPE_FLTDIV): Likewise.
51020         (FPE_FLTOVF): Likewise.
51021         (FPE_FLTUND): Likewise.
51022         (FPE_FLTRES): Likewise.
51023         (FPE_FLTINV): Likewise.
51024         (FPE_FLTSUB): Likewise.
51025         (SEGV_MAPERR): Likewise.
51026         (SEGV_ACCERR): Likewise.
51027         (BUS_ADRALN): Likewise.
51028         (BUS_ADRERR): Likewise.
51029         (BUS_OBJERR): Likewise.
51030         (BUS_MCEERR_AR): Likewise.
51031         (BUS_MCEERR_AO): Likewise.
51032         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51033         (TRAP_TRACE): Likewise.
51034         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51035         __USE_XOPEN2K8].
51036         (CLD_KILLED): Likewise.
51037         (CLD_DUMPED): Likewise.
51038         (CLD_TRAPPED): Likewise.
51039         (CLD_STOPPED): Likewise.
51040         (CLD_CONTINUED): Likewise.
51041         (POLL_IN): Likewise.
51042         (POLL_OUT): Likewise.
51043         (POLL_MSG): Likewise.
51044         (POLL_ERR): Likewise.
51045         (POLL_PRI): Likewise.
51046         (POLL_HUP): Likewise.
51047         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51048         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51050         [BZ #16670]
51051         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51052         before #include of <time.h>.
51053         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51054         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51055         (test-xfail-UNIX98/sched.h/conform): Likewise.
51057 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51059         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51060         error absence of trapping exception support.
51061         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51063 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51065         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51066         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51067         * timezone/Makefile (testdata): Move definition above include of
51068         Rules.
51069         (test-zones): New variable.
51070         (tests-special): Add zone files.
51071         (build-testdata): Use $(evaluate-test).
51073         * elf/Makefile (tests-special): Rename tests to end with .out.
51074         ($(objpfx)noload-mem): Likewise.
51075         ($(objpfx)tst-leaks1-mem): Likewise.
51076         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51077         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51078         $(objpfx)test-iconvconfig.out.
51079         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51080         set -e inside subshell and redirect output to file.
51081         * iconvdata/Makefile (generated): Rename tests to end with .out.
51082         Correct type.
51083         (tests-special): Rename tests to end with .out.
51084         ($(objpfx)mtrace-tst-loading): Likewise.
51085         * intl/Makefile (generated): Likewise.
51086         (tests-special): Likewise.
51087         ($(objpfx)mtrace-tst-gettext): Likewise.
51088         * misc/Makefile (generated): Likewise.
51089         (tests-special): Likewise.
51090         ($(objpfx)tst-error1-mem): Likewise.
51091         * nptl/Makefile (tests-special): Likewise.
51092         ($(objpfx)tst-stack3-mem): Likewise.
51093         (generated): Likewise.
51094         * posix/Makefile (generated): Likewise.
51095         (tests-special): Likewise.
51096         (xtests-special): Likewise.
51097         ($(objpfx)tst-fnmatch-mem): Likewise.
51098         ($(objpfx)bug-regex2-mem): Likewise.
51099         ($(objpfx)bug-regex14-mem): Likewise.
51100         ($(objpfx)bug-regex21-mem): Likewise.
51101         ($(objpfx)bug-regex31-mem): Likewise.
51102         ($(objpfx)tst-vfork3-mem): Likewise.
51103         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51104         ($(objpfx)tst-pcre-mem): Likewise.
51105         ($(objpfx)tst-boost-mem): Likewise.
51106         ($(objpfx)bug-ga2-mem): Likewise.
51107         ($(objpfx)bug-glob2-mem): Likewise.
51108         * resolv/Makefile (generate): Likewise.
51109         (tests-special): Likewise.
51110         (xtests-special): Likewise.
51111         (generated): Likewise.
51112         ($(objpfx)mtrace-tst-leaks): Likewise.
51113         ($(objpfx)mtrace-tst-leaks2): Likewise.
51115         * scripts/merge-test-results.sh: New file.
51116         * Makefile (tests-special-notdir): New variable.
51117         (tests): Run merge-test-results.sh.
51118         (xtests): Likewise.
51119         * Rules (tests-special-notdir): New variable.
51120         (xtests-special-notdir): Likewise.
51121         (tests): Run merge-test-results.sh
51122         (xtests): Likewise.
51124         * Makeconfig (test-xfail-name): New variable.
51125         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51126         compute variable name for expected failures.
51127         * conform/Makefile (conformtest-headers-data): New variable.
51128         (conformtest-standards): Likewise.
51129         (conformtest-headers-ISO): Likewise.
51130         (conformtest-headers-ISO99): Likewise.
51131         (conformtest-headers-ISO11): Likewise.
51132         (conformtest-headers-POSIX): Likewise.
51133         (conformtest-headers-XPG3): Likewise.
51134         (conformtest-headers-XPG4): Likewise.
51135         (conformtest-headers-UNIX98): Likewise.
51136         (conformtest-headers-XOPEN2K): Likewise.
51137         (conformtest-headers-POSIX2008): Likewise.
51138         (conformtest-headers-XOPEN2K8): Likewise.
51139         (conformtest-header-list-base): Likewise.
51140         (conformtest-header-list-tests): Likewise.
51141         (conformtest-header-base): Likewise.
51142         (conformtest-header-tests): Likewise.
51143         (tests-special): Add $(conformtest-header-list-tests).  If
51144         [$(fast-check) && !$(cross-compiling)], add
51145         $(conformtest-header-tests) instead of
51146         $(objpfx)run-conformtest.out.
51147         (generated): Add $(conformtest-header-list-base).  If
51148         [$(fast-check) && !$(cross-compiling)], add
51149         $(conformtest-header-base).  Remove previous setting.
51150         ($(conformtest-header-list-tests)): New target.
51151         (test-xfail-run-conformtest): Remove variable.
51152         ($(objpfx)run-conformtest.out): Remove target.
51153         (test-xfail-ISO11/complex.h/conform): New variable.
51154         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51155         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51156         (test-xfail-XPG3/varargs.h/conform): Likewise.
51157         (test-xfail-XPG4/varargs.h/conform): Likewise.
51158         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51159         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51160         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51161         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51162         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51163         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51164         (test-xfail-XPG3/ftw.h/conform): Likewise.
51165         (test-xfail-XPG3/grp.h/conform): Likewise.
51166         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51167         (test-xfail-XPG3/limits.h/conform): Likewise.
51168         (test-xfail-XPG3/pwd.h/conform): Likewise.
51169         (test-xfail-XPG3/search.h/conform): Likewise.
51170         (test-xfail-XPG3/signal.h/conform): Likewise.
51171         (test-xfail-XPG3/stdio.h/conform): Likewise.
51172         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51173         (test-xfail-XPG3/string.h/conform): Likewise.
51174         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51175         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51176         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51177         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51178         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51179         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51180         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51181         (test-xfail-XPG3/termios.h/conform): Likewise.
51182         (test-xfail-XPG3/time.h/conform): Likewise.
51183         (test-xfail-XPG3/unistd.h/conform): Likewise.
51184         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51185         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51186         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51187         (test-xfail-XPG4/netdb.h/conform): Likewise.
51188         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51189         (test-xfail-XPG4/signal.h/conform): Likewise.
51190         (test-xfail-XPG4/stdio.h/conform): Likewise.
51191         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51192         (test-xfail-XPG4/stropts.h/conform): Likewise.
51193         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51194         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51195         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51196         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51197         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51198         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51199         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51200         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51201         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51202         (test-xfail-XPG4/termios.h/conform): Likewise.
51203         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51204         (test-xfail-XPG4/unistd.h/conform): Likewise.
51205         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51206         (test-xfail-POSIX/sched.h/conform): Likewise.
51207         (test-xfail-POSIX/signal.h/conform): Likewise.
51208         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51209         (test-xfail-POSIX/tar.h/conform): Likewise.
51210         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51211         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51212         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51213         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51214         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51215         (test-xfail-UNIX98/sched.h/conform): Likewise.
51216         (test-xfail-UNIX98/signal.h/conform): Likewise.
51217         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51218         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51219         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51220         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51221         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51222         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51223         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51224         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51225         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51226         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51227         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51228         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51229         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51230         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51231         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51232         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51233         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51234         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51235         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51236         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51237         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51238         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51239         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51240         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51241         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51242         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51243         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51244         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51245         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51246         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51247         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51248         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51249         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51250         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51251         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51252         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51253         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51254         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51255         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51256         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51257         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51258         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51259         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51260         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51261         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51262         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51263         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51264         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51265         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51266         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51267         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51268         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51269         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51270         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51271         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51272         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51273         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51274         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51275         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51276         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51277         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51278         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51279         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51280         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51281         (conformtest-cc-flags): Likewise.
51282         ($(conformtest-header-tests): New target.
51283         * conform/check-header-lists.sh: New file.
51284         * conform/run-conformtest.sh: Remove.
51286         * conform/conformtest.pl: Allow ' and \ in values given for
51287         constants.
51288         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51289         inclusion.
51290         [POSIX] (sys/types.h): Likewise.
51291         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51292         inclusion.
51293         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51294         inclusion.
51295         * conform/data/signal.h-data (SIGIO): Remove expectation.
51296         [XPG3] (SIGBUS): Do not expect.
51297         [POSIX || XPG3] (SIGPOLL): Likewise.
51298         [POSIX || XPG3] (SIGPROF): Likewise.
51299         [POSIX || XPG3] (SIGSYS): Likewise.
51300         [XPG3] (SIGTRAP): Likewise.
51301         [POSIX || XPG3] (SIGURG): Likewise.
51302         [POSIX || XPG3] (SIGVTALRM): Likewise.
51303         [POSIX || XPG3] (SIGXCPU): Likewise.
51304         [POSIX || XPG3] (SIGXFSZ): Likewise.
51305         [POSIX] (SA_SIGINFO): Expect.
51306         [XPG3] (siginfo_t): Do not expect type or contents.
51307         [POSIX] (si_pid): Do not expect element.
51308         [POSIX] (si_uid): Likewise.
51309         [POSIX] (si_addr): Likewise.
51310         [POSIX] (si_status): Likewise.
51311         [POSIX] (si_band): Likewise.
51312         [XPG4] (si_value): Likewise.
51313         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51314         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51315         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51316         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51317         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51318         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51319         [POSIX || XPG3] (ILL_COPROC): Likewise.
51320         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51321         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51322         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51323         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51324         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51325         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51326         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51327         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51328         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51329         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51330         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51331         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51332         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51333         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51334         [POSIX || XPG3] (CLD_EXITED): Likewise.
51335         [POSIX || XPG3] (CLD_KILLED): Likewise.
51336         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51337         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51338         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51339         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51340         [POSIX || XPG3] (POLL_IN): Likewise.
51341         [POSIX || XPG3] (POLL_OUT): Likewise.
51342         [POSIX || XPG3] (POLL_MSG): Likewise.
51343         [POSIX || XPG3] (POLL_ERR): Likewise.
51344         [POSIX || XPG3] (POLL_PRI): Likewise.
51345         [POSIX || XPG3] (POLL_HUP): Likewise.
51346         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51347         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51348         (SIG*): Do not allow.
51349         [XPG3] (si_*): Likewise.
51350         [XPG3] (SI_*): Likewise.
51351         [XPG3 || XPG4] (sigev_*): Likewise.
51352         [XPG3 || XPG4] (SIGEV_*): Likewise.
51353         [XPG3 || XPG4] (sival_*): Likewise.
51354         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51355         [POSIX || XPG3] (BUS_*): Likewise.
51356         [POSIX || XPG3] (CLD_*): Likewise.
51357         [POSIX || XPG3] (FPE_*): Likewise.
51358         [POSIX || XPG3] (ILL_*): Likewise.
51359         [POSIX || XPG3] (POLL_*): Likewise.
51360         [POSIX || XPG3] (SEGV_*): Likewise.
51361         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51362         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51363         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51364         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51365         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51366         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51367         Specify type and value.
51368         (TVERSLEN): Likewise.
51369         (REGTYPE): Likewise.
51370         (AREGTYPE): Likewise.
51371         (LNKTYPE): Likewise.
51372         (SYMTYPE): Likewise.
51373         (CHRTYPE): Likewise.
51374         (BLKTYPE): Likewise.
51375         (DIRTYPE): Likewise.
51376         (FIFOTYPE): Likewise.
51377         (CONTTYPE): Likewise.
51378         (TSUID): Likewise.
51379         (TSGID): Likewise.
51380         (TSVTX): Likewise.
51381         (TUREAD): Likewise.
51382         (TUWRITE): Likewise.
51383         (TUEXEC): Likewise.
51384         (TGREAD): Likewise.
51385         (TGWRITE): Likewise.
51386         (TGEXEC): Likewise.
51387         (TOREAD): Likewise.
51388         (TOWRITE): Likewise.
51389         (TOEXEC): Likewise.
51390         [POSIX] (TSVTX): Expect constant.
51392 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51394         * Makefile (tests): Change dependencies to ....
51395         (tests-special): ... additions to this variable.
51396         (tests): Depend on $(tests-special).
51397         * Makerules (check-abi-list): New variable.
51398         (check-abi): Depend on $(check-abi-list).
51399         [$(subdir) = elf] (tests-special): Add
51400         $(objpfx)check-abi-libc.out.
51401         [$(build-shared) = yes && subdir] (tests-special): Add
51402         $(check-abi-list).
51403         [$(build-shared) = yes && subdir] (tests): Do not depend on
51404         check-abi.
51405         * Rules (tests): Depend on $(tests-special).
51406         (xtests): Depend on $(xtests-special).
51407         * catgets/Makefile (tests): Change dependencies to ....
51408         (tests-special): ... additions to this variable.
51409         * conform/Makefile (tests): Change dependencies to ....
51410         (tests-special): ... additions to this variable.
51411         * elf/Makefile (tests): Change dependencies to ....
51412         (tests-special): ... additions to this variable.
51413         * grp/Makefile (tests): Change dependencies to ....
51414         (tests-special): ... additions to this variable.
51415         * iconv/Makefile (xtests): Change dependencies to ....
51416         (xtests-special): ... additions to this variable.
51417         * iconvdata/Makefile (tests): Change dependencies to ....
51418         (tests-special): ... additions to this variable.
51419         * intl/Makefile (tests): Change dependencies to ....
51420         (tests-special): ... additions to this variable.  Also add
51421         $(objpfx)tst-gettext.out.
51422         * io/Makefile (tests): Change dependencies to ....
51423         (tests-special): ... additions to this variable.
51424         * libio/Makefile (tests): Change dependencies to ....
51425         (tests-special): ... additions to this variable.
51426         * malloc/Makefile (tests): Change dependencies to ....
51427         (tests-special): ... additions to this variable.
51428         * misc/Makefile (tests): Change dependencies to ....
51429         (tests-special): ... additions to this variable.
51430         * nptl/Makefile (tests): Change dependencies to ....
51431         (tests-special): ... additions to this variable.
51432         * nptl_db/Makefile (tests): Change dependencies to ....
51433         (tests-special): ... additions to this variable.
51434         * posix/Makefile (tests): Change dependencies to ....
51435         (tests-special): ... additions to this variable.
51436         (xtests): Change dependencies to ....
51437         (xtests-special): ... additions to this variable.
51438         * resolv/Makefile (tests): Change dependencies to ....
51439         (tests-special): ... additions to this variable.
51440         (xtests): Change dependencies to ....
51441         (xtests-special): ... additions to this variable.
51442         * stdio-common/Makefile (tests): Change dependencies to ....
51443         (tests-special): ... additions to this variable.
51444         (do-tst-unbputc): Remove target.
51445         (do-tst-printf): Likewise.
51446         * stdlib/Makefile (tests): Change dependencies to ....
51447         (tests-special): ... additions to this variable.
51448         * string/Makefile (tests): Change dependencies to ....
51449         (tests-special): ... additions to this variable.
51450         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51451         (tests-special): ... additions to this variable.
51453         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51454         whole file.
51455         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51456         whole file.
51457         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51458         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51460         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51461         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51462         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51463         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51464         * conform/data/libgen.h-data [XPG3]: Likewise.
51465         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51466         * conform/data/ndbm.h-data [XPG3]: Likewise.
51467         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51468         * conform/data/netdb.h-data [XPG3]: Likewise.
51469         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51470         * conform/data/poll.h-data [XPG3]: Likewise.
51471         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51472         * conform/data/strings.h-data [XPG3]: Likewise.
51473         * conform/data/stropts.h-data [XPG3]: Likewise.
51474         * conform/data/sys/mman.h-data [XPG3]: Likewise.
51475         * conform/data/sys/resource.h-data [XPG3]: Likewise.
51476         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51477         Likewise.
51478         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51479         * conform/data/sys/time.h-data [XPG3]: Likewise.
51480         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51481         * conform/data/sys/uio.h-data [XPG3]: Likewise.
51482         * conform/data/sys/un.h-data [XPG3]: Likewise.
51483         * conform/data/syslog.h-data [XPG3]: Likewise.
51484         * conform/data/ucontext.h-data [XPG3]: Likewise.
51485         * conform/data/utmpx.h-data [XPG3]: Likewise.
51486         * conform/data/varargs.h-data [UNIX98]: Enable file.
51488         * manual/Makefile (INSTALL_INFO): Remove variable setting.
51490         * math/libm-test.inc (struct test_f_f_data): Move expected results
51491         into structure for each rounding mode.
51492         (struct test_ff_f_data): Likewise.
51493         (struct test_ff_f_data_nexttoward): Likewise.
51494         (struct test_fi_f_data): Likewise.
51495         (struct test_fl_f_data): Likewise.
51496         (struct test_if_f_data): Likewise.
51497         (struct test_fff_f_data): Likewise.
51498         (struct test_c_f_data): Likewise.
51499         (struct test_f_f1_data): Likewise.
51500         (struct test_fF_f1_data): Likewise.
51501         (struct test_ffI_f1_data): Likewise.
51502         (struct test_c_c_data): Likewise.
51503         (struct test_cc_c_data): Likewise.
51504         (struct test_f_i_data): Likewise.
51505         (struct test_ff_i_data): Likewise.
51506         (struct test_f_l_data): Likewise.
51507         (struct test_f_L_data): Likewise.
51508         (struct test_fFF_11_data): Likewise.
51509         (RM_): New macro.
51510         (RM_FE_DOWNWARD): Likewise.
51511         (RM_FE_TONEAREST): Likewise.
51512         (RM_FE_TOWARDZERO): Likewise.
51513         (RM_FE_UPWARD): Likewise.
51514         (RUN_TEST_LOOP_f_f): Update references to expected results.
51515         (RUN_TEST_LOOP_2_f): Likewise.
51516         (RUN_TEST_LOOP_fff_f): Likewise.
51517         (RUN_TEST_LOOP_c_f): Likewise.
51518         (RUN_TEST_LOOP_f_f1): Likewise.
51519         (RUN_TEST_LOOP_fF_f1): Likewise.
51520         (RUN_TEST_LOOP_fI_f1): Likewise.
51521         (RUN_TEST_LOOP_ffI_f1): Likewise.
51522         (RUN_TEST_LOOP_c_c): Likewise.
51523         (RUN_TEST_LOOP_cc_c): Likewise.
51524         (RUN_TEST_LOOP_f_i): Likewise.
51525         (RUN_TEST_LOOP_f_i_tg): Likewise.
51526         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51527         (RUN_TEST_LOOP_f_b): Likewise.
51528         (RUN_TEST_LOOP_f_b_tg): Likewise.
51529         (RUN_TEST_LOOP_f_l): Likewise.
51530         (RUN_TEST_LOOP_f_L): Likewise.
51531         (RUN_TEST_LOOP_fFF_11): Likewise.
51532         * math/gen-libm-test.pl (parse_args): Output four copies of
51533         expected results for each test.
51535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51536         (__ASSUME_UTIMES): Remove.
51537         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51538         (__ASSUME_UTIMES): Likewise.
51540         * math/gen-auto-libm-tests.c: Update comment on output format.
51541         (output_for_one_input_case): Generate before-rounding and
51542         after-rounding information as conditions on output flags not
51543         floating-point format.
51544         * math/auto-libm-test-out: Regenerated.
51545         * math/gen-libm-test.pl (cond_value): New function.
51546         (or_cond_value): Use cond_value.
51547         (generate_testfile): Handle conditional exceptions.
51549 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51551         * math/libm-test.inc (max_valid_error): New variable.
51552         (init_max_error): Take new argument specifying whether function
51553         results are exactly determined.  Set max_valid_error and bound
51554         other variables for errors based on this argument.
51555         (set_max_error): Do not record results above max_valid_error.
51556         (check_float_internal): Only accept errors of up to 0.5ulps if
51557         also at most max_valid_error.
51558         (START): Take new argument EXACT and pass it to init_max_error.
51559         (acos_test): Update call to START.
51560         (acos_test_tonearest): Likewise.
51561         (acos_test_towardzero): Likewise.
51562         (acos_test_downward): Likewise.
51563         (acos_test_upward): Likewise.
51564         (acosh_test): Likewise.
51565         (asin_test): Likewise.
51566         (asin_test_tonearest): Likewise.
51567         (asin_test_towardzero): Likewise.
51568         (asin_test_downward): Likewise.
51569         (asin_test_upward): Likewise.
51570         (asinh_test): Likewise.
51571         (atan_test): Likewise.
51572         (atanh_test): Likewise.
51573         (atan2_test): Likewise.
51574         (cabs_test): Likewise.
51575         (cacos_test): Likewise.
51576         (cacosh_test): Likewise.
51577         (carg_test): Likewise.
51578         (casin_test): Likewise.
51579         (casinh_test): Likewise.
51580         (catan_test): Likewise.
51581         (catanh_test): Likewise.
51582         (cbrt_test): Likewise.
51583         (ccos_test): Likewise.
51584         (ccosh_test): Likewise.
51585         (ceil_test): Likewise.
51586         (cexp_test): Likewise.
51587         (cimag_test): Likewise.
51588         (clog_test): Likewise.
51589         (clog10_test): Likewise.
51590         (conj_test): Likewise.
51591         (copysign_test): Likewise.
51592         (cos_test): Likewise.
51593         (cos_test_tonearest): Likewise.
51594         (cos_test_towardzero): Likewise.
51595         (cos_test_downward): Likewise.
51596         (cos_test_upward): Likewise.
51597         (cosh_test): Likewise.
51598         (cosh_test_tonearest): Likewise.
51599         (cosh_test_towardzero): Likewise.
51600         (cosh_test_downward): Likewise.
51601         (cosh_test_upward): Likewise.
51602         (cpow_test): Likewise.
51603         (cproj_test): Likewise.
51604         (creal_test): Likewise.
51605         (csin_test): Likewise.
51606         (csinh_test): Likewise.
51607         (csqrt_test): Likewise.
51608         (ctan_test): Likewise.
51609         (ctan_test_tonearest): Likewise.
51610         (ctan_test_towardzero): Likewise.
51611         (ctan_test_downward): Likewise.
51612         (ctan_test_upward): Likewise.
51613         (ctanh_test): Likewise.
51614         (ctanh_test_tonearest): Likewise.
51615         (ctanh_test_towardzero): Likewise.
51616         (ctanh_test_downward): Likewise.
51617         (ctanh_test_upward): Likewise.
51618         (erf_test): Likewise.
51619         (erfc_test): Likewise.
51620         (exp_test): Likewise.
51621         (exp_test_tonearest): Likewise.
51622         (exp_test_towardzero): Likewise.
51623         (exp_test_downward): Likewise.
51624         (exp_test_upward): Likewise.
51625         (exp10_test): Likewise.
51626         (exp10_test_tonearest): Likewise.
51627         (exp10_test_towardzero): Likewise.
51628         (exp10_test_downward): Likewise.
51629         (exp10_test_upward): Likewise.
51630         (pow10_test): Likewise.
51631         (exp2_test): Likewise.
51632         (expm1_test): Likewise.
51633         (expm1_test_tonearest): Likewise.
51634         (expm1_test_towardzero): Likewise.
51635         (expm1_test_downward): Likewise.
51636         (expm1_test_upward): Likewise.
51637         (fabs_test): Likewise.
51638         (fdim_test): Likewise.
51639         (floor_test): Likewise.
51640         (fma_test): Likewise.
51641         (fma_test_towardzero): Likewise.
51642         (fma_test_downward): Likewise.
51643         (fma_test_upward): Likewise.
51644         (fmax_test): Likewise.
51645         (fmin_test): Likewise.
51646         (fmod_test): Likewise.
51647         (fpclassify_test): Likewise.
51648         (frexp_test): Likewise.
51649         (hypot_test): Likewise.
51650         (ilogb_test): Likewise.
51651         (isfinite_test): Likewise.
51652         (finite_test): Likewise.
51653         (isgreater_test): Likewise.
51654         (isgreaterequal_test): Likewise.
51655         (isinf_test): Likewise.
51656         (isless_test): Likewise.
51657         (islessequal_test): Likewise.
51658         (islessgreater_test): Likewise.
51659         (isnan_test): Likewise.
51660         (isnormal_test): Likewise.
51661         (issignaling_test): Likewise.
51662         (isunordered_test): Likewise.
51663         (j0_test): Likewise.
51664         (j1_test): Likewise.
51665         (jn_test): Likewise.
51666         (ldexp_test): Likewise.
51667         (lgamma_test): Likewise.
51668         (gamma_test): Likewise.
51669         (lrint_test): Likewise.
51670         (lrint_test_tonearest): Likewise.
51671         (lrint_test_towardzero): Likewise.
51672         (lrint_test_downward): Likewise.
51673         (lrint_test_upward): Likewise.
51674         (llrint_test): Likewise.
51675         (llrint_test_tonearest): Likewise.
51676         (llrint_test_towardzero): Likewise.
51677         (llrint_test_downward): Likewise.
51678         (llrint_test_upward): Likewise.
51679         (log_test): Likewise.
51680         (log10_test): Likewise.
51681         (log1p_test): Likewise.
51682         (log2_test): Likewise.
51683         (logb_test): Likewise.
51684         (logb_test_downward): Likewise.
51685         (lround_test): Likewise.
51686         (llround_test): Likewise.
51687         (modf_test): Likewise.
51688         (nearbyint_test): Likewise.
51689         (nextafter_test): Likewise.
51690         (nexttoward_test): Likewise.
51691         (pow_test): Likewise.
51692         (pow_test_tonearest): Likewise.
51693         (pow_test_towardzero): Likewise.
51694         (pow_test_downward): Likewise.
51695         (pow_test_upward): Likewise.
51696         (remainder_test): Likewise.
51697         (drem_test): Likewise.
51698         (remainder_test_tonearest): Likewise.
51699         (drem_test_tonearest): Likewise.
51700         (remainder_test_towardzero): Likewise.
51701         (drem_test_towardzero): Likewise.
51702         (remainder_test_downward): Likewise.
51703         (drem_test_downward): Likewise.
51704         (remainder_test_upward): Likewise.
51705         (drem_test_upward): Likewise.
51706         (remquo_test): Likewise.
51707         (rint_test): Likewise.
51708         (rint_test_tonearest): Likewise.
51709         (rint_test_towardzero): Likewise.
51710         (rint_test_downward): Likewise.
51711         (rint_test_upward): Likewise.
51712         (round_test): Likewise.
51713         (scalb_test): Likewise.
51714         (scalbn_test): Likewise.
51715         (scalbln_test): Likewise.
51716         (signbit_test): Likewise.
51717         (sin_test): Likewise.
51718         (sin_test_tonearest): Likewise.
51719         (sin_test_towardzero): Likewise.
51720         (sin_test_downward): Likewise.
51721         (sin_test_upward): Likewise.
51722         (sincos_test): Likewise.
51723         (sinh_test): Likewise.
51724         (sinh_test_tonearest): Likewise.
51725         (sinh_test_towardzero): Likewise.
51726         (sinh_test_downward): Likewise.
51727         (sinh_test_upward): Likewise.
51728         (sqrt_test): Likewise.
51729         (sqrt_test_tonearest): Likewise.
51730         (sqrt_test_towardzero): Likewise.
51731         (sqrt_test_downward): Likewise.
51732         (sqrt_test_upward): Likewise.
51733         (tan_test): Likewise.
51734         (tan_test_tonearest): Likewise.
51735         (tan_test_towardzero): Likewise.
51736         (tan_test_downward): Likewise.
51737         (tan_test_upward): Likewise.
51738         (tanh_test): Likewise.
51739         (tgamma_test): Likewise.
51740         (trunc_test): Likewise.
51741         (y0_test): Likewise.
51742         (y1_test): Likewise.
51743         (yn_test): Likewise.
51744         (significand_test): Likewise.
51746         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51747         individual tests in comment.
51748         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51749         (prev_max_error): New variable.
51750         (prev_real_max_error): Likewise.
51751         (prev_imag_max_error): Likewise.
51752         (compare_ulp_data): Don't refer to test names in comment.
51753         (find_test_ulps): Remove function.
51754         (find_function_ulps): Likewise.
51755         (find_complex_function_ulps): Likewise.
51756         (init_max_error): Take function name as argument.  Look up ulps
51757         for that function.
51758         (print_ulps): Remove function.
51759         (print_max_error): Use prev_max_error instead of calling
51760         find_function_ulps.
51761         (print_complex_max_error): Use prev_real_max_error and
51762         prev_imag_max_error instead of calling find_complex_function_ulps.
51763         (check_float_internal): Take max_ulp parameter instead of calling
51764         find_test_ulps.  Don't call print_ulps.
51765         (check_float): Update call to check_float_internal.
51766         (check_complex): Update calls to check_float_internal.
51767         (START): Pass argument to init_max_error.
51768         * math/gen-libm-test.pl (%results): Don't include "kind"
51769         information.
51770         (parse_ulps): Don't handle ulps of individual tests.
51771         (print_ulps_file): Likewise.
51772         (output_ulps): Likewise.
51773         * math/README.libm-test: Update.
51774         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51775         individual tests.
51776         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51777         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51778         * sysdeps/arm/libm-test-ulps: Likewise.
51779         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51780         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51781         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51782         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51783         * sysdeps/microblaze/libm-test-ulps: Likewise.
51784         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51787         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51788         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51789         * sysdeps/sh/libm-test-ulps: Likewise.
51790         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51791         * sysdeps/tile/libm-test-ulps: Likewise.
51792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51794 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51796         * math/libm-test.inc (print_complex_max_error): Check separately
51797         whether real and imaginary errors are within allowed range and
51798         pass 0 to print_complex_function_ulps instead of value within
51799         allowed range.
51801 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51804         formatting.
51805         (get_handles_fopen): Likewise.
51806         (do_write_test): Likewise.
51808         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51810         * libio/fileops.c (do_ftell): Use cached offset when
51811         available.
51812         * libio/iofwide.c (do_ftell_wide): Likewise.
51813         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51814         _IO_file_attach.
51815         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51817         [BZ #16532]
51818         * libio/libioP.h (get_file_offset): New function.
51819         * libio/fileops.c (get_file_offset): Likewise.
51820         (do_ftell): Likewise.
51821         (_IO_new_file_seekoff): Split out ftell logic.
51822         * libio/wfileops.c (do_ftell_wide): Likewise.
51823         (_IO_wfile_seekoff): Split out ftell logic.
51824         * libio/tst-ftell-active-handler.c: New test case.
51825         * libio/Makefile (tests): Add it.
51827 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51829         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51830         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51832 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51834         [BZ #16639]
51835         * nscd/connections.c (nscd_init): Call do_exit.
51836         (start_threads): Call do_exit and notify_parent.
51837         (begin_drop_privileges): Call do_exit.
51838         (finish_drop_privileges): Likewise.
51839         * nscd/selinux.c (preserve_capabilities): Likewise.
51840         (install_real_capabilities): Likewise.
51841         (nscd_selinux_enabled): Likewise.
51842         (avc_create_thread): Likewise.
51843         (avc_alloc_lock): Likewise.
51844         (nscd_avc_init): Likewise.
51845         * nscd/nscd.c (parent_fd): New static variable.
51846         (main): Create a pipe between parent and child processes.
51847         Skip closing parent_fd.
51848         (monitor_child): New function.
51849         (do_exit): Likewise.
51850         (notify_parent): Likewise.
51851         * nscd/nscd.h (notify_parent): Likewise.
51852         (do_exit): Likewise.
51854 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51856         * malloc/malloc.c (__libc_calloc): Revert last change.
51858 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51862 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51864         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51866         implementation.
51867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51868         (__libc_ifunc_impl_list): Likewise.
51869         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51870         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51871         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51872         * string/strrchr.c: Define STRRCHR.
51874 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51876         * benchtest/bench-strtok.c (simple_strtok): Delete.
51877         (strtok_string): Use as benchmark.
51878         * string/strtok (STRTOK): New macro.
51880 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51882         * manual/threads.texi: Add header and standard comments to all
51883         functions.
51885         * elf/dl-lookup.c (check_match): New function.
51886         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51887         (do_lookup_x): Remove nested function check_match. Use non-nested
51888         function check_match.
51890 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51892         * csu/Makefile (generated, before-compile): Use += rather than =.
51893         * catgets/Makefile (generated, generated-dirs): Likewise.
51894         * debug/Makefile (generated): Likewise.
51895         * dlfcn/Makefile (generated): Likewise.
51896         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51897         * iconvdata/Makefile (before-compile, generated): Likewise.
51898         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51899         * libio/Makefile (generated): Likewise.
51900         * malloc/Makefile (generated): Likewise.
51901         * manual/Makefile (generated, generated-dirs): Likewise.
51902         * misc/Makefile (generated): Likewise.
51903         * posix/Makefile (generated): Likewise.
51904         * resolv/Makefile (generated): Likewise.
51905         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51906         * timezone/Makefile (generated, generated-dirs): Likewise.
51908         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51910 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51913         power8 implementation.
51914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51915         file: POWER8 llround ifunc implementation.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51917         (__lllround): Add POWER8 implementation.
51918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51919         POWER8 llround implementation.
51921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51922         power8 implementation.
51923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51924         file: POWER8 llrint ifunc implementation.
51925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51926         Add POWER8 implementation.
51927         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51928         POWER8 llrint implementation.
51930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51931         power8 implementation.
51932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51933         file: POWER8 finite ifunc implementation.
51934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51935         Add POWER8 implementation.
51936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51937         Likewise.
51938         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51939         POWER8 finite implementation.
51940         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51943         power8 implementation.
51944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51945         file: POWER8 isinf ifunc implementation.
51946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51947         POWER8 implementation.
51948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51949         Likewise.
51950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51951         isinf implementation.
51952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51954         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51955         (INIT_ARCH): Add hwcap2 initialization.
51956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51957         power8 implementation.
51958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51959         file: POWER8 isnan ifunc implementation.
51960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51961         POWER8 implementation.
51962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51963         Likewise.
51964         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51965         isnan implementation.
51966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51968 2014-02-27  Joey Ye  <joey.ye@arm.com>
51970         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51971         (_FP_NANFRAC_Q): Set to zero.
51973 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51975         [BZ #16623]
51976         * math/auto-libm-test-in: New test inputs.
51977         * math/auto-libm-test-out: Regenerate.
51978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51979         and DA.
51980         (__cos): Likewise.
51981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51983 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51985         * scripts/evaluate-test.sh: Take new argument indicating whether
51986         failure is expected.
51987         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51988         indicating whether failure is expected.
51989         * conform/Makefile (test-xfail-run-conformtest): New variable.
51990         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51991         level.
51992         * posix/Makefile (test-xfail-annexc): New variable.
51993         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51995 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51997         * argp/Makefile: Include Makeconfig immediately after defining
51998         subdir.
51999         * assert/Makefile: Likewise.
52000         * benchtests/Makefile: Likewise.
52001         * catgets/Makefile: Likewise.
52002         * conform/Makefile: Likewise.
52003         * crypt/Makefile: Likewise.
52004         * csu/Makefile: Likewise.
52005         (all): Remove target.
52006         * ctype/Makefile: Include Makeconfig immediately after defining
52007         subdir.
52008         * debug/Makefile: Likewise.
52009         * dirent/Makefile: Likewise.
52010         * dlfcn/Makefile: Likewise.
52011         * gmon/Makefile: Likewise.
52012         * gnulib/Makefile: Likewise.
52013         * grp/Makefile: Likewise.
52014         * gshadow/Makefile: Likewise.
52015         * hesiod/Makefile: Likewise.
52016         * hurd/Makefile: Likewise.
52017         (all): Remove target.
52018         * iconvdata/Makefile: Include Makeconfig immediately after
52019         defining subdir.
52020         * inet/Makefile: Likewise.
52021         * intl/Makefile: Likewise.
52022         * io/Makefile: Likewise.
52023         * libio/Makefile: Likewise.
52024         (all): Remove target.
52025         * locale/Makefile: Include Makeconfig immediately after defining
52026         subdir.
52027         * login/Makefile: Likewise.
52028         * mach/Makefile: Likewise.
52029         (all): Remove target.
52030         * malloc/Makefile: Include Makeconfig immediately after defining
52031         subdir.
52032         (all): Remove target.
52033         * manual/Makefile: Include Makeconfig immediately after defining
52034         subdir.
52035         * math/Makefile: Likewise.
52036         * misc/Makefile: Likewise.
52037         * nis/Makefile: Likewise.
52038         * nss/Makefile: Likewise.
52039         * po/Makefile: Likewise.
52040         (all): Remove target.
52041         * posix/Makefile: Include Makeconfig immediately after defining
52042         subdir.
52043         * pwd/Makefile: Likewise.
52044         * resolv/Makefile: Likewise.
52045         * resource/Makefile: Likewise.
52046         * rt/Makefile: Likewise.
52047         * setjmp/Makefile: Likewise.
52048         * shadow/Makefile: Likewise.
52049         * signal/Makefile: Likewise.
52050         * socket/Makefile: Likewise.
52051         * soft-fp/Makefile: Likewise.
52052         * stdio-common/Makefile: Likewise.
52053         * stdlib/Makefile: Likewise.
52054         * streams/Makefile: Likewise.
52055         * string/Makefile: Likewise.
52056         * sunrpc/Makefile: Likewise.
52057         (all): Remove target.
52058         * sysvipc/Makefile: Include Makeconfig immediately after defining
52059         subdir.
52060         * termios/Makefile: Likewise.
52061         * time/Makefile: Likewise.
52062         * timezone/Makefile: Likewise.
52063         (all): Remove target.
52064         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52065         subdir.
52066         * wctype/Makefile: Likewise.
52068 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52070         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52071         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52072         (libc_feholdexcept_setround_mips): Ditto.
52073         (libc_feholdsetround): New.
52074         (libc_feholdsetroundf): New.
52075         (libc_feholdsetroundl): New.
52076         (libc_feupdateenv_test_mips): New.
52077         (libc_feupdateenv_test): New.
52078         (libc_feupdateenv_testf): New.
52079         (libc_feupdateenv_testl): New.
52080         (libc_feresetround): New.
52081         (libc_feresetroundf): New.
52082         (libc_feresetroundl): New.
52083         (libc_fetestexcept_mips): New.
52084         (libc_fetestexcept): New.
52085         (libc_fetestexceptf): New.
52086         (libc_fetestexceptl): New.
52087         (HAVE_RM_CTX): New.
52088         (libc_feholdexcept_setround_mips_ctx): New.
52089         (libc_feholdexcept_setround_ctx): New.
52090         (libc_feholdexcept_setroundf_ctx): New.
52091         (libc_feholdexcept_setroundl_ctx): New.
52092         (libc_fesetenv_mips_ctx): New.
52093         (libc_fesetenv_ctx): New.
52094         (libc_fesetenv_ctxf): New.
52095         (libc_fesetenv_ctxl): New.
52096         (libc_feupdateenv_mips_ctx): New.
52097         (libc_feupdateenv_ctx): New.
52098         (libc_feupdateenvf_ctx): New.
52099         (libc_feupdateenvl_ctx): New.
52100         (libc_feholdsetround_mips_ctx): New.
52101         (libc_feholdsetround_ctx): New.
52102         (libc_feholdsetroundf_ctx): New.
52103         (libc_feholdsetroundl_ctx): New.
52104         (libc_feresetround_mips_ctx): New.
52105         (libc_feresetround_ctx): New.
52106         (libc_feresetroundf_ctx): New.
52107         (libc_feresetroundl_ctx): New.
52109 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52111         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52113         * manual/ipc.texi: New file.
52114         * manual/Makefile (chapters): Add ipc.
52115         * manual/job.texi: Add "Inter-Process Communication" to next.
52116         * manual/process.texi: Add "Inter-Process Communication" to prev.
52118 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52122 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52124         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52126         * manual/arith.texi: Fix spaces after sentences.
52127         * manual/charset.texi: Likewise.
52128         * manual/errno.texi: Likewise.
52129         * manual/install.texi: Likewise.
52130         * manual/llio.texi: Likewise.
52131         * manual/locale.texi: Likewise.
52132         * manual/maint.texi: Likewise.
52133         * manual/math.texi: Likewise.
52134         * manual/memory.texi: Likewise.
52135         * manual/message.texi: Likewise.
52136         * manual/probes.texi: Likewise.
52137         * manual/resource.texi: Likewise.
52138         * manual/signal.texi: Likewise.
52139         * manual/socket.texi: Likewise.
52140         * manual/stdio.texi: Likewise.
52141         * manual/string.texi: Likewise.
52142         * manual/time.texi: Likewise.
52143         * manual/users.texi: Likewise.
52145 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52147         [BZ #16632]
52148         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52149         _DEFAULT_SOURCE is defined.
52151 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52152             Carlos O'Donell  <carlos@redhat.com>
52154         [BZ #16613]
52155         * elf/dl-tls.c (_dl_count_modids): New function.
52156         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52157         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52158         audit library and increment generation counter.
52159         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52160         * elf/tst-audit9.c: New file.
52161         * elf/tst-auditmod9a.c: New file.
52162         * elf/tst-auditmod9b.c: New file.
52163         * elf/Makefile: Add rules to build and run tst-audit9.
52165 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52167         [BZ #15347]
52168         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52170 2014-02-25  Will Newton  <will.newton@linaro.org>
52172         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52173         (__longjmp): Restore sp and lr before restoring callee
52174         saved registers.  Add longjmp and longjmp_target
52175         SystemTap probe point.
52176         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52177         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52178         Define to zero to match jmpbuf layout.
52179         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52180         (__sigsetjmp): Save sp and lr before saving callee
52181         saved registers.  Add setjmp SystemTap probe point.
52183 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52185         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52187 2014-02-24  Andreas Schwab  <schwab@suse.de>
52189         [BZ #15804]
52190         * elf/pldd.c (wait_for_ptrace_stop): New function.
52191         (main): Call it after attaching.
52193 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52195         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52196         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52197         Versions files is now verboten.
52198         * hurd/Versions (libc: GLIBC_2.0):
52199         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52200         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52201         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52202         * mach/Versions: Likewise.
52204         * csu/Versions: Remove unused %include.
52205         * resolv/Versions: Likewise.
52207 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52209         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52210         ($(objpfx)check-local-headers.out): Likewise.
52211         ($(objpfx)begin-end-check.out): Likewise.
52212         * Makerules (check-abi-%.out): Likewise.
52213         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52214         ($(objpfx)test2.cat): Likewise.
52215         ($(objpfx)de/libc.cat): Likewise.
52216         ($(objpfx)test-gencat.out): Likewise.
52217         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52218         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52219         ($(objpfx)noload-mem): Likewise.
52220         ($(objpfx)tst-pathopt.out): Likewise.
52221         ($(objpfx)tst-rtld-load-self.out): Likewise.
52222         ($(objpfx)tst-array1-cmp.out): Likewise.
52223         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52224         ($(objpfx)tst-array2-cmp.out): Likewise.
52225         ($(objpfx)tst-array3-cmp.out): Likewise.
52226         ($(objpfx)tst-array4-cmp.out): Likewise.
52227         ($(objpfx)tst-array5-cmp.out): Likewise.
52228         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52229         ($(objpfx)check-textrel.out): Likewise.
52230         ($(objpfx)check-execstack.out): Likewise.
52231         ($(objpfx)check-localplt.out): Likewise.
52232         ($(objpfx)order2-cmp.out): Likewise.
52233         ($(objpfx)tst-leaks1-mem): Likewise.
52234         ($(objpfx)tst-leaks1-static-mem): Likewise.
52235         ($(objpfx)tst-initorder-cmp.out): Likewise.
52236         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52237         ($(objpfx)tst-unused-dep.out): Likewise.
52238         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52239         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52240         * iconv/Makefile (test-iconvconfig): Likewise.
52241         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52242         ($(objpfx)iconv-test.out): Likewise.
52243         ($(objpfx)tst-tables.out): Likewise.
52244         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52245         ($(objpfx)tst-gettext.out): Likewise.
52246         ($(objpfx)tst-translit.out): Likewise.
52247         ($(objpfx)tst-gettext2.out): Likewise.
52248         ($(objpfx)tst-gettext4.out): Likewise.
52249         ($(objpfx)tst-gettext6.out): Likewise.
52250         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52251         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52252         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52253         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52254         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52255         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52256         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52257         ($(objpfx)wordexp-tst.out): Likewise.
52258         ($(objpfx)annexc.out): Likewise.
52259         ($(objpfx)tst-fnmatch-mem): Likewise.
52260         ($(objpfx)bug-regex2-mem): Likewise.
52261         ($(objpfx)bug-regex14-mem): Likewise.
52262         ($(objpfx)bug-regex21-mem): Likewise.
52263         ($(objpfx)bug-regex31-mem): Likewise.
52264         ($(objpfx)tst-vfork3-mem): Likewise.
52265         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52266         ($(objpfx)tst-pcre-mem): Likewise.
52267         ($(objpfx)tst-boost-mem): Likewise.
52268         ($(objpfx)tst-getconf.out): Likewise.
52269         ($(objpfx)bug-ga2-mem): Likewise.
52270         ($(objpfx)bug-glob2-mem): Likewise.
52271         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52272         ($(objpfx)mtrace-tst-leaks2): Likewise.
52273         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52274         ($(objpfx)tst-printf.out): Likewise.
52275         ($(objpfx)tst-setvbuf1.out): Likewise.
52276         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52277         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52278         ($(objpfx)tst-fmtmsg.out): Likewise.
52279         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52280         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52282         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52283         * bits/sigaction.h [__USE_MISC]: Likewise.
52284         * bits/waitstatus.h: Update #endif comments.
52285         * ctype/ctype.h: Likewise.
52286         * dirent/dirent.h: Likewise.
52287         [__USE_MISC]: Remove redundant conditionals.
52288         * grp/grp.h: Update #endif comments.
52289         [__USE_GNU]: Remove redundant conditionals.
52290         [__USE_MISC]: Likewise.
52291         * inet/netinet/in.h [__USE_GNU]: Likewise.
52292         * io/sys/stat.h [__USE_MISC]: Likewise.
52293         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52294         * libio/bits/stdio.h: Update #endif comments.
52295         [__USE_MISC]: Remove redundant conditionals.
52296         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52297         * libio/stdio.h: Update #endif comments.
52298         [__USE_MISC]: Remove redundant conditionals.
52299         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52300         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52301         * math/math.h: Update #else and #endif comments.
52302         [__USE_MISC]: Remove redundant conditionals.
52303         * misc/sys/uio.h: Update #endif comments.
52304         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52305         * posix/glob.h [__USE_MISC]: Likewise.
52306         * posix/sys/types.h: Update #endif comments.
52307         [__USE_MISC]: Remove redundant conditionals.
52308         * posix/sys/wait.h: Update #endif comments.
52309         [__USE_MISC]: Remove redundant conditionals.
52310         * posix/unistd.h: Update #endif comments.
52311         [__USE_MISC]: Remove redundant conditionals.
52312         * pwd/pwd.h [__USE_GNU]: Likewise.
52313         [__USE_MISC]: Likewise.
52314         * resolv/netdb.h [__USE_GNU]: Likewise.
52315         * signal/signal.h: Update #endif comments.
52316         [__USE_MISC]: Remove redundant conditionals.
52317         * stdlib/stdlib.h: Update #else and #endif comments.
52318         [__USE_MISC]: Remove redundant conditionals.
52319         [__USE_GNU]: Likewise.
52320         * string/bits/string2.h [__USE_MISC]: Likewise.
52321         * string/string.h: Update #endif comments.
52322         [__USE_MISC]: Remove redundant conditionals.
52323         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52324         Likewise.
52325         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52326         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52327         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52328         Likewise.
52329         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52330         Likewise.
52331         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52332         comments.
52333         [__USE_MISC]: Remove redundant conditionals.
52334         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52335         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52336         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52337         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52338         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52339         Likewise.
52340         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52341         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52342         Likewise.
52343         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52344         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52345         Likewise.
52346         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52347         Likewise.
52348         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52349         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52350         Likewise.
52351         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52352         Likewise.
52353         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52354         * sysdeps/x86/bits/string.h: Update #endif comments.
52355         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52356         conditionals.
52357         * time/sys/time.h: Update #endif comments.
52358         * time/time.h: Likewise.
52359         [__USE_MISC]: Remove redundant conditionals.
52361 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52363         [BZ #16600]
52364         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52366 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52368         * Versions.def (librt): Add GLIBC_2.17.
52370 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52372         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52373         synonym for _SYS_AUXV_H to allow direct inclusion.
52374         * sysdeps/sparc/bits/hwcap.h: Likewise.
52375         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52376         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52377         * sysdeps/sparc/sysdep.h: Likewise.
52379 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52381         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52383 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52385         * benchtests/bench-strrchr.c: Print length instead of position.
52387 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52389         [BZ #16611]
52390         * sysdeps/unix/sysv/linux/kernel-features.h
52391         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52392         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52393         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52394         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52395         Likewise.
52396         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52397         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52398         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52399         (__ASSUME_SENDMMSG): Define instead of using previous
52400         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52402         (__ASSUME_SENDMMSG_SYSCALL): Define.
52403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52404         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52405         Likewise.
52406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52407         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52408         Likewise.
52409         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52410         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52411         Likewise.
52412         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52413         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52414         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52415         [__ASSUME_SENDMMSG]: Change conditionals to
52416         [__ASSUME_SENDMMSG_SOCKETCALL].
52417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52418         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52419         Define.
52420         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52421         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52422         Likewise.
52423         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52424         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52425         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52426         [!__ASSUME_SENDMMSG]: Change conditional to
52427         [!__ASSUME_SENDMMSG_SOCKETCALL].
52428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52430         Define.
52432         [BZ #16610]
52433         * sysdeps/unix/sysv/linux/kernel-features.h
52434         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52435         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52436         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52437         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52438         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52439         [__i386__ || __sparc__]
52440         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52441         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52442         (__ASSUME_RECVMMSG): Define instead of using previous
52443         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52444         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52445         (__ASSUME_RECVMMSG_SYSCALL): Define.
52446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52448         Likewise.
52449         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52451         Likewise.
52452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52454         Likewise.
52455         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52456         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52457         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52458         [__ASSUME_RECVMMSG]: Change condition to
52459         [__ASSUME_RECVMMSG_SOCKETCALL].
52460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52462         Define.
52463         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52464         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52466         Likewise.
52467         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52468         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52469         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52470         [!__ASSUME_RECVMMSG]: Change condition to
52471         [!__ASSUME_RECVMMSG_SOCKETCALL].
52472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52473         (__ASSUME_RECVMMSG_SYSCALL): Define.
52475         [BZ #16609]
52476         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52477         __powerpc__ || __s390__ || __sh__ || __sparc__]
52478         (__ASSUME_SOCKETCALL): Define.
52479         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52480         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52481         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52482         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52483         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52484         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52485         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52486         (__ASSUME_ACCEPT4): Define instead of using previous
52487         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52488         __powerpc__ || __sparc__ || __s390__)] condition.
52489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52490         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52491         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52492         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52493         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52494         [!__ASSUME_ACCEPT4]: Change condition to
52495         [!__ASSUME_ACCEPT4_SOCKETCALL].
52496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52497         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
52498         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52499         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52500         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52501         __ASSUME_ACCEPT4_SYSCALL.
52502         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52503         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52504         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52505         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52506         __ASSUME_ACCEPT4_SYSCALL.
52507         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52508         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52509         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52510         [__ASSUME_ACCEPT4]: Change condition to
52511         [__ASSUME_ACCEPT4_SOCKETCALL].
52512         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52513         (__ASSUME_SOCKETCALL): Define.
52514         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52516         (__ASSUME_SOCKETCALL): Define.
52517         (__ASSUME_ACCEPT4): Remove.
52518         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52519         Define.
52520         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52521         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52522         Likewise.
52523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52524         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52526         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52527         macro.
52528         (HWCAP_ARM_LPAE): Likewise.
52529         (HWCAP_ARM_EVTSTRM): Likewise.
52530         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52531         Add vpfd32, lpae and evtstrm.
52532         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52533         Increase to 22.
52535 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52537         * math/auto-libm-test-in: Add tests of clog10.
52538         * math/auto-libm-test-out: Regenerated.
52539         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52540         * sysdeps/i386/fpu/libm-test-ulps: Update.
52541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52543 2014-02-18  Andreas Schwab  <schwab@suse.de>
52545         [BZ #16574]
52546         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52547         Store non-zero if the second buffer was newly allocated.
52548         (send_dg): Likewise.
52549         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52550         to send_vc and send_dg.
52551         (res_nsend): Pass NULL for ansp2_malloced.
52552         * resolv/res_query.c (__libc_res_nquery): Add parameter
52553         answerp2_malloced and pass it down to __libc_res_nsend.
52554         (res_nquery): Pass additional NULL to __libc_res_nquery.
52555         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52556         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52557         second answer buffer if answerp2_malloced was set.
52558         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52559         (__libc_res_nquerydomain): Add parameter
52560         answerp2_malloced and pass it down to __libc_res_nquery.
52561         (res_nquerydomain): Pass additional NULL to
52562         __libc_res_nquerydomain.
52563         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52564         additional NULL to __libc_res_nsend and __libc_res_nquery.
52565         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52566         additional NULL to __libc_res_nsearch.
52567         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52568         parameter of __libc_res_nsearch to check for separately allocated
52569         second buffer.
52570         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52571         __libc_res_nquery.
52572         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52573         additional NULL to __libc_res_nquery.
52574         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52575         __libc_res_nsearch.
52576         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52577         * include/resolv.h: Update prototypes of __libc_res_nquery,
52578         __libc_res_nsearch, __libc_res_nsend.
52580 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52582         * math/auto-libm-test-in: Add tests of fma.
52583         * math/auto-libm-test-out: Regenerated.
52584         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52585         (fma_towardzero_test_data): Likewise.
52586         (fma_downward_test_data): Likewise.
52587         (fma_upward_test_data): Likewise.
52588         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52589         mpc_mode.
52590         (rounding_modes): Add values for new field.
52591         (func_calc_method): Add value mpfr_fff_f.
52592         (func_calc_desc): Add mpfr_fff_f union field.
52593         (test_function): Add field exact_args.
52594         (FUNC): Add macro argument EXACT_ARGS.
52595         (FUNC_mpfr_f_f): Update call to FUNC.
52596         (FUNC_mpfr_f_f): Likewise.
52597         (FUNC_mpfr_ff_f): Likewise.
52598         (FUNC_mpfr_if_f): Likewise.
52599         (FUNC_mpc_c_f): Likewise.
52600         (FUNC_mpc_c_c): Likewise.
52601         (test_functions): Add fma.  Update calls to FUNC.
52602         (handle_input_arg): Add argument exact_args.
52603         (add_test): Update call to handle_input_arg.
52604         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52605         (output_for_one_input_case): Update call to calc_generic_results.
52606         Recalculate exact zero results in each rounding mode.
52608         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52609         non-negative before setting low bit.
52610         * math/auto-libm-test-in: Mark one asin test possibly having
52611         spurious underflow.
52612         * math/auto-libm-test-out: Regenerated.
52613         * sysdeps/i386/fpu/libm-test-ulps: Update.
52614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52616 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52618         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52619         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52620         ports/sysdeps/unix/sysv/linux/microblaze.
52621         * README: Add missing listing for microblaze*-*-linux-gnu.
52623 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52626         duplicate code
52628 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52630         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52631         * sysdeps/unix/sysv/linux/ia64: Move directory from
52632         ports/sysdeps/unix/sysv/linux/ia64.
52633         * README: Update listing for ia64-*-linux-gnu.
52635 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52636             Joseph Myers  <joseph@codesourcery.com>
52638         * Makeconfig (test-name): New variable.
52639         (evaluate-test): Likewise.
52640         * Makerules (do-test-clean): Remove .test-result files.
52641         (common-mostlyclean): Likewise.
52642         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52643         * scripts/evaluate-test.sh: New file.
52645 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52647         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52648         separate $(objpfx)tst-fopenloc-cmp.out and
52649         $(objpfx)tst-fopenloc-mem.out targets.
52650         (tests): Update dependencies.
52651         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52652         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52653         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52654         (tst-rxspencer-no-utf8-ARGS): New variable.
52655         (tst-rxspencer-no-utf8-ENV): Likewise.
52656         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52657         instead of $(objpfx)tst-rxspencer-mem.
52658         ($(objpfx)tst-rxspencer-mem): Change target to
52659         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52660         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52661         * posix/tst-rxspencer-no-utf8.c: New file.
52663         * elf/Makefile ($(objpfx)order.out): Remove rule.
52664         [$(run-built-tests) = yes] (tests): Depend on
52665         $(objpfx)order-cmp.out.
52666         ($(objpfx)order-cmp.out): New rule.
52667         [$(run-built-tests) = yes] (tests): Depend on
52668         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52669         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52670         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52671         $(objpfx)tst-array5-static-cmp.out.
52672         ($(objpfx)tst-array1.out): Remove rule.
52673         ($(objpfx)tst-array1-cmp.out): New rule.
52674         ($(objpfx)tst-array1-static.out): Remove rule.
52675         ($(objpfx)tst-array1-static-cmp.out): New rule.
52676         ($(objpfx)tst-array2.out): Remove rule.
52677         ($(objpfx)tst-array2-cmp.out): New rule.
52678         ($(objpfx)tst-array3.out): Remove rule.
52679         ($(objpfx)tst-array3-cmp.out): New rule.
52680         ($(objpfx)tst-array4.out): Remove rule.
52681         ($(objpfx)tst-array4-cmp.out): New rule.
52682         ($(objpfx)tst-array5.out): Remove rule.
52683         ($(objpfx)tst-array5-cmp.out): New rule.
52684         ($(objpfx)tst-array5-static.out): Remove rule.
52685         ($(objpfx)tst-array5-static-cmp.out): New rule.
52686         [$(run-built-tests) = yes] (tests): Depend on
52687         $(objpfx)order2-cmp.out.
52688         ($(objpfx)order2.out): Remove rule.
52689         ($(objpfx)order2-cmp.out): New rule.
52690         ($(objpfx)tst-initorder.out): Remove rule.
52691         [$(run-built-tests) = yes] (tests): Depend on
52692         $(objpfx)tst-initorder-cmp.out.
52693         ($(objpfx)tst-initorder-cmp.out): New rule.
52694         ($(objpfx)tst-initorder2.out): Remove rule.
52695         [$(run-built-tests) = yes] (tests): Depend on
52696         $(objpfx)tst-initorder2-cmp.out.
52697         ($(objpfx)tst-initorder2-cmp.out): New rule.
52698         [$(run-built-tests) = yes] (tests): Depend on
52699         $(objpfx)tst-unused-dep-cmp.out.
52700         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52701         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52702         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52703         on $(objpfx)tst-setvbuf1-cmp.out.
52704         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52705         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52706         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52707         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52708         ($(objpfx)tst-svc.out): Remove rule.
52709         ($(objpfx)tst-svc-cmp.out): New rule.
52711 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52713         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52714         * ctype/ctype.h [__USE_MISC]: Likewise.
52715         * dirent/dirent.h [__USE_MISC]: Likewise.
52716         * grp/grp.h [__USE_MISC]: Likewise.
52717         * io/fcntl.h [__USE_MISC]: Likewise.
52718         * io/sys/stat.h [__USE_MISC]: Likewise.
52719         * libio/stdio.h [__USE_MISC]: Likewise.
52720         * posix/unistd.h [__USE_MISC]: Likewise.
52721         * pwd/pwd.h [__USE_MISC]: Likewise.
52722         * stdlib.h [__USE_MISC]: Likewise.
52723         * string/bits/string2.h [__USE_MISC]: Likewise.
52724         * string/string.h [__USE_MISC]: Likewise.
52725         * time/time.h [__USE_MISC]: Likewise.
52727 2014-02-13  Andreas Schwab  <schwab@suse.de>
52729         [BZ #16574]
52730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52731         second answer buffer if it was separately allocated.
52733 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52735         * sysdeps/mips/math-tests.h: Include <features.h>.
52736         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52737         (ROUNDING_TESTS_long_double): Do not define.
52738         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52739         (EXCEPTION_TESTS_long_double): Likewise.
52740         * sysdeps/mips/mips64/libm-test-ulps: Update.
52742         * include/features.h (__USE_BSD): Remove macro definitions.
52743         (__USE_SVID): Likewise.
52744         (_BSD_SOURCE): Likewise.
52745         (_SVID_SOURCE): Likewise.
52746         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52747         from definition of _DEFAULT_SOURCE.
52748         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52749         [_DEFAULT_SOURCE].
52750         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52751         * bits/mman.h [__USE_BSD]: Likewise.
52752         * bits/termios.h [__USE_BSD]: Likewise.
52753         * bits/waitstatus.h [__USE_BSD]: Likewise.
52754         * ctype/ctype.h [__USE_SVID]: Likewise.
52755         * dirent/dirent.h [__USE_BSD]: Likewise.
52756         * grp/grp.h [__USE_SVID]: Likewise.
52757         [__USE_BSD]: Likewise.
52758         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52759         * io/fcntl.h [__USE_BSD]: Likewise.
52760         * io/ftw.h [__USE_BSD]: Likewise.
52761         * io/sys/stat.h [__USE_BSD]: Likewise.
52762         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52763         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52764         * libio/stdio.h [__USE_SVID]: Likewise.
52765         [__USE_BSD]: Likewise.
52766         * math/math.h [__USE_SVID]: Likewise.
52767         [__USE_BSD]: Likewise.
52768         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52769         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52770         * misc/search.h [__USE_SVID]: Likewise.
52771         * misc/sys/mman.h [__USE_BSD]: Likewise.
52772         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52773         * misc/sys/uio.h [__USE_BSD]: Likewise.
52774         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52775         * posix/glob.h [__USE_BSD]: Likewise.
52776         * posix/regex.h [__USE_BSD]: Likewise.
52777         * posix/sys/types.h [__USE_BSD]: Likewise.
52778         [__USE_SVID]: Likewise.
52779         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52780         * posix/sys/wait.h [__USE_BSD]: Likewise.
52781         [__USE_SVID]: Likewise.
52782         * posix/unistd.h [__USE_BSD]: Likewise.
52783         [__USE_SVID]: Likewise.
52784         * pwd/pwd.h [__USE_SVID]: Likewise.
52785         * resolv/netdb.h [__USE_BSD]: Likewise.
52786         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52787         * signal/signal.h [__USE_BSD]: Likewise.
52788         [__USE_SVID]: Likewise.
52789         * socket/sys/socket.h [__USE_BSD]: Likewise.
52790         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52791         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52792         [__USE_SVID]: Likewise.
52793         * string/bits/string2.h [__USE_BSD]: Likewise.
52794         [__USE_SVID]: Likewise.
52795         * string/bits/string3.h [__USE_BSD]: Likewise.
52796         * string/endian.h [__USE_BSD]: Likewise.
52797         * string/string.h [__USE_SVID]: Likewise.
52798         [__USE_BSD]: Likewise.
52799         * string/strings.h [__USE_BSD]: Likewise.
52800         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52801         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52802         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52803         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52804         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52805         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52806         Likewise.
52807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52808         Likewise.
52809         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52810         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52811         Likewise.
52812         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52813         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52814         Likewise.
52815         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52816         Likewise.
52817         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52818         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52819         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52820         Likewise.
52821         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52822         Likewise.
52823         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52824         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52825         * termios/termios.h [__USE_BSD]: Likewise.
52826         * time/sys/time.h [__USE_BSD]: Likewise.
52827         * time/time.h [__USE_BSD]: Likewise.
52828         [__USE_SVID]: Likewise.
52830         * Makefile (subdir_targets): Remove subdir_lint.out.
52832         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52833         (do-tst-printf): Likewise.
52834         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52835         $(objpfx)tst-printf.out.
52837         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52839         * Makerules (check-abi-%): Change target to
52840         $(objpfx)check-abi-%.out.
52841         (check-abi target): Update dependencies.
52842         (check-abi-pattern variable): Redirect output of diff to $@.
52843         (check-abi variable): Likewise.
52844         * elf/Makefile (check-abi): Update dependencies.
52846         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52847         unused.
52848         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52849         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52850         subnormal range.
52851         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52852         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52853         value has largest subnormal exponent.
52854         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52855         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52856         * sysdeps/aarch64/soft-fp/sfp-machine.h
52857         (_FP_TININESS_AFTER_ROUNDING): New macro.
52858         * sysdeps/alpha/soft-fp/sfp-machine.h
52859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52860         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52861         Likewise.
52862         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52864         * sysdeps/mips/soft-fp/sfp-machine.h
52865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52866         * sysdeps/powerpc/soft-fp/sfp-machine.h
52867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52868         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52869         Likewise.
52870         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52872         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52874         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52875         Likewise.
52877 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52879         [BZ #16545]
52880         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52881         model 1.
52883 2014-02-12  Richard Henderson  <rth@redhat.com>
52885         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52886         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52887         * sysdeps/unix/sysv/linux/alpha: Move directory from
52888         ports/sysdeps/unix/sysv/linux/alpha.
52889         * README: Update listing for alpha-*-linux-gnu.
52891 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52893         * include/features.h: Update comment documenting feature test
52894         macros.
52895         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52896         _DEFAULT_SOURCE.
52897         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52898         (_SVID_SOURCE): Likewise.
52899         (_DEFAULT_SOURCE): Update description of default features.
52900         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52901         with _GNU_SOURCE.
52902         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52903         (S_ISVTX): Likewise.
52904         * manual/math.texi (Mathematical Constants): Likewise.
52905         * manual/signal.texi (Interrupted Primitives): Likewise.
52906         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52907         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52908         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52909         Don't refer to _SVID_SOURCE in warning text.
52911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52913         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52914         already defined.
52915         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52916         * sysdeps/mips/dl-lookup.c: Remove.
52917         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52919 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52921         [BZ #16447]
52922         * math/auto-libm-test-in: Add testcase for expl.
52923         * math/auto-libm-test-out: Regenerate.
52924         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52925         calculation of unsafe.
52926         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52928 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52930         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52931         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52932         ports/sysdeps/unix/sysv/linux/aarch64.
52933         * README: Update listing for aarch64*-*-linux-gnu.
52935 2014-02-11  Will Newton  <will.newton@linaro.org>
52937         * manual/probes.texi (Mathematical Function Probes): Use
52938         "triggered" instead of "hit".
52940         * manual/probes.texi (Internal Probes): Add documentation
52941         of setjmp, longjmp and longjmp_target probes.
52943         * include/stap-probe.h: Add comment about probe argument
52944         format.
52946         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52947         definition.  (tr_where, tr_freehook, tr_mallochook,
52948         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52950 2014-02-11  David S. Miller  <davem@davemloft.net>
52952         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52953         processing int_tests.
52955 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52957         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52958         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52959         * sysdeps/unix/sysv/linux/mips: Move directory from
52960         ports/sysdeps/unix/sysv/linux/mips.
52961         * README: Update listing for mips-*-linux-gnu and
52962         mips64-*-linux-gnu.
52964 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52966         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52967         * sysdeps/unix/sysv/linux/m68k: Move directory from
52968         ports/sysdeps/unix/sysv/linux/m68k.
52969         * README: Update listing for m68k-*-linux-gnu.
52971 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52973         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52974         * sysdeps/unix/sysv/linux/generic: Move directory from
52975         ports/sysdeps/unix/sysv/linux/generic.
52976         * sysdeps/unix/sysv/linux/tile: Move directory from
52977         ports/sysdeps/unix/sysv/linux/tile.
52978         * README: Update listing for tile*-*-linux-gnu.
52980 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52982         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52983         __builtin_expect.
52984         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52985         * catgets/open_catalog.c (__open_catalog): Likewise.
52986         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52987         * debug/confstr_chk.c: Likewise.
52988         * debug/fread_chk.c (__fread_chk): Likewise.
52989         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52990         * debug/getgroups_chk.c: Likewise.
52991         * debug/mbsnrtowcs_chk.c: Likewise.
52992         * debug/mbsrtowcs_chk.c: Likewise.
52993         * debug/mbstowcs_chk.c: Likewise.
52994         * debug/memcpy_chk.c: Likewise.
52995         * debug/memmove_chk.c: Likewise.
52996         * debug/mempcpy_chk.c: Likewise.
52997         * debug/memset_chk.c: Likewise.
52998         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52999         * debug/strcat_chk.c (__strcat_chk): Likewise.
53000         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53001         * debug/strncat_chk.c (__strncat_chk): Likewise.
53002         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53003         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53004         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53005         * debug/wcpncpy_chk.c: Likewise.
53006         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53007         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53008         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53009         * debug/wcsncpy_chk.c: Likewise.
53010         * debug/wcsnrtombs_chk.c: Likewise.
53011         * debug/wcsrtombs_chk.c: Likewise.
53012         * debug/wcstombs_chk.c: Likewise.
53013         * debug/wmemcpy_chk.c: Likewise.
53014         * debug/wmemmove_chk.c: Likewise.
53015         * debug/wmempcpy_chk.c: Likewise.
53016         * debug/wmemset_chk.c: Likewise.
53017         * dirent/scandirat.c (SCANDIRAT): Likewise.
53018         * dlfcn/dladdr1.c (dladdr1): Likewise.
53019         * dlfcn/dladdr.c (dladdr): Likewise.
53020         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53021         * dlfcn/dlerror.c (__dlerror): Likewise.
53022         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53023         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53024         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53025         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53026         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53027         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53028         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53029         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53030         Likewise.
53031         * elf/dl-conflict.c: Likewise.
53032         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53033         * elf/dl-dst.h: Likewise.
53034         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53035         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53036         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53037         * elf/dl-init.c (call_init, _dl_init): Likewise.
53038         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53039         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53040         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53041         Likewise.
53042         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53043         Likewise.
53044         * elf/dl-minimal.c (__libc_memalign): Likewise.
53045         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53046         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53047         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53048         * elf/dl-sym.c (do_sym): Likewise.
53049         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53050         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53051         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53052         * elf/dl-writev.h (_dl_writev): Likewise.
53053         * elf/ldconfig.c (search_dir): Likewise.
53054         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53055         (dl_main): Likewise.
53056         * elf/setup-vdso.h (setup_vdso): Likewise.
53057         * grp/compat-initgroups.c (compat_call): Likewise.
53058         * grp/fgetgrent.c (fgetgrent): Likewise.
53059         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53060         * grp/putgrent.c (putgrent): Likewise.
53061         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53062         Likewise.
53063         * hurd/hurdinit.c: Likewise.
53064         * iconvdata/8bit-gap.c (struct): Likewise.
53065         * iconvdata/ansi_x3.110.c : Likewise.
53066         * iconvdata/big5.c : Likewise.
53067         * iconvdata/big5hkscs.c : Likewise.
53068         * iconvdata/cp1255.c: Likewise.
53069         * iconvdata/cp1258.c : Likewise.
53070         * iconvdata/cp932.c : Likewise.
53071         * iconvdata/euc-cn.c: Likewise.
53072         * iconvdata/euc-jisx0213.c : Likewise.
53073         * iconvdata/euc-jp.c: Likewise.
53074         * iconvdata/euc-jp-ms.c : Likewise.
53075         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53076         * iconvdata/gb18030.c : Likewise.
53077         * iconvdata/gbbig5.c (const): Likewise.
53078         * iconvdata/gbgbk.c: Likewise.
53079         * iconvdata/gbk.c : Likewise.
53080         * iconvdata/ibm1364.c : Likewise.
53081         * iconvdata/ibm930.c : Likewise.
53082         * iconvdata/ibm932.c: Likewise.
53083         * iconvdata/ibm933.c : Likewise.
53084         * iconvdata/ibm935.c : Likewise.
53085         * iconvdata/ibm937.c : Likewise.
53086         * iconvdata/ibm939.c : Likewise.
53087         * iconvdata/ibm943.c: Likewise.
53088         * iconvdata/iso_11548-1.c: Likewise.
53089         * iconvdata/iso-2022-cn.c : Likewise.
53090         * iconvdata/iso-2022-cn-ext.c : Likewise.
53091         * iconvdata/iso-2022-jp-3.c: Likewise.
53092         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53093         * iconvdata/iso-2022-kr.c : Likewise.
53094         * iconvdata/iso646.c (gconv_end): Likewise.
53095         * iconvdata/iso_6937-2.c : Likewise.
53096         * iconvdata/iso_6937.c : Likewise.
53097         * iconvdata/iso8859-1.c: Likewise.
53098         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53099         * iconvdata/shift_jisx0213.c : Likewise.
53100         * iconvdata/sjis.c : Likewise.
53101         * iconvdata/t.61.c : Likewise.
53102         * iconvdata/tcvn5712-1.c : Likewise.
53103         * iconvdata/tscii.c: Likewise.
53104         * iconvdata/uhc.c : Likewise.
53105         * iconvdata/unicode.c (gconv_end): Likewise.
53106         * iconvdata/utf-16.c (gconv_end): Likewise.
53107         * iconvdata/utf-32.c (gconv_end): Likewise.
53108         * iconvdata/utf-7.c (base64): Likewise.
53109         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53110         * iconv/gconv_close.c (__gconv_close): Likewise.
53111         * iconv/gconv_open.c (__gconv_open): Likewise.
53112         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53113         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53114         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53115         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53116         (ucs4le_internal_loop_single): Likewise.
53117         * iconv/iconv.c (iconv): Likewise.
53118         * iconv/iconv_close.c: Likewise.
53119         * iconv/loop.c (SINGLE): Likewise.
53120         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53121         * include/atomic.h: Likewise.
53122         * inet/inet6_option.c (option_alloc): Likewise.
53123         * intl/bindtextdom.c (set_binding_values): Likewise.
53124         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53125         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53126         * intl/localealias.c (read_alias_file): Likewise.
53127         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53128         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53129         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53130         * libio/fmemopen.c (fmemopen): Likewise.
53131         * libio/iofgets.c (_IO_fgets): Likewise.
53132         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53133         * libio/iofgetws.c (fgetws): Likewise.
53134         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53135         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53136         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53137         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53138         * locale/findlocale.c (_nl_find_locale): Likewise.
53139         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53140         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53141         Likewise.
53142         * locale/setlocale.c (setlocale): Likewise.
53143         * login/programs/pt_chown.c (main): Likewise.
53144         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53145         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53146         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53147         (mmap, mmap64, mremap, munmap): Likewise.
53148         * math/e_exp2l.c: Likewise.
53149         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53150         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53151         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53152         * math/s_catan.c (__catan): Likewise.
53153         * math/s_catanf.c (__catanf): Likewise.
53154         * math/s_catanh.c (__catanh): Likewise.
53155         * math/s_catanhf.c (__catanhf): Likewise.
53156         * math/s_catanhl.c (__catanhl): Likewise.
53157         * math/s_catanl.c (__catanl): Likewise.
53158         * math/s_ccosh.c (__ccosh): Likewise.
53159         * math/s_ccoshf.c (__ccoshf): Likewise.
53160         * math/s_ccoshl.c (__ccoshl): Likewise.
53161         * math/s_cexp.c (__cexp): Likewise.
53162         * math/s_cexpf.c (__cexpf): Likewise.
53163         * math/s_cexpl.c (__cexpl): Likewise.
53164         * math/s_clog10.c (__clog10): Likewise.
53165         * math/s_clog10f.c (__clog10f): Likewise.
53166         * math/s_clog10l.c (__clog10l): Likewise.
53167         * math/s_clog.c (__clog): Likewise.
53168         * math/s_clogf.c (__clogf): Likewise.
53169         * math/s_clogl.c (__clogl): Likewise.
53170         * math/s_csin.c (__csin): Likewise.
53171         * math/s_csinf.c (__csinf): Likewise.
53172         * math/s_csinh.c (__csinh): Likewise.
53173         * math/s_csinhf.c (__csinhf): Likewise.
53174         * math/s_csinhl.c (__csinhl): Likewise.
53175         * math/s_csinl.c (__csinl): Likewise.
53176         * math/s_csqrt.c (__csqrt): Likewise.
53177         * math/s_csqrtf.c (__csqrtf): Likewise.
53178         * math/s_csqrtl.c (__csqrtl): Likewise.
53179         * math/s_ctan.c (__ctan): Likewise.
53180         * math/s_ctanf.c (__ctanf): Likewise.
53181         * math/s_ctanh.c (__ctanh): Likewise.
53182         * math/s_ctanhf.c (__ctanhf): Likewise.
53183         * math/s_ctanhl.c (__ctanhl): Likewise.
53184         * math/s_ctanl.c (__ctanl): Likewise.
53185         * math/w_pow.c: Likewise.
53186         * math/w_powf.c: Likewise.
53187         * math/w_powl.c: Likewise.
53188         * math/w_scalb.c (sysv_scalb): Likewise.
53189         * math/w_scalbf.c (sysv_scalbf): Likewise.
53190         * math/w_scalbl.c (sysv_scalbl): Likewise.
53191         * misc/error.c (error_tail): Likewise.
53192         * misc/pselect.c (__pselect): Likewise.
53193         * nis/nis_callback.c (__nis_create_callback): Likewise.
53194         * nis/nis_call.c (__nisfind_server): Likewise.
53195         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53196         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53197         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53198         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53199         * nis/nis_lookup.c (nis_lookup): Likewise.
53200         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53201         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53202         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53203         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53204         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53205         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53206         * nis/nss_compat/compat-initgroups.c (add_group)
53207         (internal_getgrent_r): Likewise.
53208         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53209         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53210         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53211         (internal_getspnam_r): Likewise.
53212         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53213         (_nss_nis_getaliasbyname_r): Likewise.
53214         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53215         (_nss_nis_getntohost_r): Likewise.
53216         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53217         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53218         (_nss_nis_getgrgid_r): Likewise.
53219         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53220         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53221         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53222         (_nss_nis_gethostbyname4_r): Likewise.
53223         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53224         (initgroups_netid): Likewise.
53225         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53226         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53227         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53228         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53229         (_nss_nis_getprotobynumber_r): Likewise.
53230         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53231         (_nss_nis_getsecretkey): Likewise.
53232         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53233         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53234         (_nss_nis_getpwuid_r): Likewise.
53235         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53236         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53237         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53238         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53239         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53240         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53241         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53242         Likewise.
53243         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53244         (_nss_nisplus_getntohost_r): Likewise.
53245         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53246         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53247         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53248         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53249         Likewise.
53250         * nis/nss_nisplus/nisplus-initgroups.c
53251         (_nss_nisplus_initgroups_dyn): Likewise.
53252         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53253         (_nss_nisplus_getnetbyaddr_r): Likewise.
53254         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53255         (_nss_nisplus_getprotobynumber_r): Likewise.
53256         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53257         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53258         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53259         Likewise.
53260         * nis/nss_nisplus/nisplus-service.c
53261         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53262         (_nss_nisplus_getservbyport_r): Likewise.
53263         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53264         (_nss_nisplus_getspnam_r): Likewise.
53265         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53266         Likewise.
53267         * nscd/aicache.c (addhstaiX): Likewise.
53268         * nscd/cache.c (cache_search, prune_cache): Likewise.
53269         * nscd/connections.c (register_traced_file, send_ro_fd)
53270         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53271         (main_loop_epoll): Likewise.
53272         * nscd/grpcache.c (addgrbyX): Likewise.
53273         * nscd/hstcache.c (addhstbyX): Likewise.
53274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53275         * nscd/mem.c (gc, mempool_alloc): Likewise.
53276         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53277         (addinnetgrX): Likewise.
53278         * nscd/nscd-client.h (__nscd_acquire_maplock)
53279         (__nscd_drop_map_ref): Likewise.
53280         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53281         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53282         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53283         Likewise.
53284         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53285         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53286         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53287         (__nscd_get_map_ref): Likewise.
53288         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53289         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53290         Likewise.
53291         * nscd/pwdcache.c (addpwbyX): Likewise.
53292         * nscd/selinux.c (preserve_capabilities): Likewise.
53293         * nscd/servicescache.c (addservbyX): Likewise.
53294         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53295         * posix/fnmatch.c (fnmatch): Likewise.
53296         * posix/getopt.c (_getopt_internal_r): Likewise.
53297         * posix/glob.c (glob, glob_in_dir): Likewise.
53298         * posix/wordexp.c (exec_comm_child): Likewise.
53299         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53300         (getanswer_r, gaih_getanswer_slice): Likewise.
53301         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53302         * resolv/res_init.c: Likewise.
53303         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53304         * resolv/res_query.c (__libc_res_nquery): Likewise.
53305         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53306         Likewise.
53307         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53308         * stdio-common/perror.c (perror): Likewise.
53309         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53310         * stdio-common/tmpnam.c (tmpnam): Likewise.
53311         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53312         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53313         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53314         Likewise.
53315         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53316         * stdlib/putenv.c (putenv): Likewise.
53317         * stdlib/setenv.c (__add_to_environ): Likewise.
53318         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53319         * stdlib/strtol_l.c (INTERNAL): Likewise.
53320         * string/memmem.c (memmem): Likewise.
53321         * string/strerror.c (strerror): Likewise.
53322         * string/strnlen.c (__strnlen): Likewise.
53323         * string/test-memmem.c (simple_memmem): Likewise.
53324         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53325         * sunrpc/pm_getport.c (__get_socket): Likewise.
53326         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53327         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53328         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53329         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53330         Likewise.
53331         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53332         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53333         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53334         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53335         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53336         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53337         Likewise.
53338         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53339         Likewise.
53340         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53341         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53342         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53343         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53344         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53346         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53347         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53348         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53349         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53350         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53351         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53352         Likewise.
53353         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53354         Likewise.
53355         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53356         Likewise.
53357         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53360         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53361         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53362         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53363         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53364         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53367         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53369         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53370         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53372         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53373         Likewise.
53374         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53375         Likewise.
53376         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53377         Likewise.
53378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53379         Likewise.
53380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53382         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53383         Likewise.
53384         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53385         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53386         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53387         * sysdeps/posix/sleep.c: Likewise.
53388         * sysdeps/posix/tempname.c: Likewise.
53389         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53390         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53391         Likewise.
53392         * sysdeps/powerpc/powerpc32/dl-machine.h
53393         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53394         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53396         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53397         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53398         Likewise.
53399         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53400         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53401         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53402         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53403         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53404         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53405         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53406         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53407         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53408         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53409         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53410         (elf_machine_lazy_rel): Likewise.
53411         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53412         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53413         (elf_machine_lazy_rel): Likewise.
53414         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53415         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53416         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53417         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53418         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53419         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53420         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53422         Likewise.
53423         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53424         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53425         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53426         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53427         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53428         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53429         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53430         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53431         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53432         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53433         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53434         Likewise.
53435         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53436         (__posix_fallocate64_l64): Likewise.
53437         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53438         (posix_fallocate): Likewise.
53439         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53440         Likewise.
53441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53442         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53443         (getifaddrs_internal): Likewise.
53444         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53445         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53446         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53447         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53448         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53449         (__posix_fallocate64_l64): Likewise.
53450         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53451         Likewise.
53452         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53453         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53454         (__get_clockfreq): Likewise.
53455         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53456         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53457         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53460         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53461         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53462         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53463         Likewise.
53464         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53465         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53466         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53467         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53468         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53469         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53470         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53471         Likewise.
53472         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53473         (posix_fallocate): Likewise.
53474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53475         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53476         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53477         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53478         (elf_machine_rela, elf_machine_rela_relative)
53479         (elf_machine_lazy_rel): Likewise.
53480         * time/asctime.c (asctime_internal): Likewise.
53481         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53482         * time/tzset.c (__tzset_parse_tz): Likewise.
53483         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53484         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53485         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53486         * wcsmbs/wcsmbsload.h: Likewise.
53488         [BZ #15894]
53489         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53491         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53492         (arena_get2): Remove THREAD_STATS conditionals.
53493         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53494         (__malloc_stats, int): Likewise.
53496 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
53498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53499         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
53501         * manual/setjmp.texi: Fix typos/grammar errors.
53503         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53504         Only return early when n is <= 0.  Delete unused return statement.
53506         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53507         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53508         * debug/tst-longjmp_chk3.c: New file.
53510         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53511         (test_main): Replace code with set_fortify_handler call.
53512         * debug/test-strcpy_chk.c: Likewise.
53513         * debug/tst-chk1.c: Likewise.
53514         * debug/tst-longjmp_chk.c: Likewise.
53515         * test-skeleton.c: Include fcntl.h & paths.h
53516         (set_fortify_handler): Define.
53518         * debug/tst-longjmp_chk.c: Add header comment and include
53519         ../test-skeleton.c.
53520         (do_test): Mark static.
53521         (TEST_FUNCTION): Define.
53523         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53524         (IP_PMTUDISC_INTERFACE): Likewise.
53525         (IP_MULTICAST_IF): Likewise.
53526         (IP_MULTICAST_TTL): Likewise.
53527         (IP_MULTICAST_LOOP): Likewise.
53528         (IP_ADD_MEMBERSHIP): Likewise.
53529         (IP_DROP_MEMBERSHIP): Likewise.
53530         (IP_UNBLOCK_SOURCE): Likewise.
53531         (IP_BLOCK_SOURCE): Likewise.
53532         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53533         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53534         (IP_MSFILTER): Likewise.
53535         (MCAST_JOIN_GROUP): Likewise.
53536         (MCAST_BLOCK_SOURCE): Likewise.
53537         (MCAST_UNBLOCK_SOURCE): Likewise.
53538         (MCAST_LEAVE_GROUP): Likewise.
53539         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53540         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53541         (MCAST_MSFILTER): Likewise.
53542         (IP_MULTICAST_ALL): Likewise.
53543         (IP_UNICAST_IF): Likewise.
53545         * timezone/Makefile: Delete $(have-ksh) check.
53546         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53547         * timezone/tzselect.ksh: Add +x mode bits.
53549         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53550         (ANON_INODE_FS_MAGIC): Likewise.
53551         (BDEVFS_MAGIC): Likewise.
53552         (BINFMTFS_MAGIC): Likewise.
53553         (BTRFS_TEST_MAGIC): Likewise.
53554         (CRAMFS_MAGIC_WEND): Likewise.
53555         (DEBUGFS_MAGIC): Likewise.
53556         (ECRYPTFS_SUPER_MAGIC): Likewise.
53557         (EXT3_SUPER_MAGIC): Likewise.
53558         (EXT4_SUPER_MAGIC): Likewise.
53559         (FUTEXFS_SUPER_MAGIC): Likewise.
53560         (HOSTFS_SUPER_MAGIC): Likewise.
53561         (HUGETLBFS_MAGIC): Likewise.
53562         (MINIX3_SUPER_MAGIC): Likewise.
53563         (MTD_INODE_FS_MAGIC): Likewise.
53564         (NILFS_SUPER_MAGIC): Likewise.
53565         (OPENPROM_SUPER_MAGIC): Likewise.
53566         (PIPEFS_MAGIC): Likewise.
53567         (PSTOREFS_MAGIC): Likewise.
53568         (QNX6_SUPER_MAGIC): Likewise.
53569         (RAMFS_MAGIC): Likewise.
53570         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53571         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53572         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53573         (SECURITYFS_MAGIC): Likewise.
53574         (SELINUX_MAGIC): Likewise.
53575         (SMACK_MAGIC): Likewise.
53576         (SOCKFS_MAGIC): Likewise.
53577         (SQUASHFS_MAGIC): Likewise.
53578         (STACK_END_MAGIC): Likewise.
53579         (TMPFS_MAGIC): Likewise.
53580         (USBDEVICE_SUPER_MAGIC): Likewise.
53581         (V9FS_MAGIC): Likewise.
53582         (XENFS_SUPER_MAGIC): Likewise.
53583         (CRAMFS_MAGIC): Fix typo in comment.
53584         (EXT2_SUPER_MAGIC): Update comment.
53585         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53587 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53589         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53590         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53591         * sysdeps/unix/sysv/linux/arm: Move directory from
53592         ports/sysdeps/unix/sysv/linux/arm.
53593         * README: Update listing for arm-*-linux-gnueabi.
53595         * README: Remove mention of am33.
53597 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53599         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53600         than the comma operator, to avoid "rhs of comma has no effect"
53601         compiler warnings.
53602         (__sigfillset, __sigandset, __sigorset): Likewise.
53603         * include/signal.h (__sigemptyset): Likewise.
53604         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53606 2014-02-07  Allan McRae  <allan@archlinux.org>
53608         * version.h (RELEASE): Set to "development".
53609         (VERSION): Set to "2.19.90"
53610         * NEWS: Add 2.20 section.
53612 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53614         [BZ #16529]
53615         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53617 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53619         * manual/contrib.texi: Update entry for Carlos O'Donell,
53620         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53622 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53624         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53626         * sysdeps/unix/sysv/linux/kernel-features.h
53627         [__LINUX_KERNEL_VERSION >= 0x020621]
53628         (__ASSUME_PROC_PID_TASK_COMM): Define.
53630 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53632         [BZ #16398]
53633         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53634         conversion when destination buffer does not have enough space.
53635         * libio/tst-ftell-partial-wide.c: New test case.
53636         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53638         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53639         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53640         Leonard and Allan McRae.
53642 2014-02-04  David S. Miller  <davem@davemloft.net>
53644         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53645         32-bit.
53647 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53650         New file
53651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53652         New file
53653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53654         New file.
53655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53656         New file.
53657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53658         New file.
53659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53660         New file.
53661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53662         New file.
53663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53664         New file.
53665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53666         New file.
53667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53668         New file.
53669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53670         New file.
53671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53672         New file.
53673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53674         New file.
53676 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53678         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53679         * shlib-versions: Likewise.
53681 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53682             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53684         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53685         (abilist-pattern): New variable, set to %-le.abilist.
53687         * Makerules (abilist-pattern): New variable.
53688         (vpath): Use $(abilist-pattern) in place of %.abilist.
53689         (check-abi-% pattern rule): Likewise.
53690         (check-abi, update-abi): Likewise.
53692 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53696 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53698         * manual/startup.texi: Add next, previous, and top entries for
53699         the `Program Arguments' and `Environment Variables' nodes.
53701 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53703         * manual/macros.texi: Add comments before MTASC-safety macros.
53705         * manual/users.texi: Document MTASC-safety properties.
53707         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53708         (pthread_getspecific, pthread_setspecific): Format with
53709         @deftypefun, and add @safety note.
53710         * manual/signal.texi: Move comments that analyze the above
53711         functions to their home place.
53713 2014-02-03  Allan McRae  <allan@archlinux.org>
53715         * po/sl.po: Update Slovenian translation from translation project.
53717 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53719         * manual/time.texi (timegm): Add missing blank after @c.
53720         Reported by Joseph Myers <joseph@codesourcery.com>.
53722 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53724         * manual/check-safety.sh: New.
53725         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53727         * manual/terminal.texi: Document MTASC-safety properties.
53729         * manual/filesys.texi: Document MTASC-safety properties.
53731         * manual/errno.texi: Document MTASC-safety properties.
53733         * manual/intro.texi: Document safety identifiers and
53734         conditionals.
53736         * manual/string.texi (wcstok): Fix prototype.
53737         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53739         * manual/time.texi: Document MTASC-safety properties.
53741         * manual/string.texi: Document MTASC-safety properties.
53743         * manual/threads.texi: Document MTASC-safety properties.
53745         * manual/stdio.texi: Document MTASC-safety properties.
53747         * manual/syslog.texi: Document MTASC-safety properties.
53749         * manual/sysinfo.texi: Document MTASC-safety properties.
53751         * manual/startup.texi: Document MTASC-safety properties.
53753         * manual/socket.texi: Document MTASC-safety properties.
53755         * manual/signal.texi: Document MTASC-safety properties.
53757 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53759         * manual/setjmp.texi: Document MTASC-safety properties.
53761         * manual/search.texi: Document MTASC-safety properties.
53763         * manual/resource.texi: Document MTASC-safety properties.
53765         * manual/process.texi: Document MTASC-safety properties.
53767         * manual/platform.texi: Document MTASC-safety properties.
53769         * manual/pipe.texi: Document MTASC-safety properties.
53771         * manual/pattern.texi: Document MTASC-safety properties.
53773         * manual/message.texi: Document MTASC-safety properties.
53775         [BZ #12751]
53776         * manual/memory.texi: Document MTASC-safety properties.
53778         * manual/math.texi: Document MTASC-safety properties.
53780         * manual/locale.texi: Document MTASC-safety properties.
53782         * manual/llio.texi: Document MTASC-safety properties.
53784         * manual/libdl.texi: New.
53786         * manual/lang.texi: Document MTASC-safety properties.
53788         * manual/job.texi: Document MTASC-safety properties.
53790         * manual/getopt.texi: Document MTASC-safety properties.
53792         * manual/ctype.texi: Document MTASC-safety properties.
53794 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53796         [BZ #16046]
53797         * csu/libc-tls.c (static_map): Remove variable.
53798         (__libc_setup_tls): Use main executable's link map for TLS data.
53799         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53800         casing for LM_ID_BASE and GL(dl_nns).
53801         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53802         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53803         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53804         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53805         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53806         member.
53807         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53808         l_phnum members.
53810 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53812         * manual/debug.texi: Document MTASC-safety properties.
53814 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53816         [BZ #16510]
53817         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53818         of __x86_64__ when disabling x87 inline functions.
53820 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53822         * manual/charset.texi: Document MTASC-safety properties.
53824         * manual/crypt.texi: Document MTASC-safety properties.
53826         * manual/conf.texi: Document MTASC-safety properties.
53828         * manual/arith.texi: Document MTASC-safety properties.
53830         * manual/argp.texi: Document MTASC-safety properties.
53832         * manual/macros.texi: Introduce macros to document multi
53833         thread, asynchronous signal and asynchronous cancellation
53834         safety properties.
53835         * manual/intro.texi: Introduce the properties themselves.
53837 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53839         * sysdeps/sh/sh4/Makefile: New file.
53841 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53843         * math/gen-libm-test.pl ($srcdir): New variable.
53844         ($auto_input): Use it.
53846 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53848         [BZ #16506]
53849         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53850         access beyond array bounds when parsing netgroups file.
53852         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53853         the old buffer before realloc.
53855 2014-01-27  Allan McRae  <allan@archlinux.org>
53857         * po/fr.po: Update French translation from translation project.
53859 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53861         * sysdeps/sh/libm-test-ulps: Regenerate.
53863 2014-01-24  David S. Miller  <davem@davemloft.net>
53865         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53867 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53869         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53870         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53872 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874         [BZ #16474]
53875         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53876         string pointers after reallocation.
53878 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53880         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53881         __SH4A__ instead of __SH_FPU_ANY__.
53883 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53885         * sysdeps/sh/fpu_control.h: New file.
53886         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53887         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53888         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53889         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53890         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53891         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53892         * sysdeps/sh/sys/ucontext.h: Remove.
53893         * sysdeps/sh/sys: Remove directory.
53895 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53897         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53898         s390/sys/ucontext.h.
53899         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53900         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53902 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53904         [BZ #15605]
53905         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53907 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53909         [BZ #16431]
53910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53911         Adjust the vDSO correctly for internal calls.
53912         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53914 2014-01-20  Allan McRae  <allan@archlinux.org>
53916         * po/ca.po: Update Catalan translation from translation project.
53918 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53920         * sysdeps/s390/sotruss-lib.c: New file.
53922 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53924         [BZ #16430]
53925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53926         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53927         local calls issues by not having a PLT stub required for IFUNC calls.
53928         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53930 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53932         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53933         * math/test-fpucw-static.c: Likewise.
53935 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53937         [BZ #16453]
53938         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53940 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53942         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53943         implementation for powerpc.
53945 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53947         [BZ #14782]
53948         * sysdeps/posix/system.c (__libc_system): Do not enable
53949         asynchronous cancellation.
53951 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53953         [BZ #16427]
53954         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53955         handling only for numbers special also in the IEEE case.
53957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53961 2014-01-11  Allan McRae  <allan@archlinux.org>
53963         * po/bg.po: Update Bulgarian translation from translation project.
53965         * po/de.po: Update German translation from translation project.
53967 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53969         * sysdeps/generic/gcc-compat.h: New file.
53971 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53973         * benchtests/asin-inputs: Correct slow inputs.
53974         * benchtests/acos-inputs: Likewise.
53976 2014-01-10  Allan McRae  <allan@archlinux.org>
53978         * po:sv.po: Update Swedish translation from translation project.
53980         * po/vi.po: Update Vietnamese translation from translation project.
53982         * po/eo.po: Update Esperanto translation from translation project.
53984         * po/cs.po: Update Czech translation from translation project.
53986         * po/nl.po: Update Dutch translation from translation project.
53988         * po/pl.po: Update Polish translation from translation project.
53990         * po/ru.po: Update Russian translation from translation project.
53992         * po/uk.po: Update Ukrainian translation from translation project.
53994 2014-01-08  Brooks Moses  <bmoses@google.com>
53996         * elf/dl-load.c: Fix comment typo.
53998 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54000         * po/header.pot: Rename to...
54001         * po/pot.header: ... this.
54002         * po/Makefile: Use pot.header.
54004 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54005             Maxim Kuvyrkov  <maxim@kugelworks.com>
54007         [BZ #16394]
54008         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54009         SRC and DEST against LEN.
54011 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54013         [BZ #16414]
54014         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54015         implementation.
54016         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54018 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54022 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54024         [BZ #16408]
54025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54026         for large positive arguments.
54028 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54032         * math/auto-libm-test-in: Mark various tests with
54033         xfail-rounding:ldbl-128ibm.
54034         * math/auto-libm-test-out: Regenerated.
54036         [BZ #16407]
54037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54038         Increase overflow threshold.
54040 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54042         [BZ #14286]
54043         * stdio-common/vfprintf.c: Check for integer overflow.
54045 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54047         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54048         the first argument and return value of __tls_get_addr_internal.
54050 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54052         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54053         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54055 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54057         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54058         * sysdeps/s390/rtld-global-offsets.sym: New file.
54059         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54060         GLIBC_2.19 symbol.
54061         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54064         ... this.
54065         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54067         ... this.
54068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54069         Regenerate.
54070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54071         Regenerate.
54072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54073         halfs of GPRs for high_gprs contexts.
54074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54075         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54076         field.
54077         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54078         uc_flags field.
54079         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54080         64 bit versions:
54081         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54082         for high GPRs (uc_high_gprs) and for future extensions
54083         (__reserved).
54084         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54085         for future extensions (__reserved).
54086         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54087         64 bit versions:
54088         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54089         SC_HIGHGPRS offset definition.
54090         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54091         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54093         * Versions.def: Add GLIBC_2.19 for libpthread.
54094         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54095         siglongjmp for libpthread with GLIBC_2.19 symver.
54096         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54097         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54098         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54099         * sysdeps/s390/__longjmp.c: New file.
54100         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54101         * sysdeps/s390/longjmp.c: New file.
54102         * sysdeps/s390/setjmp.S: New file.
54103         * sysdeps/s390/sigjmp.S: New file.
54104         * sysdeps/s390/v1-longjmp.c: New file.
54105         * sysdeps/s390/v1-setjmp.h: New file.
54106         * sysdeps/s390/v1-sigjmp.c: New file.
54107         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54108         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54109         GLIBC_2.19 version.
54110         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54111         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54112         versioned symbols for ____longjmp_chk.
54113         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54114         Likewise.
54115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54116         Regenerate.
54117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54118         Regenerate.
54119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54120         Regenerate.
54121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54122         Regenerate.
54123         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54124         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54125         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54126         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54127         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54128         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54129         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54130         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54131         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54132         * sysdeps/s390/rtld-__longjmp.c: New file.
54133         * sysdeps/s390/rtld-setjmp.S: New file.
54135 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54137         [BZ #16400]
54138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54139         Return -__logl (x) for small positive arguments without evaluating
54140         a polynomial.
54142 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54144         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54145         Rename to ...
54146         (__ptrace_peeksiginfo_args): ... this.
54147         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54148         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54149         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54151 2014-01-06  Allan McRae  <allan@archlinux.org>
54153         * inet/netinet/in.h: Fix typo in comment.
54155 2014-01-05  Andreas Jaeger  <aj@suse.de>
54157         * sysdeps/i386/fpu/libm-test-ulps: Update.
54159 2014-01-05  Allan McRae  <allan@archlinux.org>
54161         * po/libc.pot: Regenerated.
54163         * malloc/memusagestat.c: Fix gettext call formatting.
54165 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54167         * nscd/nscd.c: Improve usage() output.
54169 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54171         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54172         * sysdeps/unix/sysv/linux/configure: Regenerated.
54173         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54174         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54176 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54178         [BZ #16390]
54179         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54180         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54182 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54184         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54185         extra tokens at end of #undef directive.
54186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54187         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54188         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54190 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54192         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54194         * math/auto-libm-test-in: Mark various tests with
54195         xfail-rounding:ldbl-128ibm.
54196         * math/auto-libm-test-out: Regenerated.
54198 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54200         [BZ #16386]
54201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54202         numbers with subnormal high part when calculating exponent.
54204         [BZ #16385]
54205         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54206         fabs.
54208         [BZ #16384]
54209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54210         M_LN2l.
54211         (__ieee754_acoshl): Use __log1pl not __log1p.
54213 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54215         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54216         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54217         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54218         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54219         (reused_arena, arena_get2): Convert to GNU style.
54220         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54221         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54222         (memalign_check, __malloc_set_state): Likewise.
54223         * malloc/mallocbug.c (main): Likewise.
54224         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54225         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54226         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54227         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54228         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54229         (__posix_memalign, malloc_info): Likewise.
54230         * malloc/malloc.h: Likewise.
54231         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54232         (mallochook, memalignhook, reallochook, mabort): Likewise.
54233         * malloc/mcheck.h: Likewise.
54234         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54235         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54236         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54237         * malloc/morecore.c (__default_morecore): Likewise.
54238         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54239         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54240         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54241         (print_and_abort): Likewise.
54242         * malloc/obstack.h: Likewise.
54243         * malloc/set-freeres.c (__libc_freeres): Likewise.
54244         * malloc/tst-mallocstate.c (main): Likewise.
54245         * malloc/tst-mtrace.c (main): Likewise.
54246         * malloc/tst-realloc.c (do_test): Likewise.
54248 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54250         [BZ #16366]
54251         * nscd/netgroupcache.c (do_notfound): New function.
54252         (addgetnetgrentX): Use it.
54254         [BZ # 16365]
54255         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54256         NSS_STATUS_NOTFOUND.
54258 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54260         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54263 2014-01-01  Allan McRae  <allan@archlinux.org>
54265         * scripts/update-copyrights: Update configure input file suffix.
54267         * NEWS: Update copyright year.
54268         * catgets/gencat.c: Likewise.
54269         * csu/version.c: Likewise.
54270         * debug/catchsegv.sh: Likewise.
54271         * debug/pcprofiledump.c: Likewise.
54272         * debug/xtrace.sh: Likewise.
54273         * elf/ldconfig.c: Likewise.
54274         * elf/ldd.bash.in: Likewise.
54275         * elf/pldd.c: Likewise.
54276         * elf/sotruss.ksh: Likewise.
54277         * elf/sprof.c: Likewise.
54278         * iconv/iconv_prog.c: Likewise.
54279         * iconv/iconvconfig.c: Likewise.
54280         * locale/programs/locale.c: Likewise.
54281         * locale/programs/localedef.c: Likewise.
54282         * login/programs/pt_chown.c: Likewise.
54283         * malloc/memusage.sh: Likewise.
54284         * malloc/memusagestat.c: Likewise.
54285         * malloc/mtrace.pl: Likewise.
54286         * manual/libc.texinfo: Likewise.
54287         * nscd/nscd.c: Likewise.
54288         * nss/getent.c: Likewise.
54289         * nss/makedb.c: Likewise.
54290         * posix/getconf.c: Likewise.
54291         * scripts/test-installation.pl: Likewise.
54293         * All files with FSF copyright notices: Update copyright dates
54294         using scripts/update-copyrights.
54295         * intl/plural.c: Regenerated.
54296         * locale/programs/charmap-kw.h: Likewise.
54297         * locale/programs/locfile-kw.h: Likewise.
54299 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54301         * sysdeps/unix/sysv/linux/configure: Regenerated.
54302         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54303         the linux/fanotify.h header.
54304         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54305         HAVE_LINUX_FANOTIFY_H is defined.
54307 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54309         * benchtests/cos-inputs: New inputs.
54310         * benchtests/sin-inputs: Likewise.
54312         * benchtests/atan-inputs: New inputs. Fix name of multiple
54313         precision fallback inputs.
54315         * benchtests/atanh-inputs: New inputs.
54316         * benchtests/tanh-inputs: Likewise.
54318         * benchtests/acosh-inputs: New inputs.
54319         * benchtests/asinh-inputs: Likewise.
54321         * benchtests/cosh-inputs: New inputs.
54322         * benchtests/sinh-inputs: Likewise.
54324         * benchtests/acos-inputs: Add more inputs.
54325         * benchtests/asin-inputs: Likewise.
54327 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54329         [BZ #16375]
54330         * manual/arith.texi: Fix spelling.
54331         * manual/charset.texi: Likewise.
54332         * manual/errno.texi: Likewise.
54333         * manual/filesys.texi: Likewise.
54334         * manual/lang.texi: Likewise.
54335         * manual/llio.texi: Likewise.
54336         * manual/locale.texi: Likewise.
54337         * manual/message.texi: Likewise.
54338         * manual/resource.texi: Likewise.
54339         * manual/search.texi: Likewise.
54340         * manual/setjmp.texi: Likewise.
54341         * manual/stdio.texi: Likewise.
54342         * manual/string.texi: Likewise.
54343         * manual/sysinfo.texi: Likewise.
54344         * manual/time.texi: Likewise.
54346 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54348         * po/sl.po: New file.
54350 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54352         * .gitignore: Add core/.gdbinit/.gdb_history.
54354 2013-12-27  Allan McRae  <allan@archlinux.org>
54356         [BZ #16369]
54357         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54358         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54360 2013-12-24  Brooks Moses  <bmoses@google.com>
54362         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54363         all compilers that claim C++98 compliance, not just GCC.
54364         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54365         Likewise.
54367 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54369         * NEWS: Restore accidentally deleted bug-fix entries.
54371 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54372             Ondřej Bílka  <neleai@seznam.cz>
54374         [BZ #15073]
54375         * malloc/malloc.c (_int_free): Perform sanity check only if we
54376         have_lock.
54378 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54380         [BZ #12986]
54381         * manual/stdio.texi (String Input Conversions): Clarify that character
54382         classes are not supported.
54384 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54388 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54390         [BZ #16337]
54391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54392         Calculate results for small negative arguments directly rather
54393         than using reflection formula with special underflow handling.
54395         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54396         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54397         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54398         (fchflags): Likewise.
54399         (revoke): Likewise.
54400         (setlogin): Likewise.
54401         (sigaltstack): Likewise.
54402         (wait4): Likewise.
54403         (sigblock): Remove.
54404         (sigsetmask): Likewise.
54405         (wait3): Likewise.
54406         (waitpid): Likewise.
54407         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54408         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54409         file.
54410         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54411         * sysdeps/unix/bsd/Makefile: ... here.
54412         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54413         * sysdeps/unix/bsd/Versions: ... here.
54414         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54415         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54416         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54417         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54418         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54419         * sysdeps/unix/bsd/sigblock.c: ... here.
54420         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54421         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54422         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54423         * sysdeps/unix/bsd/sigvec.c: ... here.
54424         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54425         * sysdeps/unix/bsd/tcdrain.c: ... here.
54426         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54427         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54428         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54429         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54430         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54431         * sysdeps/unix/bsd/wait.c: ... here.
54432         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54433         * sysdeps/unix/bsd/wait3.c: ... here.
54434         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54435         * sysdeps/unix/bsd/waitpid.c: ... here.
54437 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54439         [BZ #16356]
54440         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54441         round-to-nearest for [!USE_AS_EXPM1L].
54442         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54443         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54444         more tests of exp and exp10.  Expect some exp10 tests to miss
54445         exceptions or fail in directed rounding modes.
54446         * math/auto-libm-test-out: Regenerated.
54447         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54448         (exp10_test_tonearest): New function.
54449         (exp10_towardzero_test_data): New array.
54450         (exp10_test_towardzero): New function.
54451         (exp10_downward_test_data): New array.
54452         (exp10_test_downward): New function.
54453         (exp10_upward_test_data): New array.
54454         (exp10_test_upward): New function.
54455         (main): Call the new functions.
54456         * sysdeps/i386/fpu/libm-test-ulps: Update.
54457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54459 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54461         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54462         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54463         * math/auto-libm-test-out: Regenerated.
54464         * math/libm-test.inc (acosh_test_data): Add more tests.
54465         (atanh_test_data): Likewise.
54466         (ceil_test_data): Likewise.
54467         (copysign_test_data): Likewise.
54468         * sysdeps/i386/fpu/libm-test-ulps: Update.
54469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54471         * timezone/checktab.awk: Update from tzcode 2013i.
54472         * timezone/private.h: Likewise.
54473         * timezone/scheck.c: Likewise.
54474         * timezone/tzfile.h: Likewise.
54475         * timezone/tzselect.ksh: Likewise.
54476         * timezone/zdump.c: Likewise.
54477         * timezone/zic.c: Likewise.
54479         * math/auto-libm-test-in: Add tests of cpow.
54480         * math/auto-libm-test-out: Regenerated.
54481         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54482         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54483         mpc_cc_c.
54484         (func_calc_desc): Add mpc_cc_c union field.
54485         (test_functions): Add cpow.
54486         (special_fill_2pi): New function.
54487         (special_real_inputs): Add 2pi.
54488         (calc_generic_results): Handle mpc_cc_c.
54489         * sysdeps/i386/fpu/libm-test-ulps: Update.
54490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54492         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54493         csqrt, ctan and ctanh.
54494         * math/auto-libm-test-out: Regenerated.
54495         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54496         (TEST_COND_x86): Likewise.
54497         (ccos_test_data): Use AUTO_TESTS_c_c.
54498         (ccosh_test_data): Likewise.
54499         (cexp_test_data): Likewise.
54500         (clog_test_data): Likewise.
54501         (csqrt_test_data): Likewise.
54502         (ctan_test_data): Likewise.
54503         (ctan_tonearest_test_data): Likewise.
54504         (ctan_towardzero_test_data): Likewise.
54505         (ctan_downward_test_data): Likewise.
54506         (ctan_upward_test_data): Likewise.
54507         (ctanh_test_data): Likewise.
54508         (ctanh_tonearest_test_data): Likewise.
54509         (ctanh_towardzero_test_data): Likewise.
54510         (ctanh_downward_test_data): Likewise.
54511         (ctanh_upward_test_data): Likewise.
54512         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54513         mpc_c_c.
54514         (func_calc_desc): Add mpc_c_c union field.
54515         (FUNC_mpc_c_c): New macro.
54516         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54517         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54518         ctanh.
54519         (special_fill_min_subnorm_p120): New function.
54520         (special_real_inputs): Add min_subnorm_p120.
54521         (calc_generic_results): Handle mpc_c_c.
54522         * sysdeps/i386/fpu/libm-test-ulps: Update.
54523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54525 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54528         (do_sin_slow): New functions.
54529         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54530         (cslow2, csloww1, csloww2): Use the new functions.
54532         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54533         Use M to change sign of result instead of X.  Assume X is
54534         positive.
54535         (csloww1): Likewise.
54536         (__sin): Adjust.
54537         (__cos): Adjust.
54539         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54540         arguments A and DA.
54541         (__sin): Adjust.
54542         (__cos): Likewise.
54544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54545         (__cos): Likewise.
54546         (sloww1): Don't adjust sign of DX.
54547         (csloww1): Likewise.
54548         (sloww2): Use X directly and don't adjust sign of DX.
54549         (csloww2): Likewise.
54551 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54553         * math/auto-libm-test-in: Add tests of cabs and carg.
54554         * math/auto-libm-test-out: Regenerated.
54555         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54556         (carg_test_data): Likewise.
54557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54558         mpc_c_f.
54559         (func_calc_desc): Add mpc_c_f union field.
54560         (test_functions): Add cabs and carg.
54561         (calc_generic_results): Handle mpc_c_f.
54563         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54564         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54565         as a macro and a compat symbol.
54566         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54567         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54568         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54569         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54570         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54572         not use .hidden.
54573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54574         Likewise.
54575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54576         Likewise.
54577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54578         Likewise.
54579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54580         Likewise.
54581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54582         Likewise.
54583         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54584         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54585         from GLIBC_2.3.2.
54587 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54591 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54593         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54594         trailing whitespace removed.
54595         * scripts/config.guess: Update to version 2013-11-29.
54596         * scripts/config.sub: Update to version 2013-10-01.
54598         * math/auto-libm-test-in: Add tests of sincos.
54599         * math/auto-libm-test-out: Regenerated.
54600         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54601         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54602         mpfr_f_11.
54603         (func_calc_desc): Add mpfr_f_11 union field.
54604         (test_functions): Add sincos.
54605         (calc_generic_results): Handle mpfr_f_11.
54606         * sysdeps/i386/fpu/libm-test-ulps: Update.
54607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54609 2013-12-19  Andreas Schwab  <schwab@suse.de>
54611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54612         CALL_MCOUNT.
54613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54614         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54615         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54617 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54619         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54620         * sysdeps/i386/fpu/libm-test-ulps: Update.
54621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54623         [BZ #16293]
54624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54625         round-to-nearest mode when using frndint.
54626         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54627         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54628         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54629         Likewise.
54630         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54631         sinh test to fail.
54632         * math/auto-libm-test-out: Regenerated.
54633         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54634         (TEST_COND_x86): Likewise.
54635         (expm1_tonearest_test_data): New array.
54636         (expm1_test_tonearest): New function.
54637         (expm1_towardzero_test_data): New array.
54638         (expm1_test_towardzero): New function.
54639         (expm1_downward_test_data): New array.
54640         (expm1_test_downward): New function.
54641         (expm1_upward_test_data): New array.
54642         (expm1_test_upward): New function.
54643         (main): Run the new test functions.
54644         * sysdeps/i386/fpu/libm-test-ulps: Update.
54645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54647         * include/features.h: Update comment documenting feature test
54648         macros.  Mention _DEFAULT_SOURCE in comment.
54649         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54650         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54651         _BSD_SOURCE and _SVID_SOURCE.
54652         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54653         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54654         !_SVID_SOURCE]: Likewise.
54655         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54656         (__USE_POSIX_IMPLICITLY): Define.
54657         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54658         (_POSIX_SOURCE): Undefine and redefine.
54659         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54660         (_POSIX_C_SOURCE): Likewise.
54661         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54662         (Feature Test Macros): Update documentation of default features.
54664 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54666         * benchtests/Makefile: Add bench-strtok.
54667         * benchtests/bench-strtok.c: New file: strtok benchtest.
54669 2013-12-19  Allan McRae  <allan@archlinux.org>
54671         * manual/install.texi: Suppress menu for plain text output.
54672         * INSTALL: Regenerated.
54674 2013-12-18  Brooks Moses  <bmoses@google.com>
54676         [BZ #15846]
54677         * misc/getauxval.c: Include errno.h.
54678         (__getauxval): Set errno to ENOENT if the requested type is not
54679         found.
54680         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54681         don't declare with __attribute_const__.
54682         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54683         * manual/startup.texi: Document that getauxval sets errno.
54685 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54687         * math/auto-libm-test-in: Add tests of jn and yn.
54688         * math/auto-libm-test-out: Regenerated.
54689         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54690         (yn_test_data): Likewise.
54691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54692         mpfr_if_f.
54693         (func_calc_desc): Add mpfr_if_f union field.
54694         (FUNC_mpfr_if_f): New macro.
54695         (test_functions): Add jn and yn.
54696         (calc_generic_results): Assert type of second input for
54697         mpfr_ff_f.  Handle mpfr_if_f.
54698         (output_for_one_input_case): Disable all checking for arguments
54699         fitting floating-point types in case of an integer argument.
54700         * sysdeps/i386/fpu/libm-test-ulps: Update.
54701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54704         Don't expect fegetround reference in libm.so.
54706 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54708         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54709         $(config-cflags-nofma).
54711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54713         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54714         * math/auto-libm-test-out: Regenerated.
54716         [BZ #16338]
54717         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54718         to determine exponent and adjust argument to have exponent of -1.
54719         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54720         log2.
54721         * math/auto-libm-test-out: Regenerated.
54722         * sysdeps/i386/fpu/libm-test-ulps: Update.
54723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54725 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54727         * manual/probes.texi: Remove cases when per-thread arenas are
54728         disabled.
54730 2013-12-18  Andreas Schwab  <schwab@suse.de>
54732         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54733         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54734         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54735         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54736         * sysdeps/i386/i686/multiarch/Makefile: Update.
54737         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54739 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54741         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54742         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54744 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54746         [BZ #15968]
54747         Support TZ transition times < 00:00:00.
54748         This is needed for version-3 tz-format files; it supports time
54749         stamps past 2037 for America/Godthab (the only entry in the tz
54750         database for which this change is relevant).
54751         * manual/time.texi (TZ Variable): Document transition times
54752         from -167:59:59 through -00:00:01.
54753         * time/tzset.c (tz_rule): Time of day is now signed.
54754         (__tzset_parse_tz): Parse negative time of day.
54756         Document TZ transition times >= 25:00:00.
54757         * manual/time.texi (TZ Variable): Document transition times from
54758         25:00:00 through 167:59:59.  These are already supported, and this
54759         support will help with version-3 tz-format files.
54761         * manual/time.texi (TZ Variable): Modernize North America example
54762         to reflect current (i.e., 2007-and-later) daylight saving rules.
54764         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54766 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54768         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54769         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54772         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54773         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54774         * sysdeps/unix/bsd/clock.c: Likewise.
54775         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54776         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54777         * sysdeps/unix/bsd/init-posix.c: Likewise.
54778         * sysdeps/unix/bsd/poll.c: Likewise.
54779         * sysdeps/unix/bsd/ptsname.c: Likewise.
54780         * sysdeps/unix/bsd/seekdir.c: Likewise.
54781         * sysdeps/unix/bsd/setegid.c: Likewise.
54782         * sysdeps/unix/bsd/seteuid.c: Likewise.
54783         * sysdeps/unix/bsd/setgid.c: Likewise.
54784         * sysdeps/unix/bsd/setrgid.c: Likewise.
54785         * sysdeps/unix/bsd/setruid.c: Likewise.
54786         * sysdeps/unix/bsd/setsid.c: Likewise.
54787         * sysdeps/unix/bsd/setuid.c: Likewise.
54788         * sysdeps/unix/bsd/sigaction.c: Likewise.
54789         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54790         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54791         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54792         * sysdeps/unix/bsd/telldir.c: Likewise.
54793         * sysdeps/unix/bsd/times.c: Likewise.
54794         * sysdeps/unix/bsd/usleep.c: Likewise.
54796         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54797         ($(objpfx)libbsd-compat.a): Remove rule.
54799         * include/features.h (__FAVOR_BSD): Do not define.
54800         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54801         features conflicting with POSIX.
54802         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54803         (_BSD_SOURCE): Remove description of not being a subset of other
54804         feature test macros.
54805         * manual/job.texi (getpgrp): Do not document BSD version.
54806         (getpgid): Do not document by reference to BSD getpgrp.
54807         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54808         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54809         * signal/signal.h [__FAVOR_BSD]: Likewise.
54810         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54811         instead of making contents conditional on [__FAVOR_BSD].
54812         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54814 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54818 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54820         [BZ #16314]
54821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54822         values below 2**-450, not 2**-500.
54823         * math/auto-libm-test-in: Don't allow spurious underflow from
54824         hypot.
54825         * math/auto-libm-test-out: Regenerated.
54827         [BZ #16316]
54828         [BZ #16330]
54829         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54830         values of ha and hb and sort them after adjusting subnormal
54831         arguments.
54832         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54833         Likewise.
54834         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54835         values of ea and eb and sort them after adjusting subnormal
54836         arguments.
54837         * math/auto-libm-test-in: Do not expect some hypot tests of
54838         subnormals to fail.  Add more hypot tests.
54839         * math/auto-libm-test-out: Regenerated.
54841 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54843         [BZ #13304]
54844         * sysdeps/sh/s_fma.c: New file.
54845         * sysdeps/sh/s_fmaf.c: New file.
54846         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54847         version.
54848         * sysdeps/sh/Implies: Add sh/soft-fp.
54850 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54852         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54853         level of indirection to members `objname', `errstring', `malloced'.
54854         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54855         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54856         it as the __longjmp argument (just pass 1 instead).
54857         (_dl_catch_error): Initialize C with argument pointers and address of
54858         volatile local ERRCODE rather than copying values out of C at return.
54860 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54862         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54863         * math/auto-libm-test-out: Regenerated.
54864         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54865         (hypot_test_data): Likewise.
54866         (pow_test_data): Likewise.
54867         (pow_tonearest_test_data): Likewise.
54868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54869         mpfr_ff_f.
54870         (func_calc_desc): Add mpfr_ff_f union field.
54871         (FUNC_mpfr_ff_f): New macro.
54872         (test_functions): Add atan2, hypot and pow.
54873         (special_fill_min): New function.
54874         (special_fill_minus_min): Likewise.
54875         (special_fill_min_subnorm): Likewise.
54876         (special_fill_minus_min_subnorm): Likewise.
54877         (special_real_inputs): Add min, -min, min_subnorm and
54878         -min_subnorm.
54879         (calc_generic_results): Handle mpfr_ff_f.
54880         * sysdeps/i386/fpu/libm-test-ulps: Update.
54881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54883 2013-12-16  Will Newton  <will.newton@linaro.org>
54885         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54886         (Aligned Memory Blocks): Add documentation for aligned_alloc
54887         and suggest it as an alternative to posix_memalign.
54888         (Hooks for Malloc): Document __memalign_hook is also called
54889         for aligned_alloc.  (Summary of Malloc): Add summary for
54890         aligned alloc.  Document __memalign_hook is also called
54891         for aligned_alloc.
54893 2013-12-16  Will Newton  <will.newton@linaro.org>
54895         * manual/memory.texi (Malloc Examples): Clarify default
54896         alignment documentation.  Suggest posix_memalign rather
54897         than memalign or valloc.
54898         (Aligned Memory Blocks): Remove suggestion to use memalign
54899         or valloc.  Remove obsolete comment about BSD.
54900         Document memalign errno values and mark the function obsolete.
54901         Document posix_memalign returned error codes.  Mark valloc
54902         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54903         called for posix_memalign and valloc.
54904         (Summary of Malloc): Add posix_memalign to function summary.
54905         __memalign_hook is also called for posix_memalign and valloc.
54907 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54909         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54910         TAYLOR_SIN.
54911         (__sin): Adjust.
54912         (__cos): Likewise.
54913         (sloww): Use mynumber union.  Expand ternary operator into
54914         if-else statements.
54915         (cslow): use mynumber union.
54917 2013-12-16  Allan McRae  <allan@archlinux.org>
54919         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54920         * configure: Regenerated.
54922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54924         [BZ #14120]
54925         * configure.ac: Added --enable-maintainer-mode. Check for
54926         autoconf when enabled.
54927         * configure: Regenerated.
54929         * nscd/nscd.service: New file.
54930         * nscd/nscd.tmpfiles: New file.
54932 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54934         [BZ #12100]
54935         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54936         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54937         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54938         (strstr): Add __strstr_sse2_unaligned ifunc.
54939         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54940         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54941         (strcasestr): Remove __strcasestr_sse42 ifunc.
54942         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54946 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54948         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54949         * sysdeps/sh/bits/fenv.h: ... here.
54950         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54952 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54954         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54957         hypotf multiarch implementations.
54958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54961         multiarch hypot for PPC64.
54962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54965         multiarch hypotf for PPC64.
54967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54968         modff multiarch implementations.
54969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54972         multiarch modf for PPC64.
54973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54976         multiarch modff for PPC64.
54978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54979         and logl multiarch implementations.
54980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54983         multiarch logb for PPC64.
54984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54987         multiarch logb for PPC64.
54988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54991         multiarch logb for PPC64.
54993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54994         isinff multiarch implementation.
54995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54996         file.
54997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54999         multiarch isinf for PPC64.
55000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55001         file.
55002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55003         multiarch isinff for PPC64.
55005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55006         finitef multiarch implementation.
55007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55008         file.
55009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55011         multiarch finite for PPC64.
55012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55013         file.
55014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55015         multiarch finitef for PPC64.
55017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55018         lrint multiarch implementation.
55019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55020         file.
55021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55023         multiarch llrint for PPC64.
55024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55025         multiarch lrint for PPC64.
55027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55028         copysignf multiarch implementation.
55029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55030         file.
55031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55032         file.
55033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55034         multiarch copysign for PPC64.
55035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55036         multiarch copysignf for PPC64.
55038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55039         multiarch implementation.
55040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55041         file.
55042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55043         file.
55044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55045         file.
55046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55047         file.
55048         multiarch llround for PPC64.
55049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55050         multiarch trunc for PPC64.
55051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55052         multiarch truncf for PPC64.
55054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55055         multiarch implementation.
55056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55057         file.
55058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55059         file.
55060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55061         file.
55062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55063         file.
55064         multiarch llround for PPC64.
55065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55066         multiarch round for PPC64.
55067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55068         multiarch roundf for PPC64.
55070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55071         multiarch implementation.
55072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55073         file.
55074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55075         file.
55076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55077         file.
55078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55079         file.
55080         multiarch llround for PPC64.
55081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55082         multiarch floor for PPC64.
55083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55084         multiarch floorf for PPC64.
55086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55087         multiarch implementation.
55088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55089         file.
55090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55091         file.
55092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55093         file.
55094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55095         file.
55096         multiarch llround for PPC64.
55097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55098         multiarch ceil for PPC64.
55099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55100         multiarch ceilf for PPC64.
55102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55103         multiarch implementation.
55104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55105         file.
55106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55107         file.
55108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55109         file.
55110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55111         multiarch llround for PPC64.
55112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55113         multiarch lround for PPC64.
55115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55116         multiarch implementation.
55117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55120         file.
55121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55124         multiarch isnan for PPC64.
55125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55126         multiarch isnanf for PPC64.
55128         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55129         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55130         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55131         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55132         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55135         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55136         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55141         multiarch implementations.
55142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55143         (__libc_ifunc_impl_list): Likewise.
55144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55147         multiarch stpcpy for PPC64.
55149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55150         multiarch implementations.
55151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55152         (__libc_ifunc_impl_list): Likewise.
55153         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55154         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55155         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55156         multiarch strcpy for PPC64.
55158         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55159         redefine function name.
55160         (_wordcopy_fwd_dest_aligned): Likewise.
55161         (_wordcopy_bwd_aligned): Likewise.
55162         (_wordcopy_bwd_dest_aligned): Likewise.
55163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55164         multiarch implementations.
55165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55166         (__libc_ifunc_impl_list): Likewise.
55167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55171         multiarch wcscpy for PPC64.
55173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55174         multiarch implementations.
55175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55176         (__libc_ifunc_impl_list): Likewise.
55177         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55181         multiarch wcscpy for PPC64.
55183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55184         multiarch implementations.
55185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55186         (__libc_ifunc_impl_list): Likewise.
55187         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55190         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55191         multiarch wcsrchr for PPC64.
55193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55194         multiarch implementations.
55195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55196         (__libc_ifunc_impl_list): Likewise.
55197         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55198         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55199         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55200         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55201         multiarch wcschr for PPC64.
55203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55204         multiarch implementations.
55205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55206         (__libc_ifunc_impl_list): Likewise.
55207         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55209         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55210         multiarch strchrnul for PPC64.
55212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55213         implementations.
55214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55215         (__libc_ifunc_impl_list): Likewise.
55216         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55217         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55218         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55219         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55220         strchr for PPC64.
55222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55223         implementations.
55224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55225         (__libc_ifunc_impl_list): Likewise.
55226         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55229         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55230         strncmp for PPC64.
55232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55233         multiarch implementations.
55234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55235         (__libc_ifunc_impl_list): Likewise.
55236         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55237         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55238         strncasecmp for PPC64.
55239         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55240         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55241         multiarch strncasecmp_l for PPC64.
55243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55244         multiarch implementations.
55245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55246         (__libc_ifunc_impl_list): Likewise.
55247         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55249         multiarch strcasecmp for PPC64.
55250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55251         file.
55252         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55253         multiarch strcasecmp_l for PPC64.
55255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55256         implementations.
55257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55258         (__libc_ifunc_impl_list): Likewise.
55259         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55260         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55261         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55262         strnlen for PPC64.
55264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55265         implementations.
55266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55267         (__libc_ifunc_impl_list): Likewise.
55268         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55269         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55270         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55271         strlen for PPC64.
55273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55274         implementations.
55275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55276         (__libc_ifunc_impl_list): Likewise.
55277         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55278         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55280         rawmemrchr for PPC64.
55282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55283         implementation.
55284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55285         (__libc_ifunc_impl_list): Likewise.
55286         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55287         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55288         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55289         memrchr for PPC64.
55291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55292         implementation.
55293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55294         (__libc_ifunc_impl_list): Likewise.
55295         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55296         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55297         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55298         memchr for PPC64.
55300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55301         implementation.
55302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55303         (__libc_ifunc_impl_list): Likewise.
55304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55306         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55307         mempcpy for PPC64.
55309         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55310         avoid cretion of __bzero symbol.
55311         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55312         Likewise.
55313         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55314         Likewise.
55315         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55316         Likewise.
55317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55318         multiarch implementations.
55319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55320         (__libc_ifunc_impl_list): Likewise.
55321         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55324         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55325         bzero for PPC32.
55326         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55327         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55328         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55329         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55330         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55331         memset for PPC64.
55332         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55334         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55336         implementations.
55337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55338         (__libc_ifunc_impl_list): Likewise.
55339         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55340         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55342         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55343         memcmp for PPC64.
55345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55346         multiarch for POWER/PPC64.
55347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55348         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55355         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55356         memcpy for PPC64.
55358         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55359         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55360         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55361         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55362         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55363         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55364         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55365         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55366         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55367         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55368         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55369         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55370         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55371         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55372         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55381 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55383         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55385 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55387         * benchtests/Makefile (bench): Add exp2 and log2.
55388         (LDLIBS-bench-exp2): Add -lm.
55389         (LDLIBS-bench-log2): Likewise.
55390         * benchtests/exp2-inputs: New inputs file.
55391         * benchtests/log2-inputs: New inputs file.
55392         * benchtests/log-inputs: Add new inputs.
55393         * benchtests/tan-inputs: Likewise.
55395 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55397         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55398         definition...
55399         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55400         (csloww2): ... from here.
55402         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55403         instead of structures.
55404         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55405         (POLYNOMIAL): Likewise.
55406         (TAYLOR_SLOW): Likewise.
55407         (__sin): Likewise.
55408         (__cos): Likewise.
55409         (slow1): Likewise.
55410         (slow2): Likewise.
55411         (sloww): Likewise.
55412         (sloww1); Likewise.
55413         (sloww2): Likewise.
55414         (bsloww1): Likewise.
55415         (bsloww2): Likewise.
55416         (cslow2): Likewise.
55417         (csloww): Likewise.
55418         (csloww1): Likewise.
55419         (csloww2): Likewise.
55421 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55423         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55424         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55425         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55426         * malloc/hooks.c (realloc_check): Likewise.
55428         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55429         * malloc/arena.c: Remove PER_THREAD conditional.
55430         [!PER_THREAD]: Remove code.
55431         (ptmalloc_unlock_all2): Likewise.
55432         (ptmalloc_init): Likewise.
55433         (_int_new_arena): Likewise.
55434         (arena_get2): Likewise.
55435         * malloc/hooks.c (__malloc_get_state): Likewise.
55436         (__malloc_set_state): Likewise.
55437         * malloc/malloc.c: Likewise.
55438         (struct malloc_state): Likewise.
55439         (struct malloc_par): Likewise.
55440         (__libc_realloc): Likewise.
55441         (__libc_mallopt): Likewise.
55443 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55445         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55447 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55449         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55450         macro to a function.  Check for zero perturb_byte.
55451         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55453         * malloc/malloc.c: (force_reg): Remove.
55454         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55455         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55456         force_reg by atomic_forced_read.
55457         * malloc/arena.c (ptmalloc_init): Likewise.
55458         * malloc/hooks.c (top_check): Likewise.
55460 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55464 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55468 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55470         * math/auto-libm-test-in: Add tests of lgamma.
55471         * math/auto-libm-test-out: Regenerated.
55472         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55473         (M_LOG_2_SQRT_PIl): Likewise.
55474         (lgamma_test_data): Use AUTO_TESTS_f_f1.
55475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55476         mpfr_f_f1.
55477         (func_calc_desc): Add mpfr_f_f1 union field.
55478         (ARGS1): New macro.
55479         (ARGS2): Likewise.
55480         (ARGS3): Likewise.
55481         (ARGS4): Likewise.
55482         (RET1): Likewise.
55483         (RET2): Likewise.
55484         (CALC): Likewise.
55485         (FUNC): Likewise.
55486         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55487         (test_functions): Add lgamma.
55488         (calc_generic_results): Handle mpfr_f_f1.
55489         * sysdeps/i386/fpu/libm-test-ulps: Update.
55490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55492 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55494         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55495         __mpn_add_n for PowerPC64/POWER7.
55496         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55497         __mpn_sub_n for PowerPC64/POWER7.
55499         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55500         __mpn_addmul_1 for PowerPC64.
55501         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55502         __mpn_submul_1 for PowerPC64.
55503         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55504         for PowerPC64.
55505         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55506         for PowerPC64.
55508 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
55510         [BZ #15089]
55511         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55513 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55515         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55517         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55518         add multiarch folders.
55519         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55520         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55521         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55522         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55523         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55524         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55525         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55526         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55527         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55528         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55529         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55538         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55540         New file.
55541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55542         New file.
55543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55544         multiarch __ieee754_hypot for PowerPC32.
55545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55546         New file.
55547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55548         New file.
55549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55550         multiarch __ieee754_hypotf for PowerPC32.
55552         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55553         long_double_symbol only if __logbl is defined.
55554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55555         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55557         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55559         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55561         path for implementation.
55562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55565         logb, and logbl multiarch implementations for PowerPC32.
55566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55567         file.
55568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55569         file.
55570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55571         multiarch logb for PowerPC32.
55572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55573         file.
55574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55575         file.
55576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55577         multiarch logbf for PowerPC32.
55578         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55580         file.
55581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55582         multiarch logbl implementation for PowerPC32.
55584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55585         and modff multiarch implementations.
55586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55587         New file.
55588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55589         New file.
55590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55591         multiarch modf for PowerPC32.
55592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55593         New file.
55594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55595         New file.
55596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55597         multiarch modff for PowerPC32.
55599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55600         and lrintf multiarch implementations.
55601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55602         New file.
55603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55604         New file.
55605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55606         multiarch lrint for PowerPC32.
55607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55608         file: multiarch lrintf for PowerPC32.
55610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55611         and lroundf multiarch implementations.
55612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55613         New file.
55614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55615         New file.
55616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55617         New file.
55618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55619         multiarch lround for PowerPC32.
55620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55621         file: multiarch lroundf for PowerPC32.
55623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55624         copysign and copysignf multiarch implementations.
55625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55626         New file.
55627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55628         New file.
55629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55630         file: multiarch copysign for PowerPC32.
55631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55632         file: multiarch copysignf for PowerPC32.
55634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55635         and truncf multiarch implementations.
55636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55637         New file.
55638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55639         file.
55640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55641         multiarch trunc for PowerPC32.
55642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55643         New file.
55644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55645         New file.
55646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55647         multiarch truncf for PowerPC32.
55649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55650         and roundf multiarch implementations.
55651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55652         New file.
55653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55654         file.
55655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55656         multiarch round for PowerPC32.
55657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55658         New file.
55659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55660         New file.
55661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55662         multiarch roundf for PowerPC32.
55664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55665         and floorf multiarch implementations.
55666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55667         New file.
55668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55669         file.
55670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55671         multiarch floor for PowerPC32.
55672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55673         New file.
55674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55675         New file.
55676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55677         multiarch floorf for PowerPC32.
55679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55680         and ceilf multiarch implementations.
55681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55682         New file.
55683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55684         file.
55685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55686         multiarch ceil for PowerPC32.
55687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55688         New file.
55689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55690         file.
55691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55692         multiarch ceilf for PowerPC32.
55694         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55695         is defined.
55696         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55697         FINITEF is defined.
55698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55699         and finitef multiarch implementations.
55700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55701         New file.
55702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55703         file.
55704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55705         multiarch finite for PowerPC32.
55706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55707         New file.
55708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55709         file: multiarch finitef for PowerPC32.
55711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55712         and isinff multiarch implementations.
55713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55714         file.
55715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55716         file.
55717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55718         multiarch isinf for PowerPC32.
55719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55720         New file.
55721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55722         multiarch isinff for PowerPC32.
55724         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55725         alias when __isnan is defined.
55726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55727         and isnanf multiarch implementations.
55728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55729         file.
55730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55731         file.
55732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55733         file.
55734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55735         file.
55736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55737         multiarch isnan for PowerPC32.
55738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55739         New file.
55740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55741         New file.
55742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55743         multiarch isnanf for PowerPC32.
55745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55746         and sqrtf multiarch implementations.
55747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55748         file.
55749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55750         file.
55751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55752         multiarch sqrt for PowerPC32.
55753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55754         file.
55755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55756         file.
55757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55758         multiarch sqrtf for PowerPC32.
55760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55761         and llroundf multiarch implementations.
55762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55763         New file.
55764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55765         New file.
55766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55767         New file.
55768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55769         file: multiarch llround for PowerPC32.
55770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55771         file: multiarch llroundf for PowerPC32.
55773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55774         multiarch PowerPC32 fpu implementations.
55775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55776         New file.
55777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55778         New file.
55779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55780         multiarch llrint for PowerPC32.
55781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55782         New file.
55783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55784         New file.
55785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55786         file.
55788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55791         file.
55792         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55793         file.
55794         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55795         file.
55796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55797         multiarch wordcopy for PPC32.
55798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55799         wordcopy objects.
55800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55801         (__libc_ifunc_impl_list): Likewise.
55802         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55803         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55805         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55806         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55807         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55809         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55811         file.
55812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55813         file.
55814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55815         file.
55816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55817         multiarch wcscpy for PPC32.
55818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55819         multiarch objects.
55820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55821         (__libc_ifunc_impl_list): Likewise.
55822         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55823         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55824         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55825         sysdeps/powerpc/power6/wcscpy.c.
55827         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55829         file.
55830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55831         file.
55832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55833         file.
55834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55835         multiarch wcsrchr for PPC32.
55836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55837         multiarch objects.
55838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55839         (__libc_ifunc_impl_list): Likewise.
55840         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55841         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55842         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55843         sysdeps/powerpc/power6/wcsrchr.c.
55845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55846         file.
55847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55848         file.
55849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55851         multiarch wcschr for PPc32.
55852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55853         multiarch objects.
55854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55855         (__libc_ifunc_impl_list): Likewise.
55856         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55857         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55858         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55859         sysdeps/powerpc/power6/wcschr.c.
55861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55863         file.
55864         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55865         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55866         file: multiarch strchr for PPC32.
55867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55868         multiarch objects.
55869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55870         (__libc_ifunc_impl_list): Likewise.
55872         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55873         name.
55874         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55875         file.
55876         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55877         file.
55878         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55879         multiarch strchrnul for PPC32.
55880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55881         multiarch objects.
55882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55883         (__libc_ifunc_impl_list): Likewise.
55885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55886         file.
55887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55888         multiarch strncasecmp for PPC32.
55889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55890         file.
55891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55892         multiarch strncasecmp_l for PPC32.
55893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55894         strncasecmp multiarch objects.
55895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55896         (__libc_ifunc_impl_list): Likewise.
55898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55899         file.
55900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55901         multiarch strncasecmp for PPC32.
55902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55903         New file.
55904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55905         multiarch strcasecmp_l for PPC32.
55906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55907         multiarch objects.
55908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55909         (__libc_ifunc_impl_list): Likewise.
55911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55912         file.
55913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55914         file.
55915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55916         multiarch strncmp for PPC32.
55917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55918         multiarch objects.
55919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55920         (__libc_ifunc_impl_list): Likewise.
55922         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55923         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55924         file.
55925         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55926         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55928         multiarch objects.
55929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55930         (__libc_ifunc_impl_list): Likewise.
55932         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55933         file.
55934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55935         file.
55936         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55938         multiarch objects.
55939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55940         (__libc_ifunc_impl_list): Likewise.
55942         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55943         file.
55944         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55945         file.
55946         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55947         multiarch rawmemchr for PPC32.
55948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55949         multiarch objects.
55950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55951         (__libc_ifunc_impl_list): Likewise.
55953         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55954         file.
55955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55956         file.
55957         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55958         file: memrchr multiarch for PPC32.
55959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55960         multiarch objects.
55961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55962         (__libc_ifunc_impl_list): Likewise.
55964         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55966         file.
55967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55969         multiarch memchr for PPC32.
55970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55971         multiarch objects.
55972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55973         (__libc_ifunc_impl_list): Likewise.
55975         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55977         file.
55978         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55979         file.
55980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55981         file: multiarch mempcpy for PPC32.
55982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55983         multiarch objects.
55984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55985         (__libc_ifunc_impl_list): Likewise.
55987         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55991         multiarch bzero for PPC32.
55992         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55993         file.
55994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55995         file.
55996         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55997         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55998         file: multiarch memset for PPC32.
55999         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56001         memset multiarch objects.
56002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56003         (__libc_ifunc_impl_list): Likewise.
56005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56006         file.
56007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56009         memcmp for PPC32.
56010         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56012         multiarch objects.
56013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56014         (__libc_ifunc_impl_list): Likewise.
56016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56019         file.
56020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56021         file.
56022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56023         file.
56024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56025         multiarch memcpy for PPC32.
56026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56027         multiarch objects.
56028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56029         (__libc_ifunc_impl_list): Likewise.
56031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56032         support multiarch for POWER/PPC32.
56033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56034         Likewise.
56035         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56037         Implies file to make multiarch folder appers before the fpu and
56038         default folder for power4 configuration.
56040 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56042         * scripts/bench.pl: Append volatile keyword to type.
56044 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56046         * sysdeps/sh/sotruss-lib.c: New file.
56047         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56049 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56053 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56055         [BZ #6810]
56056         * math/w_tgamma.c: Include <errno.h>.
56057         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56058         * math/w_tgammaf.c: Include <errno.h>.
56059         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56060         * math/w_tgammal.c: Include <errno.h>.
56061         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56062         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56063         underflow.  Add more tgamma tests.
56064         * math/auto-libm-test-out: Regenerated.
56065         * sysdeps/i386/fpu/libm-test-ulps: Update.
56066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56068         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56069         sin, sinh, tan, tanh, tgamma, y0 and y1.
56070         * math/auto-libm-test-out: Regenerated.
56071         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56072         (TEST_COND_x86): Likewise.
56073         (M_E2l): Remove macro.
56074         (M_E3l): Likewise.
56075         (M_2_SQRT_PIl): Likewise.
56076         (M_SQRT_PIl): Likewise.
56077         (M_1_DIV_El): Likewise.
56078         (log_test_data): Use AUTO_TESTS_f_f.
56079         (log10_test_data): Likewise.
56080         (log1p_test_data): Likewise.
56081         (log2_test_data): Likewise.
56082         (sin_test_data): Likewise.
56083         (sin_tonearest_test_data): Likewise.
56084         (sin_towardzero_test_data): Likewise.
56085         (sin_downward_test_data): Likewise.
56086         (sin_upward_test_data): Likewise.
56087         (sinh_test_data): Likewise.
56088         (sinh_tonearest_test_data): Likewise.
56089         (sinh_towardzero_test_data): Likewise.
56090         (sinh_downward_test_data): Likewise.
56091         (sinh_upward_test_data): Likewise.
56092         (tan_test_data): Likewise.
56093         (tan_tonearest_test_data): Likewise.
56094         (tan_towardzero_test_data): Likewise.
56095         (tan_downward_test_data): Likewise.
56096         (tan_upward_test_data): Likewise.
56097         (tanh_test_data): Likewise.
56098         (tgamma_test_data): Likewise.
56099         (y0_test_data): Likewise.
56100         (y1_test_data): Likewise.
56101         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56102         (special_real_inputs): Add pi/4.
56103         * sysdeps/i386/fpu/libm-test-ulps: Update.
56104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56106 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56108         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56109         "longjmp_target" static probes.
56110         (__longjmp): Rename to __longjmp_symbol.
56111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56112         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56113         on which longjmp to generate.
56114         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56116         probe.
56117         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56118         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56119         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56120         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56121         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56122         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56124         __longjmp_symbol based on which __longjmp to generate.
56125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56126         probe.
56127         (setjmp): Rename to setjmp_symbol.
56128         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56129         (_setjmp): Rename to _setjmp_symbol.
56130         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56131         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56132         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56133         which setjmp to generate.
56134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56135         "longjmp_target" static probes.
56137 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56139         * benchtests/README: Add note about output arguments.
56140         * benchtests/bench-sincos.c: Remove file.
56141         * benchtests/sincos-inputs: New file.
56142         * scripts/bench.pl: Identify output arguments and define
56143         static variables for them.
56145         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56147         [BZ #15941]
56148         * Makefile (INSTALL): Add install-plain.texi as the primary
56149         dependency.
56150         * manual/install-plain.texi: New file.
56151         * manual/install.texi: Include node directive only for
56152         non-plaintext output.
56154 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56156         * stdlib/longlong.h: Update from GCC.
56158         [BZ #6807]
56159         [BZ #15901]
56160         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56161         * math/w_j0f.c (y0f): Likewise.
56162         * math/w_j0l.c (__y0l): Likewise.
56163         * math/w_j1.c (y1): Likewise.
56164         * math/w_j1f.c (y1f): Likewise.
56165         * math/w_j1l.c (__y1l): Likewise.
56166         * math/w_jn.c (yn): Likewise.
56167         * math/w_jnf.c (ynf): Likewise.
56168         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56169         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56170         value for Bessel function domain errors outside _SVID_ mode.
56171         Adjust sign of return value for yn (negative integer, 0).
56172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56173         by zero in return for negative x and set sign appropriately for
56174         negative n.
56175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56176         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56177         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56178         expectations in error cases.
56179         (y1_test_data): Likewise.
56180         (yn_test_data): Likewise.
56181         * sysdeps/i386/fpu/libm-test-ulps: Update.
56182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56184 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56186         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56187         "64" to "64-v1".  Add "64-v2".
56188         (abi-64-options): Rename to ...
56189         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56190         (abi-64-condition): Rename to ...
56191         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56192         (abi-64-ld-soname): Rename to ...
56193         (abi-64-v1-ld-soname): ... this.
56194         (abi-64-v2-options): Define.
56195         (abi-64-v2-condition): Likewise.
56196         (abi-64-v2-ld-soname): Likewise.
56197         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56198         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56203 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56204             Alan Modra  <amodra@gmail.com>
56206         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56207         New versions for use with the ELFv2 ABI.
56208         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56209         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56210         declaration.
56211         (struct La_ppc64v2_retval): Likewise.
56212         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56213         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56214         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56215         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56216         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56218         Do not save or restore CR.
56219         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56220         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56221         return values for ELFv2 ABI.  Fix location of FPR return registers.
56222         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56223         updated values for _CALL_ELF == 2.
56224         (La_regs, La_retval, int_retval): Likewise.
56226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56228         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56229         (FRAME_MIN_SIZE_PARM): Likewise.
56230         (FRAME_BACKCHAIN): Likewise.
56231         (FRAME_CR_SAVE): Likewise.
56232         (FRAME_LR_SAVE): Likewise.
56233         (FRAME_TOC_SAVE): Likewise.
56234         (FRAME_PARM_SAVE): Likewise.
56235         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56236         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56237         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56238         (call_mcount_parm_offset): New macro.
56239         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56240         (PROF): Use symbolic stack frame offsets.
56241         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56243         Redefine in terms of FRAME_MIN_SIZE.
56244         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56245         (_dl_profile_resolve): Likewise.  Update comment.
56246         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56247         symbols stack frame offsets.
56248         (__sigsetjmp): Likewise.
56249         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56250         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56251         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56252         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56255         (FRAME_BACKCHAIN): Remove.
56256         (FRAME_CR_SAVE): Likewise.
56257         (FRAME_LR_SAVE): Likewise.
56258         (FRAME_COMPILER_DW): Likewise.
56259         (FRAME_LINKER_DW): Likewise.
56260         (FRAME_TOC_SAVE): Likewise.
56261         (FRAME_PARM_SAVE): Likewise.
56262         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56263         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56264         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56266         (CHECK_SP): Use symbolic stack frame offsets.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56268         zone" instead of caller's parameter save area for temp storage.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56270         Likewise.  Also, use symbolic stack frame offsets.
56271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56272         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56273         our own stack frame instead of the caller's.
56274         (__socket): Use symbolic stack frame offsets.
56276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56277             Alan Modra  <amodra@gmail.com>
56279         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56280         Define.
56281         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56282         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56283         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56284         New function.
56285         (elf_machine_fixup_plt): Call it.
56286         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56287         reloc arguments.
56288         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56289         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56290         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56291         r2 before calling target.
56293 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56294             Alan Modra  <amodra@gmail.com>
56296         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56297         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56298         versions of macros to support ELFv2 ABI.
56299         (LOCALENTRY): New macro.
56300         (ENTRY, EALIGN): Use it.
56301         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56302         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56303         fall through into ENTRY entry point.
56304         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56305         Only define if _CALL_ELF != 2.
56307         (elf_machine_matches_host): Verify ABI version matches.
56308         (RTLD_START): Use LOCALENTRY.
56309         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56310         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56311         (PLT_ENTRY_WORDS): New macro.
56312         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56313         (elf_machine_runtime_setup): Support ELFv2 ABI.
56314         (elf_machine_fixup_plt): Likewise.
56315         (elf_machine_plt_conflict): Likewise.
56316         (resolve_ifunc): Likewise.
56317         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56319         Likewise.
56320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56321         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56323         (makecontext): Support ELFv2 ABI.
56324         * elf/elf.h (EF_PPC64_ABI): Define.
56326 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56328         * sysdeps/powerpc/powerpc64/sysdep.h
56329         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56330         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56331         (ENTRY) [ASSEMBLER]: ... but instead here ...
56332         (EALIGN) [ASSEMBLER]: ... and here.
56333         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56334         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56335         (ENTRY_2) [!ASSEMBLER]: Use it.
56336         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56337         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56339         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56340         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56342         Use PPC64_LOAD_FUNCPTR.
56344         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56346 2013-12-04  Alan Modra  <amodra@gmail.com>
56348         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56349         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56350         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56351         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56354         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56355         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56356         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56357         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56358         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56360 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56363         (__makecontext): Fix incorrect CFI when backtracing out of
56364         context created via makecontext.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56366         (__setcontext): Fix incorrect CFI during switch to new context.
56367         (__novec_setcontext): Likewise.
56369 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56371         [BZ #4772]
56372         * time/strptime_l.c (__strptime_internal): Allow modifiers
56373         in strptime.
56374         * time/tst-strptime.c (day_tests): Add testcase.
56376 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56378         * scripts/bench.pl: Skip over blank lines.
56380 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56382         [BZ #926]
56383         * manual/time.texi (Calendar Time): Clarify what timezone functions
56384         use.
56386 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56390 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56392         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56393         implementation.
56394         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56395         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56396         * debug/memset_chk.c (__memset_chk): Likewise.
56397         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56398         * debug/strncpy_chk.c: Likewise.
56400 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56402         [BZ #15268]
56403         [BZ #15425]
56404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56405         (__ieee754_exp): For possibly underflowing results, check size of
56406         result and force underflow exception if required.
56407         * math/auto-libm-test-in: Add more tests of exp.
56408         * math/auto-libm-test-out: Regenerated.
56409         * sysdeps/i386/fpu/libm-test-ulps: Update.
56410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56412         [BZ #16283]
56413         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56414         * math/w_exp2f.c (__exp2f): Likewise.
56415         * math/w_exp2l.c (__exp2l): Likewise.
56416         * math/auto-libm-test-in: Do not allow missing errno on exp2
56417         underflow.
56418         * math/auto-libm-test-out: Regenerated.
56420 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56422         [BZ #16274]
56423         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56424         handle filename validation.
56425         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56426         (do_open): Delete.
56428 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56430         [BZ #6786]
56431         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56432         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56433         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56434         <float.h>.
56435         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56437         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56438         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56439         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56441         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56442         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56443         Add more erfc tests.
56444         * math/auto-libm-test-out: Regenerated.
56445         * sysdeps/i386/fpu/libm-test-ulps: Update.
56446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56448         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56449         exp2, expm1, j0 and j1.
56450         * math/auto-libm-test-out: Regenerated.
56451         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56452         (erfc_test_data): Likewise.
56453         (exp_test_data): Likewise.
56454         (exp_tonearest_test_data): Likewise.
56455         (exp_towardzero_test_data): Likewise.
56456         (exp_downward_test_data): Likewise.
56457         (exp_upward_test_data): Likewise.
56458         (exp10_test_data): Likewise.
56459         (exp2_test_data): Likewise.
56460         (expm1_test_data): Likewise.
56461         (j0_test_data): Likewise.
56462         (j1_test_data): Likewise.
56463         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56464         (input_flag_type): Add flag_xfail_rounding.
56465         (input_flags): Add xfail-rounding.
56466         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56467         (output_for_one_input_case): Handle flag_xfail_rounding.
56468         * sysdeps/i386/fpu/libm-test-ulps: Update.
56469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56471 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
56473         [BZ #16289]
56474         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56475         division by 0.
56477 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56479         [BZ #16195]
56480         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56481         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56482         (STAP_PROBE0): New macro.
56483         (STAP_PROBE1): Likewise.
56484         (STAP_PROBE2): Likewise.
56485         (STAP_PROBE3): Likewise.
56486         (STAP_PROBE4): Likewise.
56488 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
56490         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56492 2013-12-02  Steve Ellcey  <sellcey@mips.com>
56494         * benchtests/Makefile (bench): Add sqrt.
56495         (LDLIBS-bench-sqrt): New.
56496         * benchtests/sqrt-input: New.
56498 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
56500         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56501         (GAIH_EAI): Likewise.
56502         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56503         (gaih_inet): Likewise.
56504         (getaddrinfo): Don't use GAIH_EAI.
56506         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56507         (struct gaih): Remove definition.
56509 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56511         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56512         Use HERRNOP directly.
56514 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56518 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56520         * math/gen-auto-libm-tests.c (test_functions): Add more
56521         single-argument functions.
56522         (special_fill_pi_2): New function.
56523         (special_fill_minus_pi_2): Likewise.
56524         (special_fill_pi_6): Likewise.
56525         (special_fill_minus_pi_6): Likewise.
56526         (special_fill_pi_3): Likewise.
56527         (special_fill_2pi_3): Likewise.
56528         (special_fill_e): Likewise.
56529         (special_fill_1_e): Likewise.
56530         (special_fill_e_minus_1): Likewise.
56531         (special_real_inputs): Add more special inputs.
56532         (output_for_one_input_case): Do not require ERANGE on underflow to
56533         zero if round-to-nearest result does not underflow to zero, unless
56534         exact results required.
56535         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56536         atan, atanh, cbrt, cos and cosh.
56537         * math/auto-libm-test-out: Regenerated.
56538         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56539         (acos_tonearest_test_data): Likewise.
56540         (acos_towardzero_test_data): Likewise.
56541         (acos_downward_test_data): Likewise.
56542         (acos_upward_test_data): Likewise.
56543         (acosh_test_data): Likewise.
56544         (asin_test_data): Likewise.
56545         (asin_tonearest_test_data): Likewise.
56546         (asin_towardzero_test_data): Likewise.
56547         (asin_upward_test_data): Likewise.
56548         (asinh_test_data): Likewise.
56549         (atan_test_data): Likewise.
56550         (atanh_test_data): Likewise.
56551         (cbrt_test_data): Likewise.
56552         (cos_test_data): Likewise.
56553         (cos_tonearest_test_data): Likewise.
56554         (cos_towardzero_test_data): Likewise.
56555         (cos_downward_test_data): Likewise.
56556         (cos_upward_test_data): Likewise.
56557         (cosh_test_data): Likewise.
56558         (cosh_tonearest_test_data): Likewise.
56559         (cosh_towardzero_test_data): Likewise.
56560         (cosh_downward_test_data): Likewise.
56561         (cosh_upward_test_data): Likewise.
56562         * sysdeps/i386/fpu/libm-test-ulps: Update.
56563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56565 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56567         [BZ #6787]
56568         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56569         * math/w_exp10f.c (__exp10f): Likewise.
56570         * math/w_exp10l.c (__exp10l): Likewise.
56571         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56572         errno settings in existing tests.
56574         [BZ #14032]
56575         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56576         precision control set to double precision.
56577         * sysdeps/i386/fpu/w_sqrt.c: New file.
56578         * math/auto-libm-test-in: Add more tests.
56579         * math/auto-libm-test-out: Update.
56581         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56582         (sqrt_test_tonearest): New function.
56583         (sqrt_towardzero_test_data): New variable.
56584         (sqrt_test_towardzero): New function.
56585         (sqrt_downward_test_data): New variable.
56586         (sqrt_test_downward): New function.
56587         (sqrt_upward_test_data): New variable.
56588         (sqrt_test_upward): New function.
56589         (main): Call the new functions.
56591         * math/gen-auto-libm-tests.c: New file.
56592         * math/auto-libm-test-in: Likewise.
56593         * math/auto-libm-test-out: New generated file.
56594         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56595         variables.
56596         (%beautify): Add generated representations of zero.
56597         (top level): Set $auto_input and call parse_auto_input.
56598         (beautify): Remove trailing "f" from hex float constants.
56599         (parse_args): Handle XFAIL_TEST.
56600         (convert_condition): New function.
56601         (or_value): Likewise.
56602         (or_cond_value): Likewise.
56603         (generate_testfile): Handle AUTO_TESTS_* lines.
56604         (parse_auto_input): New function.
56605         * math/libm-test.inc (XFAIL_TEST): New macro.
56606         (ERRNO_UNCHANGED): Update value.
56607         (ERRNO_EDOM): Likewise.
56608         (ERRNO_ERANGE): Likewise.
56609         (IGNORE_RESULT): Likewise.
56610         (TEST_COND_flt_32): New macro.
56611         (TEST_COND_dbl_64): Likewise.
56612         (TEST_COND_ldbl_96_intel): Likewise.
56613         (TEST_COND_ldbl_96_m68k): Likewise.
56614         (TEST_COND_ldbl_128): Likewise.
56615         (TEST_COND_ldbl_128ibm): Likewise.
56616         (TEST_COND_long32): Likewise.
56617         (TEST_COND_long64): Likewise.
56618         (TEST_COND_before_rounding): Likewise.
56619         (TEST_COND_after_rounding): Likewise.
56620         (enable_test): Handle XFAIL_TEST flag.
56621         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56622         with finite results.
56623         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56624         auto-libm-test-out.
56626 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56627             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56629         [BZ #16214]
56630         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56631         __tls_get_addr_internal instead of __tls_get_offset in order to
56632         avoid GOT pointer dependency.  Make rtld export
56633         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56634         __tls_get_addr since we are a __tls_get_offset platform.
56635         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56636         GOT pointer being set up before.
56637         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56639 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56641         * manual/math.texi (Errors in Math Functions): Document accuracy
56642         goals.
56644         [BZ #15004]
56645         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56646         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56648         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56649         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56650         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56651         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56652         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56655         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56658         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56659         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56660         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56662         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56663         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56664         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56665         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56666         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56667         Likewise.
56668         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56669         Likewise.
56670         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56671         Likewise.
56672         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56673         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56674         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56675         atomic-feupdateenv and flt-rounds.
56676         * sysdeps/powerpc/nofpu/Versions (libc): Add
56677         __atomic_feholdexcept, __atomic_feclearexcept,
56678         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56679         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56680         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56682         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56683         here.
56684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56685         Update.
56687         * manual/arith.texi (FP Exceptions): Document that exceptions may
56688         not be raised when matherr is used.
56689         (Math Error Reporting): Document overflow in directed rounding
56690         modes.  Document that errno may not be set when finite values are
56691         returned on overflow.  Document intent to set errno on underflow
56692         only for underflow to zero.
56694         [BZ #16271]
56695         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56696         round-to-nearest then adjust result for other rounding modes.
56697         * include/fenv.h (fegetround): Use libm_hidden_proto.
56698         * math/fegetround.c (fegetround): Use libm_hidden_def.
56699         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56700         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56701         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56702         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56703         Likewise.
56704         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56706         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56707         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56709 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56711         [BZ #16077]
56712         * nss/Versions (libnss_files): Add
56713         _nss_files_gethostbyname3_r.
56714         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56715         New function.
56716         (HOST_DB_LOOKUP): Remove macro.
56717         (_nss_files_gethostbyname_r): Implement function without the
56718         HOST_DB_LOOKUP macro.
56719         (_nss_files_gethostbyname2_r): Likewise.
56721 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56723         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56725 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56727         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56728         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56729         warning.
56731 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56733         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56734         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56736         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56737         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56738         __fe_nomask_env_priv and attribute_hidden.
56739         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56740         (libc_feupdateenv_test_ppc): Likewise.
56741         (libc_feresetround_ppc): Likewise.
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56743         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56744         compat_symbol macro.
56745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56746         (__fe_nomask_env): Likewise.
56747         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56749 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56751         * string/Makefile: Remove ifunc tests.
56752         * string/test-string.h: Define TEST_IFUNC.
56753         * string/test-bcopy-ifunc.c: Remove.
56754         * string/test-bzero-ifunc.c: Likewise.
56755         * string/test-memccpy-ifunc.c: Likewise.
56756         * string/test-memchr-ifunc.c: Likewise.
56757         * string/test-memcmp-ifunc.c: Likewise.
56758         * string/test-memcpy-ifunc.c: Likewise.
56759         * string/test-memmem-ifunc.c: Likewise.
56760         * string/test-memmove-ifunc.c: Likewise.
56761         * string/test-mempcpy-ifunc.c: Likewise.
56762         * string/test-memrchr-ifunc.c: Likewise.
56763         * string/test-memset-ifunc.c: Likewise.
56764         * string/test-rawmemchr-ifunc.c: Likewise.
56765         * string/test-stpcpy-ifunc.c: Likewise.
56766         * string/test-stpncpy-ifunc.c: Likewise.
56767         * string/test-strcasecmp-ifunc.c: Likewise.
56768         * string/test-strcasestr-ifunc.c: Likewise.
56769         * string/test-strcat-ifunc.c: Likewise.
56770         * string/test-strchr-ifunc.c: Likewise.
56771         * string/test-strchrnul-ifunc.c: Likewise.
56772         * string/test-strcmp-ifunc.c: Likewise.
56773         * string/test-strcpy-ifunc.c: Likewise.
56774         * string/test-strcspn-ifunc.c: Likewise.
56775         * string/test-strlen-ifunc.c: Likewise.
56776         * string/test-strncasecmp-ifunc.c: Likewise.
56777         * string/test-strncat-ifunc.c: Likewise.
56778         * string/test-strncmp-ifunc.c: Likewise.
56779         * string/test-strncpy-ifunc.c: Likewise.
56780         * string/test-strnlen-ifunc.c: Likewise.
56781         * string/test-strpbrk-ifunc.c: Likewise.
56782         * string/test-strrchr-ifunc.c: Likewise.
56783         * string/test-strspn-ifunc.c: Likewise.
56784         * string/test-strstr-ifunc.c: Likewise.
56786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56788         * benchtests/Makefile: Remove ifunc tests.
56789         * benchtests/bench-string.h: Define TEST_IFUNC.
56790         * benchtests/bench-bcopy-ifunc.c: Remove.
56791         * benchtests/bench-bzero-ifunc.c: Likewise.
56792         * benchtests/bench-memccpy-ifunc.c: Likewise.
56793         * benchtests/bench-memchr-ifunc.c: Likewise.
56794         * benchtests/bench-memcmp-ifunc.c: Likewise.
56795         * benchtests/bench-memcpy-ifunc.c: Likewise.
56796         * benchtests/bench-memmem-ifunc.c: Likewise.
56797         * benchtests/bench-memmove-ifunc.c: Likewise.
56798         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56799         * benchtests/bench-memrchr-ifunc.c: Likewise.
56800         * benchtests/bench-memset-ifunc.c: Likewise.
56801         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56802         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56803         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56804         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56805         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56806         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56807         * benchtests/bench-strcat-ifunc.c: Likewise.
56808         * benchtests/bench-strchr-ifunc.c: Likewise.
56809         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56810         * benchtests/bench-strcmp-ifunc.c: Likewise.
56811         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56812         * benchtests/bench-strcpy-ifunc.c: Likewise.
56813         * benchtests/bench-strcspn-ifunc.c: Likewise.
56814         * benchtests/bench-strlen-ifunc.c: Likewise.
56815         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56816         * benchtests/bench-strncat-ifunc.c: Likewise.
56817         * benchtests/bench-strncmp-ifunc.c: Likewise.
56818         * benchtests/bench-strncpy-ifunc.c: Likewise.
56819         * benchtests/bench-strnlen-ifunc.c: Likewise.
56820         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56821         * benchtests/bench-strrchr-ifunc.c: Likewise.
56822         * benchtests/bench-strsep-ifunc.c: Likewise.
56823         * benchtests/bench-strspn-ifunc.c: Likewise.
56824         * benchtests/bench-strstr-ifunc.c: Likewise.
56826 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56828         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56830 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56832         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56833         * rt/aio.h: Likewise.
56834         * sysdeps/gnu/bits/utmp.h: Likewise.
56835         * sysdeps/gnu/bits/utmpx.h: Likewise.
56836         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56837         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56838         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56839         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56840         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56841         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56842         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56843         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56844         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56845         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56846         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56847         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56848         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56850         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56851         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56852         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56853         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56854         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56855         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56856         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56857         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56858         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56859         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56860         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56862         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56863         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56864         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56865         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56866         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56867         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56868         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56869         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56870         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56871         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56872         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56873         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56874         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56875         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56876         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56877         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56879 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56881         [BZ #16245]
56882         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56883         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56885 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56887         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56889         Likewise.
56891 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56894         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56895         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56896         (__fesetround): Remove define.
56897         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56898         rounding and exceptions handling.
56899         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56900         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56901         (__fe_nomask_env): Likewise.
56902         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56903         __fegetround instead of fegetround.
56904         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56905         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56907 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56909         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56910         it's there.
56912         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56914 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56916         [BZ #11157]
56917         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56918         (encrypt_r): Likewise.
56919         * malloc/obstack.h (obstack_free): Likewise.
56920         * posix/unistd.h (encrypt): Likewise.
56922 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56924         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56925         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56926         DL_CALL_DT_FINI() that call the functions directly.
56927         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56928         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56929         * elf/dl-fini.c: Likewise.
56931 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56933         * malloc/hooks.c (memalign_check): Add alignment rounding.
56934         * malloc/malloc.c (_mid_memalign): New function.
56935         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56936         Implement by calling _mid_memalign.
56937         * manual/probes.texi (Memory Allocation Probes): Remove
56938         memory_valloc_retry and memory_pvalloc_retry.
56940 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56942         * locale/programs/locarchive.c (open_archive): Add const
56943         qualifier to ARCHIVEFNAME and copy default fname to
56944         DEFAULT_FNAME.
56946         [BZ #15601]
56947         * libio/tst-widetext.input: Rename Oriya to Odia.
56948         * locale/iso-639.def: Likewise.
56950         * manual/probes.texi (Mathematical Function Probes): Add
56951         documentation for sin, cos, asin and acos probes.
56952         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56953         (__sin32): Add slowasin probe.
56954         (__cos32): Add slowacos probe.
56955         (__mpsin): Add slowsin probe.
56956         (__mpcos): Add slowcos probe.
56958 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56960         [BZ #15483]
56961         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56962         thread-local __sim_exceptions_thread and global
56963         __sim_exceptions_global.
56964         (__sim_disabled_exceptions): Change to thread-local
56965         __sim_disabled_exceptions_thread and global
56966         __sim_disabled_exceptions_global.
56967         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56968         and global __sim_round_mode_global.
56969         (__simulate_exceptions): Use thread-local floating-point state and
56970         set global state from it as needed.
56971         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56972         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56973         __sim_round_mode_thread.
56974         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56975         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56976         and global __sim_exceptions_global.
56977         (__sim_disabled_exceptions): Change to thread-local
56978         __sim_disabled_exceptions_thread and global
56979         __sim_disabled_exceptions_global.
56980         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56981         and global __sim_round_mode_global.
56982         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56983         (SIM_SET_GLOBAL): Likewise.
56984         * sysdeps/powerpc/soft-fp/sfp-machine.h
56985         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56986         __sim_round_mode_thread.
56987         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56988         __sim_disabled_exceptions_thread.
56989         (__sim_exceptions): Change to __sim_exceptions_thread.
56990         (__sim_disabled_exceptions): Change to
56991         __sim_disabled_exceptions_thread.
56992         (__sim_round_mode): Change to __sim_round_mode_thread.
56993         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56994         thread-local floating-point state and set global state from it as
56995         needed.
56996         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56997         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56998         (__sim_disabled_exceptions): Remove extern declaration.
56999         (feenableexcept): Use thread-local floating-point state and set
57000         global state from it as needed.
57001         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57002         extern declaration.
57003         (__sim_disabled_exceptions): Likewise.
57004         (__sim_round_mode): Likewise.
57005         (__fegetenv): Use thread-local floating-point state.
57006         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57007         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57008         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57009         floating-point state and set global state from it as needed.
57010         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57011         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57012         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57013         Likewise.
57014         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57015         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57016         Likewise.
57017         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57018         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57019         Use __sim_round_mode_thread.
57020         * math/test-fenv-tls.c: New file.
57021         * math/Makefile (tests): Add test-fenv-tls.
57022         ($(objpfx)test-fenv-tls): Depend on
57023         $(common-objpfx)nptl/libpthread.so.
57025 2013-11-19  Andreas Schwab  <schwab@suse.de>
57027         * locale/programs/locale.c (show_info): Decode wordarray elements.
57028         * locale/categories.def (LC_MONETARY): Add element for
57029         _NL_MONETARY_CRNCYSTR.
57030         * locale/C-monetary.c (conversion_rate): New variable.
57031         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57032         element.
57034 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57036         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57037         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57039 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57041         * elf/Makefile (tst-auxv): New test.
57042         * elf/tst-auxv.c: New
57043         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57045 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57047         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57048         (hidden_proto): Caller changed.
57049         (hidden_tls_proto): New macro.
57050         (libc_hidden_tls_proto): Likewise.
57051         (rtld_hidden_tls_proto): Likewise.
57052         (libm_hidden_tls_proto): Likewise.
57053         (libresolv_hidden_tls_proto): Likewise.
57054         (librt_hidden_tls_proto): Likewise.
57055         (libdl_hidden_tls_proto): Likewise.
57056         (libnss_files_hidden_tls_proto): Likewise.
57057         (libnsl_hidden_tls_proto): Likewise.
57058         (libnss_nisplus_hidden_tls_proto): Likewise.
57059         (libutil_hidden_tls_proto): Likewise.
57061 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57063         [BZ #10253]
57064         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57065         (decompose_rpath): Defer expansion to fillin_rpath.
57066         (_dl_init_paths): Pass linkmap to fillin_rpath.
57068 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57070         * benchtests/Makefile: Add strsep.
57071         * benchtests/bench-strsep.c: New file: strsep benchtest.
57072         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57074 2013-11-18  Andreas Schwab  <schwab@suse.de>
57076         * locale/programs/locale.c (show_info) [case byte]: Check for
57077         '\377' instead of '\177'.
57078         * locale/C-monetary.c (not_available): Always use "\377".
57079         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57080         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57081         detect unavailable sign_posn locale elements.
57082         * locale/localeconv.c (__localeconv): For grouping and
57083         mon_grouping handle "\177" and "\377" like no grouping.
57084         (INT_ELEM): New macro.  Use it to set all numeric members.
57085         * locale/programs/ld-monetary.c (monetary_read)
57086         <tok_mon_grouping>: Normalize single -1 to the empty string.
57087         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57088         Likewise.
57090 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57092         [BZ #16055]
57093         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57094         when we match (nil).
57095         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57097 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57099         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57100         (NO_TEST_INLINE): Update value.
57101         (ERRNO_UNCHANGED): Likewise.
57102         (ERRNO_EDOM): Likewise.
57103         (ERRNO_ERANGE): Likewise.
57104         (IGNORE_RESULT): Likewise.
57105         (check_float_internal): Check signs of NaN results if
57106         TEST_NAN_SIGN used.
57107         (check_complex): Pass TEST_NAN_SIGN flag through to second
57108         check_float_internal call.
57109         (copysign_test_data): Add tests with quiet NaNs as second
57110         argument.  Use TEST_NAN_SIGN.
57111         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57112         TEST_NAN_SIGN.
57113         (signbit_test_data): Add tests of quiet NaN argument.
57114         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57116         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57117         $ignore_result.
57118         (parse_args): Handle function results specified as IGNORE.
57119         * math/libm-test.inc (IGNORE_RESULT): New macro.
57120         (check_float_internal): Do not check numerical result if flag
57121         IGNORE_RESULT set.
57122         (check_complex): Pass through IGNORE_RESULT to second
57123         check_float_internal call.
57124         (check_int): Do not check numerical result if flag IGNORE_RESULT
57125         set.
57126         (check_long): Likewise.
57127         (check_bool): Likewise.
57128         (check_longlong): Likewise.
57129         (lrint_test_data): Add tests of infinite and NaN arguments.
57130         (lrint_tonearest_test_data): Likewise.
57131         (lrint_towardzero_test_data): Likewise.
57132         (lrint_downward_test_data): Likewise.
57133         (lrint_upward_test_data): Likewise.
57134         (llrint_test_data): Likewise.
57135         (llrint_tonearest_test_data): Likewise.
57136         (llrint_towardzero_test_data): Likewise.
57137         (llrint_downward_test_data): Likewise.
57138         (llrint_upward_test_data): Likewise.
57139         (lround_test_data): Likewise.
57140         (llround_test_data): Likewise.
57142         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57143         (ERRNO_UNCHANGED): Update value.
57144         (ERRNO_EDOM): Likewise.
57145         (ERRNO_ERANGE): Likewise.
57146         (NO_TEST_INLINE_FLOAT): New macro.
57147         (NO_TEST_INLINE_DOUBLE): Likewise.
57148         (enable_test): New function.
57149         (RUN_TEST_f_f): Check enable_test before running test.
57150         (RUN_TEST_2_f): Likewise.
57151         (RUN_TEST_fff_f): Likewise.
57152         (RUN_TEST_c_f): Likewise.
57153         (RUN_TEST_f_f1): Likewise.
57154         (RUN_TEST_fF_f1): Likewise.
57155         (RUN_TEST_fI_f1): Likewise.
57156         (RUN_TEST_ffI_f1): Likewise.
57157         (RUN_TEST_c_c): Likewise.
57158         (RUN_TEST_cc_c): Likewise.
57159         (RUN_TEST_f_i): Likewise.
57160         (RUN_TEST_f_i_tg): Likewise.
57161         (RUN_TEST_ff_i_tg): Likewise.
57162         (RUN_TEST_f_b): Likewise.
57163         (RUN_TEST_f_b_tg): Likewise.
57164         (RUN_TEST_f_l): Likewise.
57165         (RUN_TEST_f_L): Likewise.
57166         (RUN_TEST_fFF_11): Likewise.
57167         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57168         conditionals.
57169         (cosh_test_data): Likewise.
57170         (exp_test_data): Likewise.
57171         (expm1_test_data): Likewise.
57172         (hypot_test_data): Likewise.
57173         (pow_test_data): Likewise.
57174         (sinh_test_data): Likewise.
57175         (tanh_test_data): Likewise.
57176         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57177         flags argument.
57179         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57180         tests with quiet NaN input and output.
57181         (acosh_test_data): Likewise.
57182         (asin_test_data): Likewise.
57183         (asinh_test_data): Likewise.
57184         (atan_test_data): Likewise.
57185         (atanh_test_data): Likewise.
57186         (atan2_test_data): Likewise.
57187         (cbrt_test_data): Likewise.
57188         (cos_test_data): Likewise.
57189         (cosh_test_data): Likewise.
57190         (erf_test_data): Likewise.
57191         (erfc_test_data): Likewise.
57192         (exp_test_data): Likewise.
57193         (exp10_test_data): Likewise.
57194         (exp2_test_data): Likewise.
57195         (expm1_test_data): Likewise.
57196         (hypot_test_data): Likewise.
57197         (j0_test_data): Likewise.
57198         (j1_test_data): Likewise.
57199         (jn_test_data): Likewise.
57200         (lgamma_test_data): Likewise.
57201         (log_test_data): Likewise.
57202         (log10_test_data): Likewise.
57203         (log1p_test_data): Likewise.
57204         (log2_test_data): Likewise.
57205         (pow_test_data): Likewise.
57206         (scalb_test_data): Likewise.
57207         (sin_test_data): Likewise.
57208         (sincos_test_data): Likewise.
57209         (sinh_test_data): Likewise.
57210         (tan_test_data): Likewise.
57211         (tanh_test_data): Likewise.
57212         (tgamma_test_data): Likewise.
57213         (y0_test_data): Likewise.
57214         (y1_test_data): Likewise.
57215         (yn_test_data): Likewise.
57217         [BZ #16167]
57218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57219         argument being NaN and avoid computations with second argument in
57220         that case.
57221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57223         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57225 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57227         * locale/iso-639.def: Add Chitwani Tharu (the).
57229 2013-11-14  Andreas Schwab  <schwab@suse.de>
57231         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57232         word instead of empty string.
57234 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57237         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57239         (__fe_nomask_env): Likewise.
57241 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57243         * benchtests/bench-timing.h: Include time.h.
57245 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57247         [BZ #15997]
57248         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57249         to 3.4.0 for x32.
57250         * sysdeps/unix/sysv/linux/configure: Regenerated.
57252 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57254         [BZ #16151]
57255         * stdlib/strtod_l.c (round_and_return): Do not consider
57256         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57257         exponent one less than half the least subnormal exponent.
57258         * stdlib/test-strtod-round-data: Add more tests.
57259         * stdlib/tst-strtod-round.c (tests): Regenerated.
57261 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57263         [BZ #14143]
57264         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57265         (__fe_mask_env): Likewise.
57266         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57267         libm_hidden_proto and add function prototype.
57268         (__fe_mask_env): Add function prototype.
57269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57270         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57272         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57274         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57276 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57278         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57279         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57281 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57283         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57284         of htab_find_slot().
57286 2013-11-11  David S. Miller  <davem@davemloft.net>
57288         [BZ #16150]
57289         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57290         symbol in the non-vis3 case in static builds.
57291         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57292         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57293         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57294         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57296 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57298         [BZ #387]
57299         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57300         it is empty.
57302 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57304         * benchtests/Makefile: Add bench-strtod.
57305         * benchtests/bench-strtod.c: New file: strtod benchtest
57307 2013-11-11  Andreas Schwab  <schwab@suse.de>
57309         [BZ #16153]
57310         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57311         terminating NUL in key length.
57313 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57316         Add artificial ODP entry for vDSO symbol for PPC64.
57317         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57318         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57320 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57322         [BZ #15374]
57323         * nss/getent.c (services_keys): Recognize services starting with digit.
57325 2013-11-06  David S. Miller  <davem@davemloft.net>
57327         [BZ #15985]
57328         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57329         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57331 2013-11-06  Will Newton  <will.newton@linaro.org>
57333         * manual/memory.texi (Malloc Examples): Remove register
57334         keyword from examples.
57336 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57338         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57340 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57342         [BZ #6981]
57343         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57344         depending on [__GCC_IEC_559 > 0].
57345         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57346         depending on [__GCC_IEC_559_COMPLEX > 0].
57348 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57350         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57351         to iso-639.def.
57353 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57355         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57357 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57359         [BZ #16112]
57360         * malloc/malloc (malloc_info): Do not handle first bin as
57361         special case.
57363 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57365         * locale/iso-639.def: Add Central Nahuatl (nhn).
57367 2013-11-01  Bruno Haible  <bruno@clisp.org>
57369         [BZ #7003]
57370         * manual/math.texi (BSD Random): Specify range upper bound as
57371         in POSIX.
57373 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57375         * locale/iso-639.def: Add Meadow Mari (mhr).
57377 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57379         [BZ #14752], [BZ #15763]
57380         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57381         Validate name.
57382         * rt/tst_shm.c: Add test for escaping directory.
57384 2013-10-31  Andreas Schwab  <schwab@suse.de>
57386         [BZ #15917]
57387         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57388         followed by 'x' as part of digit sequence.
57389         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57391 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57393         [BZ #16037]
57394         * configure.ac: allow GNU Make 4.0 and greater.
57395         * configure: Regenerated.
57397 2013-10-30  Will Newton  <will.newton@linaro.org>
57399         [BZ #16038]
57400         * malloc/hooks.c (memalign_check): Limit alignment to the
57401         maximum representable power of two.
57402         * malloc/malloc.c (__libc_memalign): Likewise.
57403         * malloc/tst-memalign.c (do_test): Add test for very
57404         large alignment values.
57405         * malloc/tst-posix_memalign.c (do_test): Likewise.
57407 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57409         [BZ #11087]
57410         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57411         (munmap_chunk): Likewise.
57412         (mremap_chunk): Likewise.
57414 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57416         [BZ #15799]
57417         * stdlib/div.c (div): Remove obsolete code.
57418         * stdlib/ldiv.c (ldiv): Likewise.
57419         * stdlib/lldiv.c (lldiv): Likewise.
57421 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57423         [BZ #16071]
57424         * nss/nss_files/files-XXX.c (get_contents_ret): New
57425         enumerator.
57426         (get_contents): New function.
57427         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57429 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57431         * configure.in: Moved to ...
57432         * configure.ac: ... here. Change reference to configure.in
57433         to configure.ac.
57434         * sysdeps/arm/preconfigure.ac: ... here.
57435         configure.in to configure.ac.
57436         * sysdeps/gnu/configure.in: Moved to ...
57437         * sysdeps/gnu/configure.ac: ... here.
57438         * sysdeps/i386/configure.in: Moved to ...
57439         * sysdeps/i386/configure.ac: ... here.
57440         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57441         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57442         * sysdeps/mach/configure.in: Moved to ...
57443         * sysdeps/mach/configure.ac: ... here.
57444         * sysdeps/mach/hurd/configure.in: Moved to ...
57445         * sysdeps/mach/hurd/configure.ac: ... here.
57446         * sysdeps/powerpc/configure.in: Moved to ...
57447         * sysdeps/powerpc/configure.ac: ... here.
57448         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57449         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57450         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57451         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57452         * sysdeps/s390/s390-32/configure.in: Moved to ...
57453         * sysdeps/s390/s390-32/configure.ac: ... here.
57454         * sysdeps/s390/s390-64/configure.in: Moved to ...
57455         * sysdeps/s390/s390-64/configure.ac: ... here.
57456         * sysdeps/sh/configure.in: Moved to ...
57457         * sysdeps/sh/configure.ac: ... here.
57458         * sysdeps/sparc/configure.in: Moved to ...
57459         * sysdeps/sparc/configure.ac: ... here.
57460         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57461         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57462         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57463         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57464         * sysdeps/x86_64/configure.in: Moved to ...
57465         * sysdeps/x86_64/configure.ac: ... here.
57466         * sysdeps/x86_64/preconfigure.in: Moved to ...
57467         * sysdeps/x86_64/preconfigure.ac: ... here.
57468         * aclocal.m4: Change reference to configure.in to configure.ac.
57469         * config.h.in: Likewise.
57470         * manual/install.texi: Likewise.
57471         * manual/maint.texi: Likewise.
57472         * Makefile: Likewise.
57473         * malloc/Makefile: Likewise.
57474         * nscd/Makefile: Likewise.
57475         * Makeconfig: Change reference to configure.in and
57476         preconfigure.in to configure.ac and preconfigure.ac
57477         respectively.
57478         * INSTALL: Regenerated.
57479         * configure: Likewise.
57480         * sysdeps/gnu/configure: Likewise.
57481         * sysdeps/i386/configure: Likewise.
57482         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57483         * sysdeps/mach/configure: Likewise.
57484         * sysdeps/mach/hurd/configure: Likewise.
57485         * sysdeps/powerpc/configure: Likewise.
57486         * sysdeps/powerpc/powerpc32/configure: Likewise.
57487         * sysdeps/powerpc/powerpc64/configure: Likewise.
57488         * sysdeps/s390/s390-32/configure: Likewise.
57489         * sysdeps/s390/s390-64/configure: Likewise.
57490         * sysdeps/sh/configure: Likewise.
57491         * sysdeps/sparc/configure: Likewise.
57492         * sysdeps/unix/sysv/linux/configure: Likewise.
57493         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57494         * sysdeps/x86_64/configure: Likewise.
57495         * sysdeps/x86_64/preconfigure: Likewise.
57497 2013-10-29  Andreas Schwab  <schwab@suse.de>
57499         * stdio-common/Makefile (tst-swscanf-ENV): Define.
57501 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57503         * benchtests/pow-inputs: Add new inputs.
57505         * benchtests/exp-inputs: Add new inputs.
57507         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57508         conditional check for return value.
57509         (__cos32): Likewise.
57511 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57513         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57514         to provide a boost for large inputs with word alignment.
57515         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57516         implementation based on optimized PPC64 strcpy.
57517         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57518         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57519         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57520         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57522 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57524         [BZ #2801]
57525         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57527 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57529         [BZ #14876]
57530         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57531         * time/tst-strptime.c (day_tests): Add testcase.
57533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57535         [BZ #14029]
57536         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57538 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57540         [BZ #16074]
57541         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57542         MAP_FAILED on error.
57544 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57546         [BZ #16072]
57547         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57548         heap for large requests.
57550 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57552         [BZ #9954]
57553         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57554         result if the result has no associated interface.
57555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57556         interface for all 127.X.Y.Z addresses.
57558 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57560         * locale/iso-639.def: Add Ligurian (lij)
57562 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57564         [BZ #15825]
57565         * sunrpc/rpc_main.c: Document rpcgen -5.
57567 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57569         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57571 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57573         [BZ #10278]
57574         * posix/glob.c: Match only directories when trailing slash is present.
57575         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57576         (main): Add testcase.
57578 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57580         [BZ #15670]
57581         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57583 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57585         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57586         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57587         AUTH_DES and cindex for FIPS 140-2.
57588         (DES Encryption): Add cindex FIPS 46-3.
57590         * locale/locarchive.h (struct locarhandle): Add fname.
57591         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57592         if an optional argument was specified to --list-archive,
57593         otherwise NULL.
57594         * locale/programs/locarchive.c (show_archive_content): Take new
57595         argument fname and pass it via ah.fname to open_archive.
57596         * locale/programs/localedef.h: Update decl.
57597         (open_archive): If AH->fname is non-null, open that file
57598         rather than the default file name, and don't ignore ENOENT.
57599         (create_archive): Set AH.fname to NULL.
57600         (delete_locales_from_archive): Likewise.
57601         (add_locales_to_archive): Likewise.
57602         * locale/programs/locfile.c (write_all_categories): Likewise.
57604 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57605             Aldy Hernandez  <aldyh@redhat.com>
57607         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57608         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57609         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57610         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57611         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57615         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57618         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57619         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57620         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57622         Likewise.
57623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57624         Likewise.
57625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57626         Likewise.
57627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57628         Likewise.
57629         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57630         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57631         Likewise.
57632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57633         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57634         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57635         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57636         Likewise.
57637         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57638         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57639         * sysdeps/powerpc/preconfigure: Likewise.
57640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57641         Likewise.
57642         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57643         Replace contents of file by #include of <fenv_libc.h>.
57644         * sysdeps/powerpc/soft-fp/sfp-machine.h
57645         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57646         and <sys/prctl.h>.
57647         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57660         Allow copysignl PLT reference to be missing.
57662 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57663             Joseph Myers  <joseph@codesourcery.com
57665         [BZ #15948]
57666         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57667         single character.
57668         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57670 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57672         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57673         * elf/tst-tls1.c: Likewise.
57674         * elf/tst-tls10.h: Likewise.
57675         * elf/tst-tls14.c: Likewise.
57676         * elf/tst-tls2.c: Likewise.
57677         * elf/tst-tls3.c: Likewise.
57678         * elf/tst-tls4.c: Likewise.
57679         * elf/tst-tls5.c: Likewise.
57680         * elf/tst-tls6.c: Likewise.
57681         * elf/tst-tls7.c: Likewise.
57682         * elf/tst-tls8.c: Likewise.
57683         * elf/tst-tls9.c: Likewise.
57684         * elf/tst-tlsmod1.c: Likewise.
57685         * elf/tst-tlsmod13.c: Likewise.
57686         * elf/tst-tlsmod13a.c: Likewise.
57687         * elf/tst-tlsmod14a.c: Likewise.
57688         * elf/tst-tlsmod16a.c: Likewise.
57689         * elf/tst-tlsmod16b.c: Likewise.
57690         * elf/tst-tlsmod2.c: Likewise.
57691         * elf/tst-tlsmod3.c: Likewise.
57692         * elf/tst-tlsmod4.c: Likewise.
57693         * elf/tst-tlsmod5.c: Likewise.
57694         * elf/tst-tlsmod6.c: Likewise.
57696 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57698         [BZ #12486]
57699         * malloc/malloc.c: remove checks for statistics.
57701 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57703         [BZ #15277]
57704         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57705         * inet/tst-network.c: Add testcase.
57707 2013-10-17  Andreas Schwab  <schwab@suse.de>
57709         [BZ #15218]
57710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57711         to determine canonical name.
57713 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57715         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57716         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57720         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57722         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57723         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57724         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57725         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57729         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57730         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57732         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57733         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57734         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57738         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57739         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57740         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57741         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57742         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57743         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57744         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57747         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57749         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57750         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57751         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57756         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57758         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57761         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57762         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57763         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57765         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57766         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57770         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57772         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57774 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57776         [BZ #16041]
57777         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57778         make result into a quiet NaN.
57780 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57782         * soft-fp/adddf3.c: Fix horizontal whitespace.
57783         * soft-fp/addsf3.c: Likewise.
57784         * soft-fp/addtf3.c: Likewise.
57785         * soft-fp/divdf3.c: Likewise.
57786         * soft-fp/divsf3.c: Likewise.
57787         * soft-fp/divtf3.c: Likewise.
57788         * soft-fp/double.h: Likewise.
57789         * soft-fp/eqdf2.c: Likewise.
57790         * soft-fp/eqsf2.c: Likewise.
57791         * soft-fp/eqtf2.c: Likewise.
57792         * soft-fp/extenddftf2.c: Likewise.
57793         * soft-fp/extended.h: Likewise.
57794         * soft-fp/extendsfdf2.c: Likewise.
57795         * soft-fp/extendsftf2.c: Likewise.
57796         * soft-fp/extendxftf2.c: Likewise.
57797         * soft-fp/fixdfdi.c: Likewise.
57798         * soft-fp/fixdfsi.c: Likewise.
57799         * soft-fp/fixdfti.c: Likewise.
57800         * soft-fp/fixsfdi.c: Likewise.
57801         * soft-fp/fixsfsi.c: Likewise.
57802         * soft-fp/fixsfti.c: Likewise.
57803         * soft-fp/fixtfdi.c: Likewise.
57804         * soft-fp/fixtfsi.c: Likewise.
57805         * soft-fp/fixtfti.c: Likewise.
57806         * soft-fp/fixunsdfdi.c: Likewise.
57807         * soft-fp/fixunsdfsi.c: Likewise.
57808         * soft-fp/fixunsdfti.c: Likewise.
57809         * soft-fp/fixunssfdi.c: Likewise.
57810         * soft-fp/fixunssfsi.c: Likewise.
57811         * soft-fp/fixunssfti.c: Likewise.
57812         * soft-fp/fixunstfdi.c: Likewise.
57813         * soft-fp/fixunstfsi.c: Likewise.
57814         * soft-fp/fixunstfti.c: Likewise.
57815         * soft-fp/floatdidf.c: Likewise.
57816         * soft-fp/floatdisf.c: Likewise.
57817         * soft-fp/floatditf.c: Likewise.
57818         * soft-fp/floatsidf.c: Likewise.
57819         * soft-fp/floatsisf.c: Likewise.
57820         * soft-fp/floatsitf.c: Likewise.
57821         * soft-fp/floattidf.c: Likewise.
57822         * soft-fp/floattisf.c: Likewise.
57823         * soft-fp/floattitf.c: Likewise.
57824         * soft-fp/floatundidf.c: Likewise.
57825         * soft-fp/floatundisf.c: Likewise.
57826         * soft-fp/floatunditf.c: Likewise.
57827         * soft-fp/floatunsidf.c: Likewise.
57828         * soft-fp/floatunsisf.c: Likewise.
57829         * soft-fp/floatunsitf.c: Likewise.
57830         * soft-fp/floatuntidf.c: Likewise.
57831         * soft-fp/floatuntisf.c: Likewise.
57832         * soft-fp/floatuntitf.c: Likewise.
57833         * soft-fp/fmadf4.c: Likewise.
57834         * soft-fp/fmasf4.c: Likewise.
57835         * soft-fp/fmatf4.c: Likewise.
57836         * soft-fp/gedf2.c: Likewise.
57837         * soft-fp/gesf2.c: Likewise.
57838         * soft-fp/getf2.c: Likewise.
57839         * soft-fp/ledf2.c: Likewise.
57840         * soft-fp/lesf2.c: Likewise.
57841         * soft-fp/letf2.c: Likewise.
57842         * soft-fp/muldf3.c: Likewise.
57843         * soft-fp/mulsf3.c: Likewise.
57844         * soft-fp/multf3.c: Likewise.
57845         * soft-fp/negdf2.c: Likewise.
57846         * soft-fp/negsf2.c: Likewise.
57847         * soft-fp/negtf2.c: Likewise.
57848         * soft-fp/op-1.h: Likewise.
57849         * soft-fp/op-2.h: Likewise.
57850         * soft-fp/op-4.h: Likewise.
57851         * soft-fp/op-8.h: Likewise.
57852         * soft-fp/op-common.h: Likewise.
57853         * soft-fp/quad.h: Likewise.
57854         * soft-fp/single.h: Likewise.
57855         * soft-fp/soft-fp.h: Likewise.
57856         * soft-fp/sqrtdf2.c: Likewise.
57857         * soft-fp/sqrtsf2.c: Likewise.
57858         * soft-fp/sqrttf2.c: Likewise.
57859         * soft-fp/subdf3.c: Likewise.
57860         * soft-fp/subsf3.c: Likewise.
57861         * soft-fp/subtf3.c: Likewise.
57862         * soft-fp/truncdfsf2.c: Likewise.
57863         * soft-fp/trunctfdf2.c: Likewise.
57864         * soft-fp/trunctfsf2.c: Likewise.
57865         * soft-fp/trunctfxf2.c: Likewise.
57866         * soft-fp/unorddf2.c: Likewise.
57867         * soft-fp/unordsf2.c: Likewise.
57868         * soft-fp/unordtf2.c: Likewise.
57870 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57872         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57873         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57875 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57877         * elf/dl-libc.c: Clear initfini list after freeing.
57879 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57881         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57882         * soft-fp/addsf3.c: Likewise.
57883         * soft-fp/addtf3.c: Likewise.
57884         * soft-fp/divdf3.c: Likewise.
57885         * soft-fp/divsf3.c: Likewise.
57886         * soft-fp/divtf3.c: Likewise.
57887         * soft-fp/double.h: Likewise.
57888         * soft-fp/eqdf2.c: Likewise.
57889         * soft-fp/eqsf2.c: Likewise.
57890         * soft-fp/eqtf2.c: Likewise.
57891         * soft-fp/extenddftf2.c: Likewise.
57892         * soft-fp/extended.h: Likewise.
57893         * soft-fp/extendsfdf2.c: Likewise.
57894         * soft-fp/extendsftf2.c: Likewise.
57895         * soft-fp/extendxftf2.c: Likewise.
57896         * soft-fp/fixdfdi.c: Likewise.
57897         * soft-fp/fixdfsi.c: Likewise.
57898         * soft-fp/fixdfti.c: Likewise.
57899         * soft-fp/fixsfdi.c: Likewise.
57900         * soft-fp/fixsfsi.c: Likewise.
57901         * soft-fp/fixsfti.c: Likewise.
57902         * soft-fp/fixtfdi.c: Likewise.
57903         * soft-fp/fixtfsi.c: Likewise.
57904         * soft-fp/fixtfti.c: Likewise.
57905         * soft-fp/fixunsdfdi.c: Likewise.
57906         * soft-fp/fixunsdfsi.c: Likewise.
57907         * soft-fp/fixunsdfti.c: Likewise.
57908         * soft-fp/fixunssfdi.c: Likewise.
57909         * soft-fp/fixunssfsi.c: Likewise.
57910         * soft-fp/fixunssfti.c: Likewise.
57911         * soft-fp/fixunstfdi.c: Likewise.
57912         * soft-fp/fixunstfsi.c: Likewise.
57913         * soft-fp/fixunstfti.c: Likewise.
57914         * soft-fp/floatdidf.c: Likewise.
57915         * soft-fp/floatdisf.c: Likewise.
57916         * soft-fp/floatditf.c: Likewise.
57917         * soft-fp/floatsidf.c: Likewise.
57918         * soft-fp/floatsisf.c: Likewise.
57919         * soft-fp/floatsitf.c: Likewise.
57920         * soft-fp/floattidf.c: Likewise.
57921         * soft-fp/floattisf.c: Likewise.
57922         * soft-fp/floattitf.c: Likewise.
57923         * soft-fp/floatundidf.c: Likewise.
57924         * soft-fp/floatundisf.c: Likewise.
57925         * soft-fp/floatunsidf.c: Likewise.
57926         * soft-fp/floatunsisf.c: Likewise.
57927         * soft-fp/floatuntidf.c: Likewise.
57928         * soft-fp/floatuntisf.c: Likewise.
57929         * soft-fp/floatuntitf.c: Likewise.
57930         * soft-fp/fmadf4.c: Likewise.
57931         * soft-fp/fmasf4.c: Likewise.
57932         * soft-fp/fmatf4.c: Likewise.
57933         * soft-fp/gedf2.c: Likewise.
57934         * soft-fp/gesf2.c: Likewise.
57935         * soft-fp/getf2.c: Likewise.
57936         * soft-fp/ledf2.c: Likewise.
57937         * soft-fp/lesf2.c: Likewise.
57938         * soft-fp/letf2.c: Likewise.
57939         * soft-fp/muldf3.c: Likewise.
57940         * soft-fp/mulsf3.c: Likewise.
57941         * soft-fp/multf3.c: Likewise.
57942         * soft-fp/negdf2.c: Likewise.
57943         * soft-fp/negsf2.c: Likewise.
57944         * soft-fp/negtf2.c: Likewise.
57945         * soft-fp/op-1.h: Likewise.
57946         * soft-fp/op-2.h: Likewise.
57947         * soft-fp/op-4.h: Likewise.
57948         * soft-fp/op-8.h: Likewise.
57949         * soft-fp/op-common.h: Likewise.
57950         * soft-fp/quad.h: Likewise.
57951         * soft-fp/single.h: Likewise.
57952         * soft-fp/soft-fp.h: Likewise.
57953         * soft-fp/sqrtdf2.c: Likewise.
57954         * soft-fp/sqrtsf2.c: Likewise.
57955         * soft-fp/sqrttf2.c: Likewise.
57956         * soft-fp/subdf3.c: Likewise.
57957         * soft-fp/subsf3.c: Likewise.
57958         * soft-fp/subtf3.c: Likewise.
57959         * soft-fp/truncdfsf2.c: Likewise.
57960         * soft-fp/trunctfdf2.c: Likewise.
57961         * soft-fp/trunctfsf2.c: Likewise.
57962         * soft-fp/trunctfxf2.c: Likewise.
57963         * soft-fp/unorddf2.c: Likewise.
57964         * soft-fp/unordsf2.c: Likewise.
57965         * soft-fp/unordtf2.c: Likewise.
57967 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57969         [BZ #15672]
57970         * misc/error.c (error_tail): Fix possible buffer overflow.
57972 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57974         [BZ #13028]
57975         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57976         address.
57978 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57980         [BZ #832]
57981         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57982         testing pipefail option.
57984 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57986         * soft-fp/double.h: Indent preprocessor directives inside #if.
57987         * soft-fp/extended.h: Likewise.
57988         * soft-fp/op-2.h: Likewise.
57989         * soft-fp/op-4.h: Likewise.
57990         * soft-fp/op-common.h: Likewise.
57991         * soft-fp/quad.h: Likewise.
57992         * soft-fp/single.h: Likewise.
57993         * soft-fp/soft-fp.h: Likewise.
57995 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57997         * iconv/iconv_prog.c: Fix typos.
57998         * stdio-common/psiginfo-data.h: Likewise.
58000 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58002         [BZ #15764]
58003         * locale/setlocale.c: Fix typo.
58005 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58007         [BZ #16036]
58008         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58009         signaling NaN arguments.
58010         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58011         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58013         [BZ #14910]
58014         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58015         unordered operands.
58016         * soft-fp/gesf2.c (__gesf2): Likewise.
58017         * soft-fp/getf2.c (__getf2): Likewise.
58018         * soft-fp/ledf2.c (__ledf2): Likewise.
58019         * soft-fp/lesf2.c (__lesf2): Likewise.
58020         * soft-fp/letf2.c (__letf2): Likewise.
58022         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58023         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58024         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58025         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58026         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58027         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58028         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58029         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58030         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58031         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58032         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58033         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58034         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58035         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58036         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58037         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58038         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58039         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58040         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58041         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58042         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58043         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58044         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58045         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58046         * soft-fp/floattidf.c (__floattidf): Likewise.
58047         * soft-fp/floattisf.c (__floattisf): Likewise.
58048         * soft-fp/floattitf.c (__floattitf): Likewise.
58049         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58050         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58051         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58052         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58053         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58054         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58055         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58056         * soft-fp/gesf2.c (__gesf2): Likewise.
58057         * soft-fp/getf2.c (__getf2): Likewise.
58058         * soft-fp/ledf2.c (__ledf2): Likewise.
58059         * soft-fp/lesf2.c (__lesf2): Likewise.
58060         * soft-fp/letf2.c (__letf2): Likewise.
58062         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58063         Undefine and redefine.
58064         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58065         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58066         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58067         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58068         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58069         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58070         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58071         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58072         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58073         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58074         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58075         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58076         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58077         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58078         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58080         [BZ #16032]
58081         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58082         without decrementing exponent if mantissa >= that for the
58083         denominator, not >.
58084         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58085         denominator, not >.  Decrement exponent in < case instead of
58086         incrementing in >= case.
58087         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58088         without decrementing exponent if mantissa >= that for the
58089         denominator, not >.
58091         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58092         computing saturated result for unsigned overflow.
58094 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58095             Jeff Law  <law@redhat.com>
58097         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58098         (atan2Mp): Add systemtap probe marker.
58099         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58100         (__ieee754_log): Add systemtap probe marker.
58101         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58102         (atanMp): Add systemtap probe marker.
58103         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58104         (tanMp): Add systemtap probe marker.
58105         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58106         (__slowexp): Add systemtap probe marker.
58107         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58108         (__slowpow): Add systemtap probe marker.
58109         * manual/probes.texi: Document probes.
58111 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58113         [BZ #15362]
58114         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58115         written.
58116         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58117         written.
58118         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58119         written to buffer but not flushed.
58120         * libio/iofwrite_u.c:  Likewise.
58121         * libio/iopadn.c:  Return bytes returned even if EOF was
58122         encountered.
58123         * libio/iowpadn.c:  Likewise.
58124         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58125         if _IO_padn does not write the whole buffer.
58126         [!COMPILE_WPRINTF] (PAD): Likewise.
58128 2013-10-10  David S. Miller  <davem@davemloft.net>
58130         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58131         directory block.
58133 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58135         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58136         instead of FSF address.
58137         * soft-fp/fixdfti.c: Likewise.
58138         * soft-fp/fixsfti.c: Likewise.
58139         * soft-fp/fixtfti.c: Likewise.
58140         * soft-fp/fixunsdfti.c: Likewise.
58141         * soft-fp/fixunssfti.c: Likewise.
58142         * soft-fp/fixunstfti.c: Likewise.
58143         * soft-fp/floattidf.c: Likewise.
58144         * soft-fp/floattisf.c: Likewise.
58145         * soft-fp/floattitf.c: Likewise.
58146         * soft-fp/floatuntidf.c: Likewise.
58147         * soft-fp/floatuntisf.c: Likewise.
58148         * soft-fp/floatuntitf.c: Likewise.
58149         * soft-fp/trunctfxf2.c: Likewise.
58151         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58152         * soft-fp/fixdfti.c: Likewise.
58153         * soft-fp/fixsfti.c: Likewise.
58154         * soft-fp/fixtfti.c: Likewise.
58155         * soft-fp/fixunsdfti.c: Likewise.
58156         * soft-fp/fixunssfti.c: Likewise.
58157         * soft-fp/fixunstfti.c: Likewise.
58158         * soft-fp/floattidf.c: Likewise.
58159         * soft-fp/floattisf.c: Likewise.
58160         * soft-fp/floattitf.c: Likewise.
58161         * soft-fp/floatuntidf.c: Likewise.
58162         * soft-fp/floatuntisf.c: Likewise.
58163         * soft-fp/floatuntitf.c: Likewise.
58164         * soft-fp/trunctfxf2.c: Likewise.
58166 2013-10-10  David S. Miller  <davem@davemloft.net>
58168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58170 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58173         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58174         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58175         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58176         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58177         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58178         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58180         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58181         for NaNs before doing comparisons on argument.
58182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58183         Likewise.
58185 2013-10-10  Will Newton  <will.newton@linaro.org>
58187         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58188         passed to _int_memalign does not overflow.
58190 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58192         * scripts/bench.pl: Add include-sources directive.
58193         * benchtests/README: Update documentation.
58195 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58197         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58198         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58199         instead of FP_INIT_ROUNDMODE.
58200         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58201         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58203         [BZ #16034]
58204         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58205         copy class of input value.
58206         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58207         not handle exceptions.
58208         * soft-fp/negsf2.c (__negsf2): Likewise.
58209         * soft-fp/negtf2.c (__negtf2): Likewise.
58210         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58212 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58214         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58215         semicolon.  From Linux kernel.
58217 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58219         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58221 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58223         [BZ #156]
58224         * manual/socket.texi: Added statement about buffer
58225         for gethostbyname2_r.
58227 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58229         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58230         Use .p2align directive instead, throughout.
58231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58232         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58233         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58236         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58237         * sysdeps/x86_64/strchr.S: Likewise.
58238         * sysdeps/x86_64/strrchr.S: Likewise.
58240 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58242         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58244         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58246         * sysdeps/generic/math_private.h (__mpsin1): Remove
58247         declaration.
58248         (__mpcos1): Likewise.
58249         (__mpsin): New argument __range_reduce.
58250         (__mpcos): Likewise.
58251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58252         (slow): Use __mpsin and __mpcos.
58253         (slow1): Likewise.
58254         (slow2): Likewise.
58255         (sloww): Likewise.
58256         (sloww1): Likewise.
58257         (sloww2): Likewise.
58258         (bsloww): Likewise.
58259         (bsloww1): Likewise.
58260         (bsloww2): Likewise.
58261         (cslow2): Likewise.
58262         (csloww): Likewise.
58263         (csloww1): Likewise.
58264         (csloww2): Likewise.
58265         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58266         range_reduce.  Merge in __mpsin1.
58267         (__mpcos): Likewise.
58268         (__mpsin1): Remove.
58269         (__mpcos1): Likewise.
58271 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58273         * locale/loadlocale.c (_nl_intern_locale_data): Use
58274         LOCFILE_ALIGNED_P.
58275         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58276         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58277         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58278         obstack data is appropriately aligned.
58279         (obstack_int32_grow_fast): Likewise.
58280         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58281         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58282         (add_locale_uint32_array): Likewise.
58284 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58286         * benchtests/Makefile: Remove ARGLIST and RET variables.
58287         ($(objpfx)bench-%.c): Pass only function name to the script.
58288         * benchtests/README: Update documentation.
58289         * benchtests/acos-inputs: Add new directives.
58290         * benchtests/acosh-inputs: Likewise.
58291         * benchtests/asin-inputs: Likewise.
58292         * benchtests/asinh-inputs: Likewise.
58293         * benchtests/atan-inputs: Likewise.
58294         * benchtests/atanh-inputs: Likewise.
58295         * benchtests/cos-inputs: Likewise.
58296         * benchtests/cosh-inputs: Likewise.
58297         * benchtests/exp-inputs: Likewise.
58298         * benchtests/log-inputs: Likewise.
58299         * benchtests/pow-inputs: Likewise.
58300         * benchtests/rint-inputs: Likewise.
58301         * benchtests/sin-inputs: Likewise.
58302         * benchtests/sinh-inputs: Likewise.
58303         * benchtests/tan-inputs: Likewise.
58304         * benchtests/tanh-inputs: Likewise.
58305         * scripts/bench.pl: Add support for new directives.
58307 2013-10-07  Alan Modra  <amodra@gmail.com>
58309         * README: Fix careless merge.
58311 2013-10-05  Alan Modra  <amodra@gmail.com>
58313         * NEWS: Mention powerpc64le support and bugs fixed.
58314         * README: Both big-endian and little-endian powerpc64 supported.
58316 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58318         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58319         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58320         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58321         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58323 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58325         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58326         match prototype.
58328 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58330         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58331         Move -mhard-float appending from
58332         ports/sysdeps/powerpc/powerpc32/Makefile.
58333         [$(with-fp) = yes] (ASFLAGS): Likewise.
58334         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58335         * sysdeps/powerpc/nofpu: Move directory from
58336         ports/sysdeps/powerpc/nofpu.
58337         * sysdeps/powerpc/soft-fp: Move directory from
58338         ports/sysdeps/powerpc/soft-fp.
58339         * sysdeps/powerpc/powerpc32/405: Move directory from
58340         ports/sysdeps/powerpc/powerpc32/405.
58341         * sysdeps/powerpc/powerpc32/440: Move directory from
58342         ports/sysdeps/powerpc/powerpc32/440.
58343         * sysdeps/powerpc/powerpc32/464: Move directory from
58344         ports/sysdeps/powerpc/powerpc32/464.
58345         * sysdeps/powerpc/powerpc32/476: Move directory from
58346         ports/sysdeps/powerpc/powerpc32/476.
58347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58357         * README: Update for powerpc-*-linux-gnu software floating point
58358         support in libc.
58360         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58361         case to powerpc/powerpc32*.
58362         * sysdeps/unix/sysv/linux/configure: Regenerated.
58364         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58365         (_FPU_MASK_OM): Define as 0x04.
58366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58368         0x00c10080.
58369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58370         0x0000003c.
58371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58374         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58375         getcontext_e500.
58376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58377         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58378         setcontext_e500.
58379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58381         and setcontext_e500.
58383 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58385         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58387 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58389         * manual/threads.texi (Default Thread Attributes): Fix typo.
58391 2013-10-04  Will Newton  <will.newton@linaro.org>
58393         * malloc/Makefile: Add tst-memalign.
58394         * malloc/tst-memalign.c: New file.
58396         * malloc/tst-posix_memalign.c: Add comments.
58397         (do_test): Add comments and call free on all potentially
58398         allocated pointers. Add space after cast.
58400         * malloc/tst-pvalloc.c: Add comments.
58401         (do_test): Add comments and call free on all potentially
58402         allocated pointers. Remove duplicate check for NULL pointer.
58403         Add space after cast.
58405         * malloc/tst-valloc.c: Add comments.
58406         (do_test): Add comments and call free on all potentially
58407         allocated pointers. Remove duplicate check for NULL pointer.
58408         Add space after cast.
58410 2013-10-04  Alan Modra  <amodra@gmail.com>
58412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58413         Use stdint types in rather than __attribute__((mode())).
58414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58416 2013-10-04  Alan Modra  <amodra@gmail.com>
58418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58419         Correct handling of unaligned relocs for little-endian.
58420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58422 2013-10-04  Alan Modra  <amodra@gmail.com>
58424         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58425         * configure: Regenerate.
58426         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58427         * shlib-versions: Likewise.
58429 2013-10-04  Alan Modra  <amodra@gmail.com>
58431         * string/tester.c (test_memrchr): Increment reported test cycle.
58433 2013-10-04  Alan Modra  <amodra@gmail.com>
58435         * string/test-memcpy.c (do_one_test): When reporting errors, print
58436         string address and don't overrun end of string.
58438 2013-10-04  Alan Modra  <amodra@gmail.com>
58440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58441         insrdi.  Make better use of reg selection to speed exit slightly.
58442         Schedule entry path a little better.  Remove useless "are we done"
58443         checks on entry to main loop.  Handle wrapping around zero address.
58444         Correct main loop count.  Handle single left-over word from main
58445         loop inline rather than by using loop_small.  Remove extra word
58446         case in loop_small caused by wrong loop count.  Add little-endian
58447         support.
58448         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58450         cache hint.
58451         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58452         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58453         support.  Avoid rlwimi.
58454         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58456 2013-10-04  Alan Modra  <amodra@gmail.com>
58458         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58459         insrdi.  Formatting.
58460         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58461         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58462         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58463         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58464         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58465         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58467 2013-10-04  Alan Modra  <amodra@gmail.com>
58469         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58472         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58473         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58476         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58477         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
58478         use of regs.  Use power7 mtocrf.  Tidy function tails.
58480 2013-10-04  Alan Modra  <amodra@gmail.com>
58482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58483         Formatting.  Consistently use rXXX register defines or rN defines.
58484         Use early exit labels that avoid restoring unused non-volatile regs.
58485         Make cr field use more consistent with rWORDn compares.  Rename
58486         regs used as shift registers for unaligned loop, using rN defines
58487         for short lifetime/multiple use regs.
58488         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58489         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
58490         addi 1,1,64 to pop stack frame.  Simplify return value code.
58491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58493 2013-10-04  Alan Modra  <amodra@gmail.com>
58495         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58496         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
58497         rather than rlwimi.
58498         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58500         little-endian support.  Correct typos.
58501         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
58502         rather than rlwimi.
58503         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
58504         in loop and entry code to keep "and." results.
58505         (strchr): Add little-endian support.  Comment.  Move cntlzd
58506         earlier in tail.
58507         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58509 2013-10-04  Alan Modra  <amodra@gmail.com>
58511         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58512         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58513         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58514         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58516 2013-10-04  Alan Modra  <amodra@gmail.com>
58518         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58519         (rTMP): Define as r11.
58520         (strcmp): Add little-endian support.  Optimise tail.
58521         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58522         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58523         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58524         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58525         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58529 2013-10-04  Alan Modra  <amodra@gmail.com>
58531         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58532         little-endian support.  Remove unnecessary "are we done" tests.
58533         Handle "s" wrapping around zero and extremely large "size".
58534         Correct main loop count.  Handle single left-over word from main
58535         loop inline rather than by using small_loop.  Correct comments.
58536         Delete "zero" tail, use "end_max" instead.
58537         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58539 2013-10-04  Alan Modra  <amodra@gmail.com>
58541         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58542         support.  Don't branch over align.
58543         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58544         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58545         support.  Rearrange tmp reg use to suit.  Comment.
58546         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58548 2013-10-04  Alan Modra  <amodra@gmail.com>
58550         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58552 2013-10-04  Alan Modra  <amodra@gmail.com>
58554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58555         conditional form of branch and link when obtaining pc.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58558 2013-10-04  Alan Modra  <amodra@gmail.com>
58560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58561         HIWORD/LOWORD.
58562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58565 2013-10-04  Alan Modra  <amodra@gmail.com>
58567         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58568         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58569         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58571         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58572         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58573         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58574         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58575         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58576         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58578 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58579             Alistair Popple <alistair@ozlabs.au.ibm.com>
58580             Alan Modra <amodra@gmail.com>
58582         [BZ #15723]
58583         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58584         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58585         _dl_hwcap access for little-endian.
58586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58587         destroy vmx regs when saving unaligned.
58588         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58589         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58590         destroy vmx regs when saving unaligned.
58592 2013-10-04  Alan Modra  <amodra@gmail.com>
58594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58595         Don't use a union to pack hi/low value.
58597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58599         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58600         for little-endian.
58601         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58603         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58605         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58607 2013-10-04  Alan Modra  <amodra@gmail.com>
58609         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58610         constants to usual value for .cst8 section, and remove redundant
58611         high address load.
58612         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58613         constant for 0x1p52.  Load little-endian words of double from
58614         correct stack offsets.
58616 2013-10-04  Alan Modra  <amodra@gmail.com>
58618         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58619         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58620         words of double from correct stack offsets.
58621         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58622         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58623         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58626         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58628         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58629         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58633         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58636         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58637         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58639 2013-10-04  Alan Modra  <amodra@gmail.com>
58641         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58642         64-bit int/double union.
58643         (_FPU_SETCW): Likewise.
58644         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58645         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58647 2013-10-04  Alan Modra  <amodra@gmail.com>
58649         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58650         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58652 2013-10-04  Alan Modra  <amodra@gmail.com>
58654         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58655         use vector int constants.
58656         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58658 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58660         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58661         array with long long.
58662         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58663         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58664         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58665         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58666         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58667         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58668         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58669         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58670         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58671         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58672         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58673         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58674         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58678         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58679         (__signbit): Likewise.  Correct for little-endian.
58680         (__signbitl): Call __signbit.
58681         (lrint): Correct for little-endian.
58682         (lrintf): Call lrint.
58684 2013-10-04  Alan Modra  <amodra@gmail.com>
58686         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58687         union 32-bit int array member with 64-bit int array.
58688         (t515, tm256): Double rather than long double.
58689         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58691 2013-10-04  Alan Modra  <amodra@gmail.com>
58693         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58694         Delete.
58695         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58696         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58697         version of math_ldbl.h.
58699 2013-10-04  Alan Modra  <amodra@gmail.com>
58701         [BZ #15734], [BZ #15735]
58702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58703         all uses of ieee875 long double macros and unions.  Simplify test
58704         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58705         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58706         normalize after ldbl_extract_mantissa, and don't add hidden bit
58707         already handled.  Don't treat low word of ieee854 mantissa like
58708         low word of IBM long double and mask off bit when testing for
58709         zero.
58710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58711         all uses of ieee875 long double macros and unions.  Simplify tests
58712         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58713         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58714         two1022, instead use their values.  Recognise that tests for large
58715         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58716         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58717         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58718         test for 0.0L and nan.  Correct negation.
58719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58720         ieee875 long double macros and unions.  Correct output for large
58721         magnitude x.  Correct absolute value calculation.
58722         (__erfcl): Likewise.
58723         * math/libm-test.inc: Add tests for errors discovered in IBM long
58724         double versions of fmodl, remainderl, erfl and erfcl.
58726 2013-10-04  Alan Modra  <amodra@gmail.com>
58728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58729         all uses of ieee854 long double macros and unions.  Simplify tests
58730         for long doubles that are fully specified by the high double.
58731         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58732         Likewise.
58733         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58734         Remove dead code too.
58735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58736         (__ieee754_ynl): Likewise.
58737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58740         Remove dead code too.
58741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58743         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58745         Simplify.
58746         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58747         Simplify.
58748         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58751         Comment on variable precision.
58752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58754         Likewise.
58755         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58757         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58759         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58761 2013-10-04  Alan Modra  <amodra@gmail.com>
58763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58765         all uses of ieee854 long double macros and unions.
58766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58770         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58771         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58772         Likewise.
58773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58774         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58775         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58776         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58779         Simplify sign and nan test too.
58780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58781         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58784         Likewise.
58785         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58786         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58787         Likewise.
58788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58792         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58793         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58795 2013-10-04  Alan Modra  <amodra@gmail.com>
58797         * stdio-common/printf_size.c (__printf_size): Don't use
58798         union ieee854_long_double in fpnum union.
58799         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58800         signbit macro to retrieve sign from long double.
58801         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58802         retrieve sign from long double.
58803         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58804         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58805         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58806         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58807         * math/test-misc.c (main): Don't use union ieee854_long_double.
58809 2013-10-04  Alan Modra  <amodra@gmail.com>
58811         [BZ #15680]
58812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58813         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58814         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58815         calculation.  Remove unnecessary test for denormal exponent.
58816         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58817         Correct handling of denormals.  Avoid undefined shift behaviour.
58818         Correct normalisation of low mantissa when low double is denormal.
58819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58820         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58821         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58822         Correct normalisation of low mantissa.  Test for overflow of high
58823         mantissa and normalise.
58824         (ldbl_nearbyint): Use more readable constant for two52.
58825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58826         (__mpn_construct_long_double): Fix test for overflow of high
58827         mantissa and correct normalisation.  Avoid undefined shift.
58829 2013-10-04  Alan Modra  <amodra@gmail.com>
58831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58832         (union ibm_extended_long_double): Define as an array of ieee754_double.
58833         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58834         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58835         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58836         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58838         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58840         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58841         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58842         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58843         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58845 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58847         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58848         page size instead of calling getpagesize.
58850         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58851         (LOCFILE_ALIGN_MASK): Likewise.
58852         (LOCFILE_ALIGN_UP): Likewise.
58853         (LOCFILE_ALIGNED_P): Likewise.
58854         * locale/programs/ld-collate.c (collate_output): Use the new
58855         macros instead of __alignof__ (int32_t).
58856         * locale/weight.h (findidx): Likewise.
58858 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58860         [BZ #431]
58861         * manual/string.texi: Fix strncat and wcsncat.
58863 2013-10-03  Brooks Moses  <bmoses@google.com>
58865         [BZ #15915]
58866         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58867         * Makerules: ...here, and adjust associated comments.
58869 2013-10-02  Will Newton  <will.newton@linaro.org>
58871         * malloc/Makefile: Add tst-pvalloc.
58872         * malloc/tst-pvalloc.c: New file.
58874 2013-10-02  Will Newton  <will.newton@linaro.org>
58876         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58877         improve test coverage.
58879 2013-10-02  Will Newton  <will.newton@linaro.org>
58881         * malloc/Makefile: Add tst-posix_memalign.
58882         * malloc/tst-posix_memalign.c: New file.
58884 2013-10-01  Eric Blake  <eblake@redhat.com>
58886         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58887         Use __THROWNL rather than __THROW on static functions.
58889 2013-09-30  Petr Machata  <pmachata@redhat.com>
58891         * elf/elf.h (R_AARCH64_ABS16): New macro.
58892         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58893         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58894         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58895         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58896         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58897         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58898         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58899         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58900         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58901         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58902         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58903         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58904         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58905         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58906         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58907         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58908         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58909         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58910         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58911         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58912         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58913         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58914         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58915         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58916         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58917         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58918         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58919         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58920         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58921         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58922         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58923         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58924         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58925         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58926         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58927         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58928         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58929         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58930         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58931         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58932         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58933         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58934         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58935         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58936         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58937         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58938         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58939         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58940         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58941         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58942         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58943         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58944         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58945         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58946         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58947         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58948         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58949         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58950         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58951         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58952         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58953         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58954         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58955         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58956         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58957         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58958         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58959         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58960         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58961         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58962         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58963         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58964         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58965         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58966         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58967         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58968         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58969         (R_AARCH64_TLSDESC_LDR): Likewise.
58970         (R_AARCH64_TLSDESC_ADD): Likewise.
58971         (R_AARCH64_TLSDESC_CALL): Likewise.
58973 2013-09-30  Andreas Schwab  <schwab@suse.de>
58975         [BZ #15048]
58976         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58977         the nss database lookup.
58978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58981 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58983         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58985 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58987         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58988         ${Bash-specific parameter/pattern/string} parameter expansion.
58989         * sysdeps/unix/make-syscalls.sh: Likewise.
58991 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58993         * sysdeps/sh/stackguard-macros.h: New file.
58995 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58999         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59000         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59001         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59002         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59004 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59006         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59007         Fix thread ID register.
59009 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59011         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59012         [POSIX || UNIX98]: Require rather than permitting all symbols from
59013         <time.h>.
59014         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59015         element of struct sched_param.
59016         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59017         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59018         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59019         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59020         constant.
59022 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59024         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59025         argument calculation.
59027 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59029         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59030         Expect macro.
59031         [POSIX] (pthread_attr_t): Do not require type.
59032         [POSIX] (pthread_cond_t): Likewise.
59033         [POSIX] (pthread_condattr_t): Likewise.
59034         [POSIX] (pthread_key_t): Likewise.
59035         [POSIX] (pthread_mutex_t): Likewise.
59036         [POSIX] (pthread_mutexattr_t): Likewise.
59037         [POSIX] (pthread_once_t): Likewise.
59038         [POSIX] (pthread_t): Likewise.
59039         [POSIX-based standards] (pthread_atfork): Expect function.
59041 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59042             Richard Sandiford  <richard@codesourcery.com>
59044         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59045         (swap_endianness_p): New extern variable.
59046         (set_big_endian): New inline function.
59047         (maybe_swap_uint32): Likewise.
59048         (maybe_swap_uint32_array): Likewise.
59049         (maybe_swap_uint32_obstack): Likewise.
59050         * locale/programs/locfile.c: Include <stdbool.h>.
59051         (swap_endianness_p): New variable.
59052         (add_locale_uint32): Call maybe_swap_uint32.
59053         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59054         (write_locale_data): Call maybe_swap_uint32_array.
59055         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59056         maybe_swap_uint32.
59057         (obstack_int32_grow_fast): Likewise.
59058         (output_weightwc): Call maybe_swap_uint32_obstack.
59059         (collate_output): Likewise.
59060         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59061         (OPT_LITTLE_ENDIAN): Likewise.
59062         (options): Add --little-endian and --big-endian options.
59063         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59064         * locale/programs/locarchive.c: Include "locfile.h".
59065         (GET): New macro.
59066         (SET): Likewise.
59067         (INC): Likewise.
59068         (create_archive): Use the new macros to access fields of
59069         structures directly mapped from or written to locale archives.
59070         (oldlocrecentcmp): Likewise.
59071         (enlarge_archive): Likewise.
59072         (insert_name): Likewise.
59073         (add_alias): Likewise.
59074         (add_locale): Likewise.
59075         (delete_locales_from_archive): Likewise.
59076         (show_archive_content): Likewise.
59077         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59078         locale data.
59080 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59082         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59083         http://www.gnu.org/doc/freemanuals.texi.
59084         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59086 2013-09-24  Will Newton  <will.newton@linaro.org>
59088         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59089         macro.
59091 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59093         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59094         unsigned char.
59096 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59098         * manual/threads.texi (POSIX Threads): Fix a typo.
59100 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59102         [BZ #14547]
59103         * string/tst-strcoll-overflow.c: New test case.
59104         * string/Makefile (xtests): Add tst-strcoll-overflow.
59105         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59106         cache if string sizes may cause integer overflow.
59108         [BZ #14547]
59109         * string/strcoll_l.c (coll_seq): New members rule, idx,
59110         save_idx and back_us.
59111         (get_next_seq_nocache): New function.
59112         (do_compare_nocache): New function.
59113         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59114         when malloc fails.
59116 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59118         [BZ #15754]
59119         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59120         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59121         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59123         [BZ #15754]
59124         * elf/Makefile (tests): Add tst-ptrguard1.
59125         (tests-static): Add tst-ptrguard1-static.
59126         (tst-ptrguard1-ARGS): Define.
59127         (tst-ptrguard1-static-ARGS): Define.
59128         * elf/tst-ptrguard1.c: New file.
59129         * elf/tst-ptrguard1-static.c: New file.
59130         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59131         * sysdeps/i386/stackguard-macros.h: Likewise.
59132         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59133         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59134         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59136         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59137         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59139 2013-09-23  Hector Marco  <hecmargi@upv.es>
59140             Ismael Ripoll  <iripoll@disca.upv.es>
59141             Carlos O'Donell  <carlos@redhat.com>
59143         [BZ #15754]
59144         * sysdeps/generic/stackguard-macros.h: Define
59145         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59146         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59147         Define __pointer_chk_guard_local.
59148         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59149         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59151 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59153         [BZ #15859]
59154         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59156 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59158         * include/string.h (__ffs): Declare as hidden.
59159         * string/ffs.c (__ffs): Define as hidden.
59160         * sysdeps/i386/ffs.c (__ffs): Likewise.
59161         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59162         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59163         * sysdeps/s390/ffs.c (__ffs): Likewise.
59164         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59166 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59168         * NEWS: Mention malloc probes.
59170         * malloc/arena.c (new_heap): New memory_heap_new probe.
59171         (grow_heap): New memory_heap_more probe.
59172         (shrink_heap): New memory_heap_less probe.
59173         (heap_trim): New memory_heap_free probe.
59174         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59175         (systrim): New memory_sbrk_less probe.
59176         * manual/probes.texi: Document them.
59178         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59179         * manual/probes.texi: Document it.
59181         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59182         (__libc_realloc): Add memory_realloc_retry probe.
59183         (__libc_memalign): Add memory_memalign_retry probe.
59184         (__libc_valloc): Add memory_valloc_retry probe.
59185         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59186         (__libc_calloc): Add memory_calloc_retry probe.
59187         * manual/probes.texi: Document them.
59189         * malloc/arena.c (get_free_list): Add probe
59190         memory_arena_reuse_free_list.
59191         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59192         and memory_arena_reuse.
59193         (arena_get2) [!PER_THREAD]: Likewise.
59194         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59195         memory_arena_reuse_realloc.
59196         * manual/probes.texi: Document them.
59198         * malloc/malloc.c (__libc_free): Add
59199         memory_mallopt_free_dyn_thresholds probe.
59200         (__libc_mallopt): Add multiple memory_mallopt probes.
59201         * manual/probes.texi: Document them.
59203         * malloc/malloc.c: Include stap-probe.h.
59204         (__libc_mallopt): Add memory_mallopt probe.
59205         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59206         * manual/probes.texi: New.
59207         * manual/Makefile (chapters): Add probes.
59208         * manual/threads.texi: Set next node.
59210 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59212         [BZ #15963, #13985]
59213         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59214         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59215         Add `Chinese' to `nan' entry name.
59217 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59219         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59220         (POLYNOMIAL): Likewise.
59221         (TAYLOR_SINCOS): Likewise.
59222         (TAYLOR_SLOW): Likewise.
59223         (__sin): Use TAYLOR_SINCOS.
59224         (__cos): Likewise.
59225         (slow): Use TAYLOR_SLOW.
59226         (sloww): Likewise.
59227         (bsloww): Likewise.
59228         (csloww): Likewise.
59230 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59232         * stdlib/strtod_l.c: Fix buffer overrun.
59234 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59236         * benchtests/Makefile (bench): Add sincos.
59237         * benchtests/bench-sincos.c: New file.
59239         * math/libm-test.inc (cos_test_data): New test inputs.
59240         (sin_test_data): Likewise.
59242         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59243         macro.
59244         (__sin): Use it.
59245         (__cos): Likewise.
59246         (slow1): Likewise.
59247         (slow2): Likewise.
59248         (sloww1): Likewise.
59249         (sloww2): Likewise.
59250         (bsloww1): Likewise.
59251         (bsloww2): Likewise.
59252         (cslow2): Likewise.
59253         (csloww1): Likewise.
59254         (csloww2): Likewise.
59256         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59257         function.
59258         (__sin): Use it.
59259         (__cos): Likewise.
59261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59262         gotos.
59263         (__cos): Likewise.
59265 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59267         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59268         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59269         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59270         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59271         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59272         * elf/cache.c (print_entry): Handle the new cache flags.
59274 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59275             Aldy Hernandez  <aldyh@redhat.com>
59277         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59278         Change condition to [_SOFT_FLOAT].
59279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59291         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59294         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59295         declaration.
59297 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59299         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59300         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59301         (__longjmp): Use LOAD_GP to load saved GPRs.
59302         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59303         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59304         (__sigsetjmp): Use SAVE_GP to save GPRs.
59306         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59307         Do not append -msoft-float.
59308         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59310 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59312         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59314 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59316         [BZ #15966]
59317         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59318         (_FPU_GETCW): Use initial "__" on variable and field names but not
59319         on macro parameter name.
59320         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59321         parentheses around reference to macro parameter.
59323 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59325         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59326         prototype.
59327         (ctype_startup): Use uint32_t in cast and sizeof for
59328         ctype->charnames.
59330 2013-09-11  Jia Liu  <proljc@gmail.com>
59332         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59333         __daddr_t_defined.
59334         [__FreeBSD__]: Likewise.
59336 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59339         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59340         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59341         (strchr): Remove __strchr_sse42 ifunc selection.
59342         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59343         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59345 2013-09-11  Will Newton  <will.newton@linaro.org>
59347         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59348         parameter to RES. Remove hardcoded 1000 value.
59349         * benchtests/bench-skeleton.c (main): Pass RES parameter
59350         to TIMING_INIT and multiply result by 1000.
59352 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59356 2013-09-11  Andreas Schwab  <schwab@suse.de>
59358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59359         if not defined.
59360         (O_TMPFILE) [__USE_GNU]: Define.
59361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59362         Define.
59364 2013-09-11  Will Newton  <will.newton@linaro.org>
59366         [BZ #15857]
59367         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59368         does not overflow.
59370 2013-09-11  Will Newton  <will.newton@linaro.org>
59372         [BZ #15856]
59373         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59374         does not overflow.
59376 2013-09-11  Will Newton  <will.newton@linaro.org>
59378         [BZ #15855]
59379         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59380         does not overflow.
59382 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59384         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59385         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59386         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59387         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59388         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59390 2013-09-10  Allan McRae  <allan@archlinux.org>
59392         [BZ #15748]
59393         * manual/arith.texi (Parsing of Floats): Clarify
59394         cross-reference.
59396         [BZ #15849]
59397         * manual/install.texi (Running make install): Mention
59398         --enable-pt-chown.
59399         * INSTALL: Regenerated.
59401 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59403         * csu/init-first.c (_init): Remove the !SHARED condition around
59404         FPU control word initialization.
59405         * elf/dl-support.c (_dl_fpu_control): New variable.
59406         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59407         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59408         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59409         * math/test-fpucw-static.c: New file.
59410         * math/test-fpucw-ieee.c: New file.
59411         * math/test-fpucw-ieee-static.c: New file.
59412         * math/Makefile (tests): Add `test-fpucw-ieee' and
59413         `$(tests-static)'.
59414         (tests-static): New variable.
59415         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59416         dependency to...
59417         [($(build-shared),yes)]
59418         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59419         ... this.
59420         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59421         New dependency.
59423 2013-09-09  Allan McRae  <allan@archlinux.org>
59425         [BZ #15939]
59426         * manual/string.texi (Collation Functions): Fix typo in
59427         strcoll example.
59428         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59430         [BZ #15893]
59431         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59433         [BZ #15892]
59434         * libio/memstream.c (open_memstream): Fix memory leak.
59435         * libio/wmemstream.c (open_wmemstream): Likewise.
59437         [BZ #15895]
59438         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59440 2013-09-09  Will Newton  <will.newton@linaro.org>
59442         * malloc/Makefile: Add tst-realloc to tests.
59443         * malloc/tst-realloc.c: New file.
59445 2013-09-09  Allan McRae  <allan@archlinux.org>
59447         [BZ #15844]
59448         * COPYING: Update from GNU website to fix FSF address.
59449         * COPYING.LIB: Likewise.
59451 2013-09-06  David S. Miller  <davem@davemloft.net>
59453         * po/zh_TW.po: Update Chinese (traditional) translation from
59454         translation project.
59456 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59457             Joseph Myers  <joseph@codesourcery.com>
59459         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59460         "localeinfo.h".
59461         (obstack_chunk_alloc): New macro.
59462         (obstack_chunk_free): Likewise.
59463         (record_offset): New function.
59464         (init_locale_data): Likewise.
59465         (align_locale_data): Likewise.
59466         (add_locale_empty): Likewise.
59467         (add_locale_raw_data): Likewise.
59468         (add_locale_raw_obstack): Likewise.
59469         (add_locale_string): Likewise.
59470         (add_locale_wstring): Likewise.
59471         (add_locale_uint32): Likewise.
59472         (add_locale_uint32_array): Likewise.
59473         (add_locale_char): Likewise.
59474         (start_locale_structure): Likewise.
59475         (end_locale_structure): Likewise.
59476         (start_locale_prelude): Likewise.
59477         (end_locale_prelude): Likewise.
59478         (write_locale_data): Take locale_file structure rather than an
59479         iovec.
59480         * locale/programs/locfile.h: Include "obstack.h".
59481         (struct locale_file): Change to store locale file contents instead
59482         of header.
59483         (init_locale_data): New prototype.
59484         (align_locale_data): Likewise.
59485         (add_locale_empty): Likewise.
59486         (add_locale_raw_data): Likewise.
59487         (add_locale_raw_obstack): Likewise.
59488         (add_locale_string): Likewise.
59489         (add_locale_wstring): Likewise.
59490         (add_locale_uint32): Likewise.
59491         (add_locale_uint32_array): Likewise.
59492         (add_locale_char): Likewise.
59493         (start_locale_structure): Likewise.
59494         (end_locale_structure): Likewise.
59495         (start_locale_prelude): Likewise.
59496         (end_locale_prelude): Likewise.
59497         (write_locale_data): Update prototype.
59498         * locale/programs/3level.h (struct TABLE): Remove result field.
59499         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59500         Use new locale_file interface.
59501         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59502         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59503         * locale/programs/ld-address.c (address_output): Use new
59504         locale_file interface.
59505         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59506         NO_ADD_LOCALE.
59507         (collate_finish): Don't call collseq_table_finalize.
59508         (collate_output): Use new locale_file interface.
59509         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59510         in file.
59511         (NO_FINALIZE): Change to NO_ADD_LOCALE.
59512         (TABLE): Move defines earlier in file.
59513         (ELEMENT): Likewise.
59514         (DEFAULT): Likewise.
59515         (wctrans_table_add): Move macro and inline function earlier in
59516         file.
59517         (struct wctype_table): Move type earlier in file.
59518         (add_locale_wctype_table): New static prototype.
59519         (struct locale_ctype_t): Use logical types instead of struct iovec
59520         pointers for members.
59521         (ctype_output): Use new locale_file interface.
59522         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59523         new locale_file interface.
59524         (allocate_arrays): Update for use of new locale_file interface.
59525         * locale/programs/ld-identification.c (identification_output): Use
59526         new locale_file interface.
59527         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59528         * locale/programs/ld-messages.c (messages_output): Likewise.
59529         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59530         * locale/programs/ld-name.c (name_output): Likewise.
59531         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59532         * locale/programs/ld-paper.c (paper_output): Likewise.
59533         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59534         * locale/programs/ld-time.c (time_output): Likewise.
59536 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59538         * benchtests/Makefile: Add memrchr benchmark.
59539         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59540         benchmark as memrchr.
59541         * benchtests/bench-memrchr-ifunc.c: New file.
59542         * benchtests/bench-memrchr.c: New file.
59544 2013-09-06   Will Newton  <will.newton@linaro.org>
59546         * benchtests/Makefile (string-bench): Add memcpy.
59548 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59549             Cong Wang  <amwang@redhat.com>
59551         [BZ #15850]
59552         * sysdeps/unix/sysv/linux/bits/in.h
59553         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59554         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59555         before __USE_KERNEL_IPV6_DEFS uses.
59556         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59557         IPPROTO_BEETPH.
59558         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59559         sockaddr_in6, or ipv6_mreq.
59561 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59563         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59564         memory access for final bytes in some large inputs.
59565         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59569         * string/test-memrchr.c: New file.
59570         * string/test-memrchr-ifunc.c: New file.
59571         * string/Makefile: Add new memrchr testcase.
59573 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59575         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59576         fanotify_init returns EPERM.
59578 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59580         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59581         errors.
59582         (top level): Treat second token from macro or constant entries for
59583         allowed headers as allowed.
59584         * include/complex.h: Condition internal declarations on
59585         [!_ISOMAC].
59586         * include/fenv.h: Condition include of <stdbool.h> and internal
59587         declarations on [!_ISOMAC].
59589 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59591         [BZ #15923]
59592         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59594 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59596         * configure.in (--enable-versioning): Remove configure option.
59597         (libc_cv_asm_symver_directive): Remove configure test.
59598         (libc_cv_ld_version_script_option): Likewise.
59599         (VERSIONING): Remove variable and AC_SUBST.
59600         (DO_VERSIONING): Remove AC_DEFINE.
59601         * configure: Regenerated.
59602         * config.h.in (DO_VERSIONING): Remove macro.
59603         * Makerules [$(versioning) = yes]: Change conditionals to
59604         [$(build-shared) = yes].
59605         * config.make.in (versioning): Remove variable.
59606         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59607         [$(build-shared) = yes].
59608         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59609         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59610         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59611         [$(build-shared) = yes].
59612         * extra-lib.mk [$(versioning) = yes]: Likewise.
59613         * hurd/Makefile [$(versioning) = yes]: Likewise.
59614         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59615         [SHARED].
59616         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59617         [SHARED].
59618         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59619         [SHARED && !NO_HIDDEN].
59620         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59621         [SHARED].
59622         [SHARED && DO_VERSIONING]: Likewise..
59623         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59624         [$(build-shared) = yes].
59625         * manual/install.texi (--disable-versioning): Remove
59626         documentation.
59627         * INSTALL: Regenerated.
59628         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59629         to [SHARED].
59630         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59631         [$(build-shared) = yes].
59632         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59633         * sysdeps/i386/i686/multiarch/strstr-c.c
59634         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59635         [SHARED && !NO_HIDDEN].
59636         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59637         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59638         * sysdeps/powerpc/powerpc32/dl-machine.c
59639         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59640         * sysdeps/powerpc/powerpc32/sysdep.h
59641         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59642         to [SHARED && PIC && !NO_HIDDEN].
59643         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59644         conditional to [SHARED].
59646 2013-09-04   Will Newton  <will.newton@linaro.org>
59648         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59649         * benchtests/bench-string.h: Include bench-timing.h instead
59650         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59651         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59652         call to HP_TIMING_DIFF_INIT.
59653         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59654         instead of hp-timing.h macros.
59655         * benchtests/bench-memchr.c: Likewise.
59656         * benchtests/bench-memcmp.c: Likewise.
59657         * benchtests/bench-memcpy.c: Likewise.
59658         * benchtests/bench-memmem.c: Likewise.
59659         * benchtests/bench-memmove.c: Likewise.
59660         * benchtests/bench-memset.c: Likewise.
59661         * benchtests/bench-rawmemchr.c: Likewise.
59662         * benchtests/bench-strcasecmp.c: Likewise.
59663         * benchtests/bench-strcasestr.c: Likewise.
59664         * benchtests/bench-strcat.c: Likewise.
59665         * benchtests/bench-strchr.c: Likewise.
59666         * benchtests/bench-strcmp.c: Likewise.
59667         * benchtests/bench-strcpy.c: Likewise.
59668         * benchtests/bench-strcpy_chk.c: Likewise.
59669         * benchtests/bench-strlen.c: Likewise.
59670         * benchtests/bench-strncasecmp.c: Likewise.
59671         * benchtests/bench-strncat.c: Likewise.
59672         * benchtests/bench-strncmp.c: Likewise.
59673         * benchtests/bench-strncpy.c: Likewise.
59674         * benchtests/bench-strnlen.c: Likewise.
59675         * benchtests/bench-strpbrk.c: Likewise.
59676         * benchtests/bench-strrchr.c: Likewise.
59677         * benchtests/bench-strspn.c: Likewise.
59678         * benchtests/bench-strstr.c: Likewise.
59680 2013-09-04  Will Newton  <will.newton@linaro.org>
59682         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59684 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59686         [BZ #15427]
59687         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59688         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59689         * math/libm-test.inc (lgamma_test_data): Add more tests.
59690         * sysdeps/i386/fpu/libm-test-ulps: Update.
59691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59693 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59695         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59697         Add ifunc.
59698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59699         Add strcmp-sse2-unaligned
59700         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59702 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59704         * Versions.def (libc): Add GLIBC_2.19.
59706 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59708         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59709         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59711 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59713         [BZ #14155]
59714         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59715         intermediate calculations in recurrence.
59716         (__ieee754_ynf): Likewise.
59717         * math/libm-test.inc (jn_test_data): Do not allow spurious
59718         underflow exception.  Add more tests.
59719         (yn_test_data): Add more tests.
59720         * sysdeps/i386/fpu/libm-test-ulps: Update.
59721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59723 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59725         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59727 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59729         * csu/init-first.c: Fix then/than typos.
59730         * locale/programs/ld-collate.c: Likewise.
59731         * locale/programs/linereader.h: Likewise.
59732         * manual/charset.texi: Likewise.
59733         * manual/filesys.texi: Likewise.
59734         * manual/stdio.texi: Likewise.
59735         * manual/string.texi: Likewise.
59736         * stdlib/fmtmsg.c: Likewise.
59737         * sysdeps/i386/stpncpy.S: Likewise.
59738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59739         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59741         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59743 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59745         * elf/dl-open.c: Fix typos.
59746         * iconvdata/gbbig5.c: Likewise.
59747         * iconvdata/iso-2022-jp.c: Likewise.
59748         * iconv/gconv_int.h: Likewise.
59749         * iconv/loop.c: Likewise.
59750         * nis/rpcsvc/nis.h: Likewise.
59751         * resolv/ns_name.c: Likewise.
59752         * stdio-common/vfscanf.c: Likewise.
59753         * streams/stropts.h: Likewise.
59754         * sunrpc/rpc_thread.c: Likewise.
59755         * sysdeps/i386/strpbrk.S: Likewise.
59756         * sysdeps/ieee754/k_standard.c: Likewise.
59757         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59759         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59760         * sysdeps/mach/hurd/profil.c: Likewise.
59761         * sysdeps/s390/dl-procinfo.h: Likewise.
59762         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59764         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59765         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59768 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59770         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59773 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59775         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59776         aix specific files.
59777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59780         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59781         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59782         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59783         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59784         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59786 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59787             Roland McGrath  <roland@hack.frob.com>
59789         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59790         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59792 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59794         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59795         __executable_start symbol instead of _start.
59797 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59799         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59800         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59801         Move macros to...
59802         * sysdeps/gnu/ldsodefs.h: ... this new file.
59804         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59805         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59806         instead of ELFOSABI_LINUX.
59808         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59809         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59810         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59811         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59812         Likewise.
59813         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59814         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59815         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59816         Likewise.
59817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59818         (ibm_extended_long_double): Add ieee_nan member.
59819         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59820         (do_test): New function.
59822         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59823         TEST_TRUNC.
59824         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59825         functions, renamed from truncdfsf_test, trunctfsf_test,
59826         trunctfdf_test.
59827         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59828         functions.
59829         (do_test): Run all these.
59831 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59833         * argp/argp-help.c: Fix typos.
59834         * argp/argp-parse.c: Likewise.
59835         * debug/backtracesyms.c: Likewise.
59836         * elf/elf.h: Likewise.
59837         * malloc/malloc.c: Likewise.
59838         * nis/nis_print.c: Likewise.
59839         * resolv/res_comp.c: Likewise.
59840         * stdlib/stdlib.h: Likewise.
59841         * sunrpc/clnt_tcp.c: Likewise.
59842         * sunrpc/clnt_udp.c: Likewise.
59843         * sunrpc/clnt_unix.c: Likewise.
59844         * sysdeps/unix/bsd/ptsname.c: Likewise.
59845         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59848         Likewise.
59849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59850         Likewise.
59851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59852         Likewise.
59853         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59855 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59857         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59860 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59862         [BZ #15897]
59863         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59864         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59865         ($(objpfx)bug-dl-leaf): New rule.
59866         ($(objpfx)bug-dl-leaf.so): Likewise.
59867         ($(objpfx)bug-dl-leaf.out): Likewise.
59868         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59869         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59870         * dlfcn/bug-dl-leaf.c: New test.
59871         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59872         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59873         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59874         (dlclose): Likewise.
59875         (dlmopen): Likewise.
59877 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59879         * include/netdb.h [!_ISOMAC]:
59880         Don't include <tls.h>.
59881         (h_errno, __libc_h_errno): Move declaration and macros out of
59882         [_LIBC_REENTRANT].
59884         * include/resolv.h [_RESOLV_H_]:
59885         Don't include <tls.h>.
59886         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59887         * resolv/res_libc.c: Don't include <tls.h>.
59888         (_res): Use __attribute__ ((nocommon)) in place of
59889         __attribute__ ((section (".bss"))).
59891         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59892         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59894         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59896         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59897         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59899         * resolv/res_mkquery.c: Include <sys/time.h>.
59901         * inet/ifreq.c: Moved to ...
59902         * sysdeps/unix/ifreq.c: ... here.
59903         * inet/ifreq.c: New file, true stub version.
59905         * socket/sa_len.c: New file.
59906         * socket/Makefile (aux): Add it.
59907         * sysdeps/unix/sysv/linux/Makefile
59908         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59909         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59910         and #include <socket/sa_len.c>.
59911         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59912         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59914         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59915         * bits/socket.h: ... here.
59917         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59918         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59919         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59921 2013-08-27  Andreas Schwab  <schwab@suse.de>
59923         [BZ #15736]
59924         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59925         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59926         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59927         * string/test-strcasecmp.c (test_main): Run tests in several
59928         locales.
59929         * string/test-strncasecmp.c (test_main): Likewise.
59931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59932         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59933         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59935         (__strncasecmp_ssse3) [PIC]: Likewise.
59937 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59939         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59941         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59942         instead of explicitly declaring xdecrypt.
59943         * nis/nss_nis/nis-publickey.c: Likewise.
59945 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59947         [BZ #15890]
59948         * nscd/aicache.c: Include res_hconf.h.
59949         (addhstaiX): Initialize res_hconf.
59951 2013-08-26  Andreas Schwab  <schwab@suse.de>
59953         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59954         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59956 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59958         * nscd/aicache.c (addhstaiX): Fix indentation.
59960 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59962         * configure.ac: Quote $build_pt_chown test.
59963         * configure: Regenerated.
59965 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59967         [BZ #15532]
59968         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59969         * math/s_cexpf.c (__cexpf): Likewise.
59970         * math/s_cexpl.c (__cexpl): Likewise.
59971         * math/libm-test.inc (cexp_test_data): Correct expected return
59972         value for NaN + i0.  Add another test.
59974 2013-08-22  David S. Miller  <davem@davemloft.net>
59976         * po/ca.po: Update Catalan translation from translation project.
59977         * po/uk.po: Add Ukrainian translations from translation project.
59979 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59981         [BZ #15797]
59982         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59983         is infinite, not alongside NaN test.
59984         * math/s_fdimf.c (__fdimf): Likewise.
59985         * math/s_fdiml.c (__fdiml): Likewise.
59986         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59987         errno is unchanged.
59989 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59991         * argp/argp-help.c: Fix typos.
59992         * crypt/speeds.c: Likewise.
59993         * csu/check_fds.c: Likewise.
59994         * elf/dl-load.c: Likewise.
59995         * elf/dl-open.c: Likewise.
59996         * elf/reldep3.c: Likewise.
59997         * elf/reldep.c: Likewise.
59998         * elf/sprof.c: Likewise.
59999         * iconv/iconv_charmap.c: Likewise.
60000         * iconv/skeleton.c: Likewise.
60001         * iconv/strtab.c: Likewise.
60002         * io/lockf64.c: Likewise.
60003         * libio/libioP.h: Likewise.
60004         * resolv/gai_notify.c: Likewise.
60005         * resolv/ns_name.c: Likewise.
60006         * resolv/ns_samedomain.c: Likewise.
60007         * resolv/res_send.c: Likewise.
60008         * stdlib/random.c: Likewise.
60009         * sunrpc/rpc/xdr.h: Likewise.
60010         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60011         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60014         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60015         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60016         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60017         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60018         * sysdeps/mach/hurd/check_fds.c: Likewise.
60019         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60020         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60022         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60023         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60024         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60025         * sysdeps/pthread/aio_notify.c: Likewise.
60026         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60027         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60030         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60032 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60034         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60035         version if bit_Slow_SSE4_2 is set.
60036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60039 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60041         [BZ #15867]
60042         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60043         trampoline stack frame information.
60044         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60046         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60047         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60048         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60049         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60050         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60051         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60052         sa_flags value.
60053         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60054         interrupting a syscall and set with option SA_SIGINFO.
60056 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60058         [BZ #15531]
60059         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60060         argument is infinite.
60061         * math/s_cprojf.c (__cprojf): Likewise.
60062         * math/s_cprojl.c (__cprojl): Likewise.
60063         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60064         * math/libm-test.inc (cproj_test_data): Add more tests.
60066         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60068         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60069         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60070         size.  Use __ffs to determine corresponding shift.
60072 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60073             Roland McGrath  <roland@hack.frob.com>
60075         * Makefile (INSTALL): Remove trailing blank lines from output of
60076         makeinfo.
60078 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60080         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60081         Align 32 bit compat elf_greg to 8 bytes.
60083 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60085         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60087 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60089         * string/strcoll_l.c (coll_seq): New structure.
60090         (get_next_seq_cached): New function.
60091         (get_next_seq): New function.
60092         (do_compare): New function.
60093         (STRCOLL): Use GNU style definition.  Simplify implementation
60094         by using get_next_seq, get_next_seq_cached and do_compare.
60096 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60098         [BZ #14699]
60099         CVE-2013-4237
60100         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60101         member.
60102         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60103         member.
60104         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60105         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60106         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60107         conditional.
60108         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60109         GETDENTS_64BIT_ALIGNED.
60110         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60111         * manual/filesys.texi (Reading/Closing Directory): Document
60112         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60113         strongly.
60114         * manual/conf.texi (Limits for Files): Add portability note to
60115         NAME_MAX, PATH_MAX.
60116         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60118 2013-08-13  Andreas Schwab  <schwab@suse.de>
60120         [BZ #15749]
60121         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60122         of fabs.
60123         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60124         LDBL_MAX_EXP >= 16384]: Add tests for it.
60126 2013-08-12  David S. Miller  <davem@davemloft.net>
60128         * version.h (RELEASE): Set to "development".
60129         (VERSION): Set to "2.18.90".
60130         * NEWS: Add 2.19 section.
60132 2013-08-03  David S. Miller  <davem@davemloft.net>
60134         * po/ko.po: Update Korean translation from translation project.
60136 2013-08-01  David S. Miller  <davem@davemloft.net>
60138         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60139         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60140         Bilka.
60142 2013-07-30  David S. Miller  <davem@davemloft.net>
60144         * po/fr.po: Update French translation from translation project.
60146 2013-07-28  David S. Miller  <davem@davemloft.net>
60148         * po/cs.po: Update Czech translation from translation project.
60150         * po/sv.po: Update Swedish translation from translation project.
60152 2013-07-27  David S. Miller  <davem@davemloft.net>
60154         * po/eo.po: Update Esperanto translation from translation project.
60156         * po/vi.po: Update Vietnamese translation from translation project.
60158         * po/de.po: Update German translation from translation project.
60160 2013-07-26  David S. Miller  <davem@davemloft.net>
60162         * po/bg.po: Update Bulgarian translation from translation project.
60164         * po/nl.po: Update Dutch translation from translation project.
60165         * po/pl.po: Update Polish translation from translation project.
60166         * po/ru.po: Update Russian translation from translation project.
60168 2013-07-24  David S. Miller  <davem@davemloft.net>
60170         * po/libc.pot: Update.
60172 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60174         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60175         variable page size.
60176         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60177         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60178         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60180 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60182         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60184 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60185             Andreas Schwab  <schwab@suse.de>
60186             Roland McGrath  <roland@hack.frob.com>
60187             Joseph Myers  <joseph@codesourcery.com>
60188             Carlos O'Donell  <carlos@redhat.com>
60190         [BZ #15755]
60191         * config.h.in: Define HAVE_PT_CHOWN.
60192         * config.make.in (build-pt-chown): New variable.
60193         * configure.in (--enable-pt_chown): New configure option.
60194         * configure: Regenerate.
60195         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60196         build-pt-chown is enabled.
60197         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60198         pt_chown to fix pty ownership.
60199         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60200         CLOSE_ALL_FDS.
60201         * manual/install.texi (Configuring and compiling): Mention
60202         --enable-pt_chown. Add @findex for grantpt.
60203         * INSTALL: Regenerate.
60205 2013-07-20  David S. Miller  <davem@davemloft.net>
60207         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60208         difference between 32-bit and 64-bit.
60210 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60212         [BZ #15711]
60213         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60214         Avoid system header dependency with -ffreestanding.
60215         ($(objpfx)bits/syscall%d): Likewise.
60217 2013-07-13  David S. Miller  <davem@davemloft.net>
60219         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60220         underflows from atanl/atan2l due to bug 15319.
60221         (casinh_test_data): Likewise.
60223 2013-07-07  David S. Miller  <davem@davemloft.net>
60225         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60227 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60229         * sysdeps/i386/fpu/libm-test-ulps: Update.
60230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60232 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60234         * configure.in (--enable-lock-elision): Fix message text.
60235         * INSTALL: Regenerate.
60236         * configure: Regenerate.
60238 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60242 2013-07-03  Andreas Jaeger  <aj@suse.de>
60244         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60245         define.
60246         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60247         (ptrace_peeksiginfo_args): Add.
60248         (__ptrace_peeksiginfo_flags): Add.
60249         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60251         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60253 2013-07-03  Allan McRae  <allan@archlinux.org>
60255         * sysdeps/i386/fpu/libm-test-ulps: Update.
60257 2013-07-02  David S. Miller  <davem@davemloft.net>
60259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60261 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60265 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60267         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60270 2013-07-02  Andi Kleen <ak@linux.intel.com>
60272         * config.h.in (ENABLE_LOCK_ELISION): Add.
60273         * configure.in (--enable-lock-elision): Add option.
60274         * manual/install.texi: Document --enable lock elision.
60275         * configure: Regenerate
60276         * INSTALL: Regenerate.
60278 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60280         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60281         SSE4.2 strcasecmp for libc.a.
60282         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60286         [BZ #13304]
60287         * soft-fp/op-common.h (_FP_FMA): New macro.
60288         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60289         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60290         (_FP_MUL_MEAT_1_imm): ... here.
60291         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60292         (_FP_MUL_MEAT_1_wide): ... here.
60293         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60294         (_FP_MUL_MEAT_1_hard): ... here.
60295         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60296         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60297         (_FP_MUL_MEAT_2_wide): ... here.
60298         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60299         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60300         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60301         (_FP_MUL_MEAT_2_gmp): ... here.
60302         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60303         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60304         (_FP_MUL_MEAT_4_wide): ... here.
60305         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60306         (_FP_MUL_MEAT_4_gmp): ... here.
60307         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60308         (_FP_WFRACBITS_DW_S): Likewise.
60309         (_FP_WFRACXBITS_DW_S): Likewise.
60310         (_FP_HIGHBIT_DW_S): Likewise.
60311         (FP_FMA_S): Likewise.
60312         (_FP_FRAC_HIGH_DW_S): Likewise.
60313         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60314         (_FP_WFRACBITS_DW_D): Likewise.
60315         (_FP_WFRACXBITS_DW_D): Likewise.
60316         (_FP_HIGHBIT_DW_D): Likewise.
60317         (FP_FMA_D): Likewise.
60318         (_FP_FRAC_HIGH_DW_D): Likewise.
60319         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60320         (_FP_WFRACBITS_DW_E): Likewise.
60321         (_FP_WFRACXBITS_DW_E): Likewise.
60322         (_FP_HIGHBIT_DW_E): Likewise.
60323         (FP_FMA_E): Likewise.
60324         (_FP_FRAC_HIGH_DW_E): Likewise.
60325         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60326         (_FP_WFRACBITS_DW_Q): Likewise.
60327         (_FP_WFRACXBITS_DW_Q): Likewise.
60328         (_FP_HIGHBIT_DW_Q): Likewise.
60329         (FP_FMA_Q): Likewise.
60330         (_FP_FRAC_HIGH_DW_Q): Likewise.
60331         * soft-fp/fmasf4.c: New file.
60332         * soft-fp/fmadf4.c: Likewise.
60333         * soft-fp/fmatf4.c: Likewise.
60335 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60338         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60339         Silvermont.
60340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60341         macro.
60342         (index_Slow_SSE4_2): Likewise.
60343         (index_Prefer_PMINUB_for_stringop): Likewise.
60344         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60345         bit_Slow_SSE4_2 is set.
60346         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60347         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60349 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60351         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60352         rtld_global._dl_hwcap2.
60353         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60354         POWER8.
60355         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60356         POWER8 feature descriptions defined in _dl_hwcap2.
60357         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60358         string handling for POWER8 feature bits.
60359         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60360         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60361         _dl_powerpc_cap_flags.
60362         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60363         * sysdeps/powerpc/rtld-global-offsets.sym
60364         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60365         _dl_hwcap2 in the rtld_global_ro structure.
60367 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60369         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60370         hardware capabilities in support of AT_HWCAP2.
60371         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60372         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60373         GLRO(dl_hwcap2).
60374         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60375         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60376         explicitly the unknown a_type display mechanism is used.
60377         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60378         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60379         struct member.
60380         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60381         to macro prototype for AT_HWCAP2 support.
60382         * sysdeps/i386/dl-procinfo.h: Likewise.
60383         * sysdeps/s390/dl-procinfo.h: Likewise.
60384         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60385         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60386         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60387         return -1 for unknown a_type display fallback.
60388         * sysdeps/sparc/dl-procinfo.h: Likewise.
60389         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60390         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60392 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60394         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60395         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60397 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60399         [BZ #12492]
60400         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60401         mprotect making __stack_prot writable.
60403 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60404             Joseph Myers  <joseph@codesourcery.com>
60406         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60407         as being properly aligned.
60409 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60411         * dlfcn/modstatic5.c: New file.
60412         * dlfcn/tststatic5.c: New file.
60413         * dlfcn/Makefile (tests): Add tststatic5.
60414         (tests-static): Likewise.
60415         (modules-names): Add modstatic5.
60416         (tststatic5-ENV): New variable.
60417         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60419         [BZ #15022]
60420         * elf/dl-support.c (_dl_main_map): New variable.
60421         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60422         (_dl_nns, _dl_load_adds): Set to 1.
60423         (_dl_initial_searchlist): Refer to _dl_main_map.
60424         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60425         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60426         call to _dl_get_origin.
60427         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60428         around call_map.
60429         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60430         * dlfcn/modstatic3.c: New file.
60431         * dlfcn/tststatic3.c: New file.
60432         * dlfcn/tststatic4.c: New file.
60433         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60434         (tests-static): Likewise.
60435         (modules-names): Add modstatic3.
60436         (tststatic3-ENV, tststatic4-ENV): New variables.
60437         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60438         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60440 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60442         * configure.in (CC): Require GCC version 4.4 or later.
60443         * configure: Regenerated.
60444         * manual/install.texi (Tools for Compilation): Update GCC version
60445         requirement.
60446         * INSTALL: Regenerated.
60448 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60450         [BZ #15674]
60451         * string/test-memcmp.c (check2): New.
60452         (main): Call check2.
60454         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60456 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60458         [BZ #15022]
60459         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60460         over to...
60461         (dl_open_worker) [!SHARED]: ... here.
60463 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60465         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60467 2013-06-25  Richard Henderson  <rth@redhat.com>
60469         * locale/programs/locarchive.c: Include <libc-internal.h>
60471 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
60473         * manual/texinfo.tex: Update to version 2013-06-21.17, with
60474         trailing whitespace removed.
60476 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60478         [BZ #10283]
60479         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60480         * locale/programs/locarchive.c: Include libc-mmap.h.
60481         (prepare_address_space): Take two new outputs (the mmap base and len).
60482         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
60483         values.
60484         (create_archive): Declare new mmap base and len values for
60485         prepare_address_space, and store the result in ah.
60486         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60487         (enlarge_archive): If ah->mmap_base is not NULL, use that and
60488         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60489         Declare new mmap base and len values for
60490         prepare_address_space, and store the result in new_ah.
60491         (open_archive): Declare new mmap base and len values for
60492         prepare_address_space, and store the result in ah.
60493         (close_archive): If ah->mmap_base is not NULL, use that and
60494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60495         * sysdeps/generic/libc-mmap.h: New file.
60497 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60499         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60500         (ALIGN_UP): Likewise.
60501         (PTR_ALIGN_DOWN): Likewise.
60502         (PTR_ALIGN_UP): Likewise.
60504 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60506         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60507         entry mapped to PPC_PLATFORM_POWER8.
60508         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60509         POWER8.
60510         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60511         (_dl_string_platform): Add case for exporting platform position for
60512         POWER8.
60513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60514         search path to sysdeps/powerpc/powerpc32/power8 directory.
60515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60516         search path to sysdeps/powerpc/powerpc64/power8 directory.
60517         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60518         power7 directories.
60519         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60520         power7 directories.
60522 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60524         * INSTALL: Regenerate.
60526         * nscd/connections.c (nscd_init): Fix comment.
60528 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60530         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60532         [BZ #15667]
60533         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60534         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60536 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60538         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60539         DL_DST_REQ_STATIC.
60540         (DL_DST_REQ_STATIC): Remove macro.
60542 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60544         [BZ #7006]
60545         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60546         with a shift of 0 bits.
60548 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60550         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60551         $(tststatic-ENV).
60553 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60555         [BZ #15655]
60556         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60558 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60560         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60561         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60562         accepts -fno-tree-loop-distribute-patterns.
60563         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60564         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60565         recursive call.
60566         * string/memset.c (memset): Likewise.
60567         * string/test-memmove.c (simple_memmove): Disable loop transformation
60568         to library calls.
60569         * string/test-memset.c (simple_memset): Likewise.
60570         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60571         * benchtests/bench-memset.c (simple_memset): Likewise.
60572         * configure: Regenerated.
60574 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60576         * math/test-misc.c (main): Ignore fesetround failure when failures
60577         of subsequent rounding tests would be ignored.
60579         [BZ #15654]
60580         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60581         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60582         * math/fegetenv.c (__fegetenv): Return 0.
60583         * math/fegetexcept.c (fegetexcept): Return 0.
60584         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60585         FE_TONEAREST.
60586         * math/feholdexcpt.c (feholdexcept): Return 0.
60587         * math/fesetenv.c (__fesetenv): Return 0.
60588         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60589         argument FE_TONEAREST.
60590         * math/feupdateenv.c (__feupdateenv): Return 0.
60591         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60593 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60595         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60596         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60597         ($(objpfx)rtld-%.os rules): Use them.
60599 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60601         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60602         fields.
60604 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60606         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60607         length of target pattern, then descending length of dependency pattern.
60608         * configure.in (AWK): Require gawk 3.1.2 or newer.
60609         * manual/install.texi (Tools for Compilation): Say that we do.
60610         * configure: Regenerated.
60612         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60613         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60614         * scripts/sysd-rules.awk: ... this new script.
60615         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60616         than a glob-style pattern.
60618 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60620         * math/test-misc.c (main): Do not treat incorrectly rounded
60621         conversions as failure unless ROUNDING_TESTS passes.
60623 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60625         [BZ #15631]
60626         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60627         restore exception state around main square root computation, then
60628         check for inexactness explicitly.
60630         * math/libm-test.inc (fma_test_data): Add another test.
60632 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60634         * manual/threads.texi (Non-POSIX Extensions): New document
60635         node.  Document pthread_getattr_default_np and
60636         pthread_setattr_default_np.
60638         * Versions.def (libpthread): Add GLIBC_2.18.
60639         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60641         Likewise.
60642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60643         Likewise.
60644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60645         Likewise.
60646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60647         Likewise.
60648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60649         Likewise.
60650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60651         Likewise.
60652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60653         Likewise.
60654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60655         Likewise.
60656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60657         Likewise.
60659 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60662         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60664 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60665             H.J. Lu  <hjl.tools@gmail.com>
60667         [BZ #15627]
60668         * sysdeps/x86_64/rtld-memset.c: Remove file.
60669         * sysdeps/x86_64/rtld-memset.S: New file.
60671 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60673         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60674         (test_in_one_mode): Take arguments for whether the rounding mode
60675         is supported for each floating-point type.
60676         (do_test): Pass new arguments to test_in_one_mode using
60677         ROUNDING_TESTS.
60679 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60681         * posix/tst-waitid.c (do_test): Distinguish different instances of
60682         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60683         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60684         before entering the kernel for waitpid.
60686 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60688         * NEWS: Fix note on clock function precision.  Text by Roland
60689         McGrath.
60691 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60693         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60694         it into place only when and if the sanity check passes.
60696 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60698         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60699         output for whether conversion result is exact.  Take argument
60700         indicating whether type is IBM long double.
60701         (round_for_all): Change need_exact field to ibm_ld.
60702         * stdlib/tst-strtod-round.c (struct exactness): New type.
60703         (struct test): Change bool ld_ok field to struct exactness exact.
60704         (TEST): Update all definitions for change to field.
60705         (tests): Regenerate array contents.
60706         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60707         field value.  Check for IBM long double here.
60708         (do_test): Update calls to test_in_one_mode.
60710 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60712         [BZ #12515]
60713         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60714         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60716 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60718         [BZ #15605]
60719         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60720         generated by the compiler on loop optimizations.
60721         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60722         general definitions.
60724 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60726         * math/bug-nextafter.c: Include <math-tests.h>.
60727         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60728         the relevant type.
60729         * math/bug-nexttoward.c: Include <math-tests.h>.
60730         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60731         the relevant type.
60732         * math/test-misc.c: Include <math-tests.h>.
60733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60734         the relevant type.
60736 2013-06-12  Andreas Jaeger  <aj@suse.de>
60738         * po/ia.po: Update Interlingua translation from translation
60739         project.
60741 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60743         * include/fenv.h: Include stdbool.h.
60744         (struct rm_ctx): New structure.
60745         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60746         Define macro.
60747         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60748         (SET_RESTORE_ROUNDF): Likewise.
60749         (SET_RESTORE_ROUNDL): Likewise.
60750         (SET_RESTORE_ROUND_NOEX): Likewise.
60751         (SET_RESTORE_ROUND_NOEXF): Likewise.
60752         (SET_RESTORE_ROUND_NOEXL): Likewise.
60753         (SET_RESTORE_ROUND_53BIT): Likewise.
60754         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60755         (libc_feresetround_noexf_ctx): Likewise.
60756         (libc_feresetround_noexl_ctx): Likewise.
60757         (libc_feholdsetround_53bit_ctx): Likewise.
60758         (libc_feresetround_53bit_ctx): Likewise.
60759         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60760         (libc_feholdexcept_setround_sse_ctx): New function.
60761         (libc_fesetenv_sse_ctx): Likewise.
60762         (libc_feupdateenv_sse_ctx): Likewise.
60763         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60764         (libc_feholdexcept_setround_387_ctx): Likewise.
60765         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60766         (libc_feholdsetround_387_prec_ctx): Likewise.
60767         (libc_feholdsetround_387_ctx): Likewise.
60768         (libc_feholdsetround_387_53bit_ctx): Likewise.
60769         (libc_feholdsetround_sse_ctx): Likewise.
60770         (libc_feresetround_sse_ctx): Likewise.
60771         (libc_feresetround_387_ctx): Likewise.
60772         (libc_feupdateenv_387_ctx): Likewise.
60773         (libc_feholdexcept_setroundf_ctx): Define macro.
60774         (libc_fesetenvf_ctx): Likewise.
60775         (libc_feupdateenvf_ctx): Likewise.
60776         (libc_feholdsetroundf_ctx): Likewise.
60777         (libc_feresetroundf_ctx): Likewise.
60778         (libc_feholdexcept_setround_ctx): Likewise.
60779         (libc_fesetenv_ctx): Likewise.
60780         (libc_feupdateenv_ctx): Likewise.
60781         (libc_feholdsetround_ctx): Likewise.
60782         (libc_feresetround_ctx): Likewise.
60783         (libc_feholdexcept_setroundl_ctx): Likewise.
60784         (libc_feupdateenvl_ctx): Likewise.
60785         (libc_feholdsetroundl_ctx): Likewise.
60786         (libc_feresetroundl_ctx): Likewise.
60787         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60788         (libc_feresetround_53bit_ctx): Likewise.
60790 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60792         * locale/iso-639.def: Convert to UTF-8.
60794 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60796         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60797         (EXCEPTION_TESTS_double): Likewise.
60798         (EXCEPTION_TESTS_long_double): Likewise.
60799         (EXCEPTION_TESTS): Likewise.
60800         * math/libm-test.inc (test_exceptions): Only test exceptions if
60801         EXCEPTION_TESTS (FLOAT).
60803 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60805         * benchtests/Makefile (string-bench): Add strcpy_chk and
60806         stpcpy_chk.
60807         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60808         * benchtests/bench-stpcpy_chk.c: New file.
60809         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60810         * benchtests/bench-strcpy_chk.c: New file.
60811         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60812         code.
60813         (do_test): Likewise.
60815 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60817         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60818         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60819         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60820         with tabs where appropriate.
60821         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60822         dl-procinfo.h.
60823         [PPC_PLATFORM_PPC440]: Likewise.
60824         [PPC_PLATFORM_PPC464]: Likewise.
60825         [PPC_PLATFORM_PPC476]: Likewise.
60826         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60827         ppc464, and ppc476 platform strings merging from ports/
60828         dl-procinfo.h.
60830 2013-06-11  Andreas Schwab  <schwab@suse.de>
60832         [BZ #14991]
60833         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60834         (from_ucs4_idx): Regenerate.
60835         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60836         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60837         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60838         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60839         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60840         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60841         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60842         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60843         from FROM_LOOP and TO_LOOP specific macros.
60844         (BODY): Handle combining characters.
60845         * iconvdata/BIG5HKSCS.irreversible: Update.
60846         * iconvdata/BIG5HKSCS.precomposed: New file.
60847         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60848         characters.
60849         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60851 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60853         * include/sys/time.h: Fix indentation and add copyright header.
60855         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60856         (do_test): Likewise.
60857         * string/test-memchr.c (do_one_test): Likewise.
60858         (do_test): Likewise.
60859         * string/test-memcmp.c (do_one_test): Likewise.
60860         (do_test): Likewise.
60861         * string/test-memcpy.c (do_one_test): Likewise.
60862         (do_test): Likewise.
60863         * string/test-memmem.c (do_one_test): Likewise.
60864         (do_test): Likewise.
60865         (do_random_tests): Likewise.
60866         * string/test-memmove.c (do_one_test): Likewise.
60867         (do_test): Likewise.
60868         * string/test-memset.c (do_one_test): Likewise.
60869         (do_test): Likewise.
60870         * string/test-rawmemchr.c (do_one_test): Likewise.
60871         (do_test): Likewise.
60872         * string/test-strcasecmp.c (do_one_test): Likewise.
60873         (do_test): Likewise.
60874         * string/test-strcasestr.c (do_one_test): Likewise.
60875         (do_test): Likewise.
60876         * string/test-strcat.c (do_one_test): Likewise.
60877         (do_test): Likewise.
60878         * string/test-strchr.c (do_one_test): Likewise.
60879         (do_test): Likewise.
60880         * string/test-strcmp.c (do_one_test): Likewise.
60881         (do_test): Likewise.
60882         * string/test-strcpy.c (do_one_test): Likewise.
60883         (do_test): Likewise.
60884         * string/test-string.h: Likewise.
60885         (test_init): Likewise.
60886         * string/test-strlen.c (do_one_test): Likewise.
60887         (do_test): Likewise.
60888         * string/test-strncasecmp.c (do_one_test): Likewise.
60889         (do_test): Likewise.
60890         * string/test-strncat.c (do_one_test): Likewise.
60891         (do_test): Likewise.
60892         * string/test-strncmp.c (do_one_test): Likewise.
60893         (do_test_limit): Likewise.
60894         (do_test): Likewise.
60895         * string/test-strncpy.c (do_one_test): Likewise.
60896         (do_test): Likewise.
60897         * string/test-strnlen.c (do_one_test): Likewise.
60898         (do_test): Likewise.
60899         * string/test-strpbrk.c (do_one_test): Likewise.
60900         (do_test): Likewise.
60901         * string/test-strrchr.c (do_one_test): Likewise.
60902         (do_test): Likewise.
60903         * string/test-strspn.c (do_one_test): Likewise.
60904         (do_test): Likewise.
60905         * string/test-strstr.c (do_one_test): Likewise.
60906         (do_test): Likewise.
60908         * benchtests/Makefile (string-bench): Add string benchmarks.
60909         * benchtests/bench-bcopy-ifunc.c: New file.
60910         * benchtests/bench-bcopy.c: New file.
60911         * benchtests/bench-bzero-ifunc.c: New file.
60912         * benchtests/bench-bzero.c: New file.
60913         * benchtests/bench-memccpy-ifunc.c: New file.
60914         * benchtests/bench-memccpy.c: New file.
60915         * benchtests/bench-memchr-ifunc.c: New file.
60916         * benchtests/bench-memchr.c: New file.
60917         * benchtests/bench-memcmp-ifunc.c: New file.
60918         * benchtests/bench-memcmp.c: New file.
60919         * benchtests/bench-memmem-ifunc.c: New file.
60920         * benchtests/bench-memmem.c: New file.
60921         * benchtests/bench-memmove-ifunc.c: New file.
60922         * benchtests/bench-memmove.c: New file.
60923         * benchtests/bench-mempcpy-ifunc.c: New file.
60924         * benchtests/bench-mempcpy.c: New file.
60925         * benchtests/bench-memset-ifunc.c: New file.
60926         * benchtests/bench-memset.c: New file.
60927         * benchtests/bench-rawmemchr-ifunc.c: New file.
60928         * benchtests/bench-rawmemchr.c: New file.
60929         * benchtests/bench-stpcpy-ifunc.c: New file.
60930         * benchtests/bench-stpcpy.c: New file.
60931         * benchtests/bench-stpncpy-ifunc.c: New file.
60932         * benchtests/bench-stpncpy.c: New file.
60933         * benchtests/bench-strcasecmp-ifunc.c: New file.
60934         * benchtests/bench-strcasecmp.c: New file.
60935         * benchtests/bench-strcasestr-ifunc.c: New file.
60936         * benchtests/bench-strcasestr.c: New file.
60937         * benchtests/bench-strcat-ifunc.c: New file.
60938         * benchtests/bench-strcat.c: New file.
60939         * benchtests/bench-strchr-ifunc.c: New file.
60940         * benchtests/bench-strchr.c: New file.
60941         * benchtests/bench-strchrnul-ifunc.c: New file.
60942         * benchtests/bench-strchrnul.c: New file.
60943         * benchtests/bench-strcmp-ifunc.c: New file.
60944         * benchtests/bench-strcmp.c: New file.
60945         * benchtests/bench-strcpy-ifunc.c: New file.
60946         * benchtests/bench-strcpy.c: New file.
60947         * benchtests/bench-strcspn-ifunc.c: New file.
60948         * benchtests/bench-strcspn.c: New file.
60949         * benchtests/bench-strlen-ifunc.c: New file.
60950         * benchtests/bench-strlen.c: New file.
60951         * benchtests/bench-strncasecmp-ifunc.c: New file.
60952         * benchtests/bench-strncasecmp.c: New file.
60953         * benchtests/bench-strncat-ifunc.c: New file.
60954         * benchtests/bench-strncat.c: New file.
60955         * benchtests/bench-strncmp-ifunc.c: New file.
60956         * benchtests/bench-strncmp.c: New file.
60957         * benchtests/bench-strncpy-ifunc.c: New file.
60958         * benchtests/bench-strncpy.c: New file.
60959         * benchtests/bench-strnlen-ifunc.c: New file.
60960         * benchtests/bench-strnlen.c: New file.
60961         * benchtests/bench-strpbrk-ifunc.c: New file.
60962         * benchtests/bench-strpbrk.c: New file.
60963         * benchtests/bench-strrchr-ifunc.c: New file.
60964         * benchtests/bench-strrchr.c: New file.
60965         * benchtests/bench-strspn-ifunc.c: New file.
60966         * benchtests/bench-strspn.c: New file.
60967         * benchtests/bench-strstr-ifunc.c: New file.
60968         * benchtests/bench-strstr.c: New file.
60970         * benchtests/Makefile: Disable parallel execution of targets.
60971         (string-bench): Add memcpy.
60972         (benchset): New variable to store a list of benchmark sets.
60973         (bench-func): Renamed from bench.
60974         (bench-set): New target.
60975         (bench): Depend on bench-func and bench-set.
60976         * benchtests/README: Add section on benchmark sets.
60977         * benchtests/bench-memcpy-ifunc.c: New file.
60978         * benchtests/bench-memcpy.c: New file.
60979         * benchtests/bench-string.h: New file.
60981 2013-06-11  Andreas Schwab  <schwab@suse.de>
60983         [BZ #15577]
60984         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60985         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60986         values in the triple.
60987         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60988         terminator in the group key.
60990 2013-06-11  Andreas Jaeger  <aj@suse.de>
60992         * po/zh_TW.po: Update Chinese (traditional) translation from
60993         translation project.
60995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60997         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60998         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60999         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61001         (clock_getcpuclockid): Likewise.
61002         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61003         Add weak_alias and libc_hidden_def.
61004         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61005         * rt/clock_gettime.c (clock_gettime): Rename to
61006         __clock_gettime.  Add weak_alias and libc_hidden_def.
61007         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61008         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61009         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61010         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61011         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61012         Likewise.
61013         * rt/clock_settime.c (clock_settime): Rename to
61014         __clock_settime.  Add weak_alias and libc_hidden_def.
61015         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61017 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61019         * mach/err_boot.sub: Remove trailing whitespace.
61020         * mach/err_ipc.sub: Likewise.
61021         * mach/err_mach.sub: Likewise.
61023         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61024         (ROUNDING_TESTS_double): Likewise.
61025         (ROUNDING_TESTS_long_double): Likewise.
61026         (ROUNDING_TESTS): Likewise.
61027         * math/libm-test.inc: Include <math-tests.h>.
61028         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61029         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61030         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61031         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61033 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61035         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61036         of assigning.
61038 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61040         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61041         otherwise empty TRANS lines.
61042         * sysdeps/gnu/errlist.c: Regenerated.
61044         * catgets/gencat.c (error_print): Use (void) in function
61045         definition.
61046         * crypt/crypt_util.c (__init_des): Likewise.
61047         * crypt/speeds.c (Stop): Likewise.
61048         (main): Likewise.
61049         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61050         * inet/ruserpass.c (token): Likewise.
61051         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61052         * intl/localealias.c (extend_alias_table): Likewise.
61053         * intl/plural-exp.c (init_germanic_plural): Likewise.
61054         * libio/fcloseall.c (__fcloseall): Likewise.
61055         * libio/genops.c (_IO_flush_all): Likewise.
61056         (_IO_flush_all_linebuffered): Likewise.
61057         (_IO_cleanup): Likewise.
61058         (_IO_iter_begin): Likewise.
61059         (_IO_iter_end): Likewise.
61060         (_IO_list_lock): Likewise.
61061         (_IO_list_unlock): Likewise.
61062         (_IO_list_resetlock): Likewise.
61063         * libio/getchar.c (getchar): Likewise.
61064         * libio/getchar_u.c (getchar_unlocked): Likewise.
61065         * libio/getwchar.c (getwchar): Likewise.
61066         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61067         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61068         * login/getpt.c (__getpt): Likewise.
61069         * login/tst-utmp.c (main): Likewise.
61070         * malloc/hooks.c (__malloc_check_init): Likewise.
61071         * malloc/malloc.c (__malloc_stats): Likewise.
61072         * malloc/mtrace.c (tr_break): Likewise.
61073         (mtrace): Likewise.
61074         (muntrace): Likewise.
61075         * misc/fstab.c (endfsent): Likewise.
61076         * misc/getclktck.c (__getclktck): Likewise.
61077         * misc/getdtsz.c (__getdtablesize): Likewise.
61078         * misc/gethostid.c (gethostid): Likewise.
61079         * misc/getpagesize.c (__getpagesize): Likewise.
61080         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61081         (__get_nprocs): Likewise.
61082         (__get_phys_pages): Likewise.
61083         (__get_avphys_pages): Likewise.
61084         * misc/getttyent.c (getttyent): Likewise.
61085         (setttyent): Likewise.
61086         (endttyent): Likewise.
61087         * misc/getusershell.c (getusershell): Likewise.
61088         (endusershell): Likewise.
61089         (setusershell): Likewise.
61090         (initshells): Likewise.
61091         * misc/hsearch.c (__hdestroy): Likewise.
61092         * misc/sync.c (sync): Likewise.
61093         * misc/syslog.c (closelog_internal): Likewise.
61094         (closelog): Likewise.
61095         * misc/ttyslot.c (ttyslot): Likewise.
61096         * misc/vhangup.c (vhangup): Likewise.
61097         * posix/fork.c (__fork): Likewise.
61098         * posix/getegid.c (__getegid): Likewise.
61099         * posix/geteuid.c (__geteuid): Likewise.
61100         * posix/getgid.c (__getgid): Likewise.
61101         * posix/getpid.c (__getpid): Likewise.
61102         * posix/getppid.c (__getppid): Likewise.
61103         * posix/getuid.c (__getuid): Likewise.
61104         * posix/pause.c (pause): Likewise.
61105         * posix/setpgrp.c (setpgrp): Likewise.
61106         * posix/setsid.c (__setsid): Likewise.
61107         * posix/test-vfork.c (noop): Likewise.
61108         * resolv/gethnamaddr.c (_endhtent): Likewise.
61109         (_gethtent): Likewise.
61110         (ht_endhostent): Likewise.
61111         (gethostent): Likewise.
61112         (dns_service): Likewise.
61113         * stdlib/drand48.c (drand48): Likewise.
61114         * stdlib/lrand48.c (lrand48): Likewise.
61115         * stdlib/mrand48.c (mrand48): Likewise.
61116         * stdlib/rand.c (rand): Likewise.
61117         * stdlib/random.c (__random): Likewise.
61118         * stdlib/setenv.c (clearenv): Likewise.
61119         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61120         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61121         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61122         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61123         (__get_nprocs): Likewise.
61124         (__get_phys_pages): Likewise.
61125         (__get_avphys_pages): Likewise.
61126         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61127         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61128         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61129         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61130         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61131         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61132         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61133         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61134         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61135         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61136         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61137         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61138         * sysdeps/posix/clock.c (clock): Likewise.
61139         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61140         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61141         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61142         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61143         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61145         (__get_nprocs_conf): Likewise.
61146         (__get_phys_pages): Likewise.
61147         (__get_avphys_pages): Likewise.
61148         * time/clock.c (clock): Likewise.
61149         * time/tzset.c (__tzname_max): Likewise.
61151 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61153         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61154         (__bswap_32): Do not use "register".
61155         * crypt/crypt.c (_ufc_doit_r): Likewise.
61156         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61157         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61158         * gmon/gmon.c (__monstartup): Likewise.
61159         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61160         * hurd/hurdmalloc.c (more_memory): Likewise.
61161         (malloc): Likewise.
61162         (free): Likewise.
61163         (realloc): Likewise.
61164         (malloc_fork_prepare): Likewise.
61165         (malloc_fork_parent): Likewise.
61166         (malloc_fork_child): Likewise.
61167         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61168         (_svcauth_des): Likewise.
61169         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61170         * inet/inet_net.c (inet_network): Likewise.
61171         * inet/inet_netof.c (inet_netof): Likewise.
61172         * inet/rcmd.c (__validuser2_sa): Likewise.
61173         * io/fts.c (fts_open): Likewise.
61174         (fts_load): Likewise.
61175         (fts_close): Likewise.
61176         (fts_read): Likewise.
61177         (fts_children): Likewise.
61178         (fts_build): Likewise.
61179         (fts_stat): Likewise.
61180         (fts_sort): Likewise.
61181         (fts_alloc): Likewise.
61182         (fts_lfree): Likewise.
61183         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61184         (_IO_file_xsgetn): Likewise.
61185         (_IO_file_xsgetn_mmap): Likewise.
61186         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61187         (_IO_cookie_write): Likewise.
61188         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61189         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61190         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61191         * malloc/obstack.c (_obstack_begin): Likewise.
61192         (_obstack_begin_1): Likewise.
61193         (_obstack_newchunk): Likewise.
61194         (_obstack_allocated_p): Likewise.
61195         (obstack_free): Likewise.
61196         (_obstack_memory_used): Likewise.
61197         * misc/getttyent.c (getttynam): Likewise.
61198         (getttyent): Likewise.
61199         (skip): Likewise.
61200         (value): Likewise.
61201         * misc/getusershell.c (initshells): Likewise.
61202         * misc/syslog.c (__vsyslog_chk): Likewise.
61203         * misc/ttyslot.c (ttyslot): Likewise.
61204         * nis/nis_hash.c (__nis_hash): Likewise.
61205         * posix/fnmatch_loop.c (FCT): Likewise.
61206         * posix/getconf.c (print_all): Likewise.
61207         (main): Likewise.
61208         * posix/getopt.c (exchange): Likewise.
61209         * posix/glob.c (globfree): Likewise.
61210         (prefix_array): Likewise.
61211         (__glob_pattern_type): Likewise.
61212         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61213         (NS_GET32): Likewise.
61214         (NS_PUT16): Likewise.
61215         (NS_PUT32): Likewise.
61216         * resolv/gethnamaddr.c (getanswer): Likewise.
61217         (gethostbyname2): Likewise.
61218         (gethostbyaddr): Likewise.
61219         (_gethtent): Likewise.
61220         (_gethtbyname2): Likewise.
61221         (_gethtbyaddr): Likewise.
61222         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61223         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61224         * resolv/res_init.c (__res_vinit): Likewise.
61225         (net_mask): Likewise.
61226         * resolv/res_mkquery.c (outchar): Likewise.
61227         (PRINT): Likewise.
61228         * stdio-common/printf_fp.c (outchar): Likewise.
61229         (PRINT): Likewise.
61230         * stdio-common/printf_fphex.c (outchar): Likewise.
61231         (PRINT): Likewise.
61232         * stdio-common/printf_size.c (outchar): Likewise.
61233         (PRINT): Likewise.
61234         * stdio-common/test_rdwr.c (main): Likewise.
61235         * stdio-common/tfformat.c (matches): Likewise.
61236         * stdio-common/vfprintf.c (outchar): Likewise.
61237         (printf_unknown): Likewise.
61238         (buffered_vfprintf): Likewise.
61239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61240         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61241         (ReadFile): Likewise.
61242         * stdlib/qsort.c (SWAP): Likewise.
61243         (_quicksort): Likewise.
61244         * stdlib/setenv.c (__add_to_environ): Likewise.
61245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61246         * stdlib/strtol_l.c (__strtol_l): Likewise.
61247         * stdlib/tst-strtod.c (main): Likewise.
61248         * stdlib/tst-strtol.c (main): Likewise.
61249         * stdlib/tst-strtoll.c (main): Likewise.
61250         * string/bits/string2.h (__strcmp_cc): Likewise.
61251         (__strcmp_cg): Likewise.
61252         (__strcspn_c1): Likewise.
61253         (__strcspn_c2): Likewise.
61254         (__strcspn_c3): Likewise.
61255         (__strspn_c1): Likewise.
61256         (__strspn_c2): Likewise.
61257         (__strspn_c3): Likewise.
61258         (__strsep_1c): Likewise.
61259         (__strsep_2c): Likewise.
61260         (__strsep_3c): Likewise.
61261         * string/memccpy.c (__memccpy): Likewise.
61262         * string/stpcpy.c (__stpcpy): Likewise.
61263         * string/strcmp.c (strcmp): Likewise.
61264         * string/strrchr.c (strrchr): Likewise.
61265         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61266         Likewise.
61267         * sysdeps/mach/hurd/getcwd.c
61268         (_hurd_canonicalize_directory_name_internal): Likewise.
61269         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61270         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61271         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61272         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61273         Likewise, in both definitions.
61274         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61275         definitions.
61276         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61277         64] (__bswap_64): Likewise.
61278         * time/test_time.c (main): Likewise.
61279         * time/tzfile.c (__tzfile_read): Likewise.
61280         (__tzfile_compute): Likewise.
61281         * time/tzset.c (__tzset_parse_tz): Likewise.
61282         (tzset_internal): Likewise.
61283         (compute_change): Likewise.
61284         * wcsmbs/wcscat.c (__wcscat): Likewise.
61285         * wcsmbs/wcschr.c (wcschr): Likewise.
61286         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61287         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61288         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61289         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61290         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61291         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61292         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61293         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61294         * wcsmbs/wmemset.c (wmemset): Likewise.
61296 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61298         * scripts/config.guess: Update to version 2013-05-16.
61299         * scripts/config.sub: Update to version 2013-04-24.
61300         * scripts/install-sh: Update to version 2011-11-20.07.
61301         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61302         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61304 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61306         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61307         * elf/sln.c: Likewise.
61308         * hurd/hurd/ioctl.h: Likewise.
61309         * hurd/hurdmalloc.c: Likewise.
61310         * hurd/xattr.c: Likewise.
61311         * include/shlib-compat.h: Likewise.
61312         * inet/ruserpass.c: Likewise.
61313         * libio/iofgets_u.c: Likewise.
61314         * libio/iofgetws_u.c: Likewise.
61315         * locale/programs/ld-identification.c: Likewise.
61316         * locale/programs/ld-time.c: Likewise.
61317         * mach/msg-destroy.c: Likewise.
61318         * nss/nss_files/files-netgrp.c: Likewise.
61319         * resolv/res_data.c: Likewise.
61320         * soft-fp/op-1.h: Likewise.
61321         * soft-fp/op-2.h: Likewise.
61322         * soft-fp/op-4.h: Likewise.
61323         * soft-fp/op-common.h: Likewise.
61324         * stdio-common/printf_fphex.c: Likewise.
61325         * stdlib/strtod_l.c: Likewise.
61326         * sunrpc/rpc/clnt.h: Likewise.
61327         * sysdeps/generic/framestate.c: Likewise.
61328         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61329         * sysdeps/i386/bsd-setjmp.S: Likewise.
61330         * sysdeps/i386/__longjmp.S: Likewise.
61331         * sysdeps/i386/setjmp.S: Likewise.
61332         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61333         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61335         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61337         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61338         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61339         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61340         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61341         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61343         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61344         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61345         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61346         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61348         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61349         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61350         * sysdeps/ieee754/support.c: Likewise.
61351         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61352         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61353         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61354         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61355         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61356         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61357         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61358         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61359         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61360         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61361         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61362         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61366         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61367         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61370 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61372         * posix/transbug.c: Remove executable mode.
61374 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61376         * crypt/speeds.c: Remove trailing whitespace.
61377         * dlfcn/default.c: Likewise.
61378         * elf/ifuncdep2.c: Likewise.
61379         * elf/ifuncmain1.c: Likewise.
61380         * elf/ifuncmain1vis.c: Likewise.
61381         * elf/testobj.h: Likewise.
61382         * elf/tst-stackguard1.c: Likewise.
61383         * gmon/sys/gmon.h: Likewise.
61384         * hurd/hurdmsg.c: Likewise.
61385         * hurd/new-fd.c: Likewise.
61386         * hurd/ports-get.c: Likewise.
61387         * iconvdata/ibm1008_420.c: Likewise.
61388         * inet/tst-getni1.c: Likewise.
61389         * inet/tst-getni2.c: Likewise.
61390         * libio/ioungetc.c: Likewise.
61391         * libio/wfiledoalloc.c: Likewise.
61392         * manual/libm-err-tab.pl: Likewise.
61393         * math/w_dremf.c: Likewise.
61394         * misc/ftruncate.c: Likewise.
61395         * posix/bug-glob2.c: Likewise.
61396         * posix/tst-pcre.c: Likewise.
61397         * posix/wait4.c: Likewise.
61398         * resolv/README: Likewise.
61399         * resolv/res_debug.h: Likewise.
61400         * resolv/tst-inet_ntop.c: Likewise.
61401         * setjmp/bug269-setjmp.c: Likewise.
61402         * soft-fp/extended.h: Likewise.
61403         * soft-fp/op-1.h: Likewise.
61404         * soft-fp/op-2.h: Likewise.
61405         * soft-fp/op-4.h: Likewise.
61406         * soft-fp/op-8.h: Likewise.
61407         * soft-fp/testit.c: Likewise.
61408         * stdio-common/bug16.c: Likewise.
61409         * stdlib/random.c: Likewise.
61410         * sunrpc/rpcsvc/rquota.x: Likewise.
61411         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61412         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61414         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61415         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61416         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61417         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61418         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61419         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61421         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61422         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61423         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61424         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61425         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61426         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61427         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61428         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61429         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61432         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61433         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61434         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61437         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61438         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61440         * sysdeps/ieee754/s_lib_version.c: Likewise.
61441         * sysdeps/mach/hurd/check_fds.c: Likewise.
61442         * sysdeps/mach/hurd/getsockname.c: Likewise.
61443         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61444         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61445         * sysdeps/powerpc/bits/link.h: Likewise.
61446         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61447         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61448         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61449         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61450         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61451         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61452         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61453         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61454         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61455         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61456         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61457         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61458         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61459         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61460         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61461         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61467         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61470         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61479         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61480         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61482         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61483         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61484         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61485         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61486         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61487         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61488         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61489         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61490         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61491         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61492         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61493         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61494         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61495         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61498         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61499         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61500         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61501         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61502         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61503         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61504         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61508         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61509         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61510         * sysdeps/powerpc/sysdep.h: Likewise.
61511         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61512         * sysdeps/s390/s390-64/sub_n.S: Likewise.
61513         * sysdeps/sh/dl-trampoline.S: Likewise.
61514         * sysdeps/sh/memset.S: Likewise.
61515         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61516         * sysdeps/sh/strlen.S: Likewise.
61517         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61518         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61519         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61520         * sysdeps/sparc/sparc32/rem.S: Likewise.
61521         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61522         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61523         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61524         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61525         * sysdeps/sparc/sparc32/urem.S: Likewise.
61526         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61527         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61528         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61529         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61530         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61531         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61532         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61533         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61534         * sysdeps/unix/bsd/times.c: Likewise.
61535         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61536         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61540         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61541         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61542         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61544         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61545         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61546         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61547         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61548         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61549         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61550         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61552         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61553         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61554         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61555         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61556         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61557         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61558         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61559         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61560         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61561         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61563         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61564         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61565         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61566         * sysdeps/x86_64/strcspn.S: Likewise.
61568 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61570         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61571         generated file.  Regenerate properly from gen-translit.pl.
61572         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61573         locale/C-translit.h.
61575 2013-06-05  Andreas Schwab  <schwab@suse.de>
61577         [BZ #15100]
61578         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61579         week as 6 instead of -1.
61580         * time/tst-strptime.c (day_tests): Add test case.
61582 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61584         * sysdeps/generic/math_private.h
61585         (libc_feholdexcept_setround_53bit): Replace with
61586         libc_feholdsetround_53bit.
61587         (libc_feupdateenv_53bit): Replace with
61588         libc_feresetround_53bit.
61589         (SET_RESTORE_ROUND_53BIT): Adjust.
61591 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61593         * string/test-strchrnul.c: Add copyright header.
61595         * posix/tst-getaddrinfo4.c: Increase test timeout.
61597 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61599         [BZ #15536]
61600         * math/libm-test.inc (MAX_EXP): Remove
61601         (MIN_EXP): Define.
61602         (ulp): Use MIN_EXP - MANT_DIG.
61603         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61605 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61607         * po/be.po: Revert last change.
61608         * po/zh_CN.po: Likewise.
61609         * po/header.pot: Likewise.
61611 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61613         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61614         link-libc-deps to empty as target-specific variable.
61615         * Makerules (link-libc-args): New variable.
61616         (libc-for-link): Likewise.
61617         (link-libc-deps): Likewise.
61618         (lib%.so): Depend on $(link-libc-deps).  Link with
61619         $(link-libc-args).
61620         (build-module): Link with $(link-libc-args).
61621         (build-module-asneeded): Likewise.
61622         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61623         list of objects.
61624         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61625         target-specific variable.
61626         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61627         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61628         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61629         libc.
61630         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61631         libc and ld.so.
61632         ($(objpfx)libpcprofile.so): Likewise.
61633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61634         libc_nonshared.a.
61635         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61636         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61637         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61638         $(link-libc-deps).
61639         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61640         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61641         * login/Makefile ($(objpfx)libutil.so): Likewise.
61642         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61643         * math/Makefile ($(objpfx)libm.so): Likewise.
61644         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61645         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61646         variable instead of depending directly on libc.
61647         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61648         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61649         $(link-libc-deps).
61650         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61651         libc.
61652         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61653         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61654         ($(objpfx)libanl.so): Likewise.
61655         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61656         ld.so.
61657         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61658         $(link-libc-deps).
61659         * sysdeps/i386/fpu/Makefile: Remove file.
61660         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61661         ($(objpfx)libm.so): Remove dependency on ld.so.
61663 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61665         [BZ # 15553]
61666         * nis/yp_xdr.c (XDRMAXNAME): Define.
61667         (XDRMAXRECORD): Define.
61668         (xdr_domainname): Use XDRMAXNAME.
61669         (xdr_mapname): Likewise.
61670         (xdr_peername): Likewise.
61671         (xdr_keydat): Use XDRMAXRECORD.
61672         (xdr_valdat): Likewise.
61674 2013-05-30  Jeff Law  <law@redhat.com>
61676         [BZ #14256]
61677         * manual/errno.texi (ESTALE): Update to account for more than
61678         just NFS file systems.
61679         * sysdeps/gnu/errlist.c: Regenerated.
61681 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61683         [BZ #15465]
61684         * elf/Makefile (tests): Add tst-null-argv.
61685         (modules-names):  Add tst-null-argv-lib.
61686         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61687         (tst-null-argv-ENV): Set environment for tst-null-argv.
61688         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61689         (RTLD_PROGNAME): New macro.
61690         * elf/tst-null-argv.c: New test case.
61691         * elf/tst-null-argv-lib.c: Library for test case.
61692         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61693         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61694         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61695         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61696         * elf/dl-init.c (call_init): Likewise.
61697         (_dl_init): Likewise.
61698         * elf/dl-load.c (print_search_path): Likewise.
61699         (_dl_map_object): Likewise.
61700         * elf/dl-lookup.c (do_lookup_x): Likewise.
61701         (add_dependency): Likewise.
61702         (_dl_lookup_symbol_x): Likewise.
61703         (_dl_debug_bindings): Likewise.
61704         * elf/dl-open.c (_dl_show_scope): Likewise.
61705         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61706         * elf/dl-version.c (match_symbol): Likewise.
61707         (_dl_check_map_versions): Likewise.
61708         * elf/rtld.c (dl_main): Likewise.
61709         (print_unresolved): Use RTLD_PROGNAME.
61710         (print_missing_version): Likewise.
61711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61712         (elf_machine_rela): Likewise.
61713         * sysdeps/powerpc/powerpc32/dl-machine.c
61714         (__process_machine_rela): Likewise.
61715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61716         Likewise.
61717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61718         Likewise.
61719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61720         Likewise.
61721         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61723         Likewise.
61724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61725         Likewise.
61726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61728 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61730         * po/be.po: Add descriptive title.
61731         * po/zh_CN.po: Likewise.
61732         * po/header.pot: Likewise.
61734 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61736         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61737         error message.
61738         (enlarge_archive): Likewise.
61740 2013-05-28  Ben North  <ben@redfrontdoor.org>
61742         * manual/arith.texi (frexp): It is the magnitude of the return
61743         value which lies in [0.5, 1), not the return value itself.
61745 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61749 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61751         * stdio-common/bug26.c (main): Correct fscanf template.
61753         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61754         declare _dl_skip_args.
61756         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61757         Don't declare.
61759         * manual/platform.texi: Add missing @end deftypefun.
61761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61763         [BZ #15529]
61764         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61765         bit of mantissa of 2^16382.
61766         * math/libm-test.inc (hypot_test_data): Add more tests.
61768         * math/libm-test.inc: Add drem and pow10 to list of tested
61769         functions.
61770         (pow10_test): New function.
61771         (drem_test): Likewise.
61772         (drem_test_tonearest): Likewise.
61773         (drem_test_towardzero): Likewise.
61774         (drem_test_downward): Likewise.
61775         (drem_test_upward): Likewise.
61776         (main): Call the new functions.
61778         * math/libm-test.inc (finite_test_data): Remove.
61779         (finite_test): Run tests from isfinite_test_data.
61780         (gamma_test_data): Remove.
61781         (gamma_test): Run tests from lgamma_test_data.
61782         * sysdeps/i386/fpu/libm-test-ulps: Update.
61783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61785 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61787         * manual/platform.texi: Add PowerPC PPR function set documentation.
61788         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61789         implementation.
61791 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61793         * math/libm-test.inc (MAX_EXP): Define.
61794         (ULPDIFF): Define.
61795         (ulp): New function.
61796         (check_float_internal): Use ULPDIFF.
61797         (cpow_test): Disable failing test.
61798         (check_ulp): Test ulp() implementation.
61799         (main): Call check_ulp before starting tests.
61801 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61803         * math/gen-libm-test.pl (generate_testfile): Do not handle
61804         START_DATA and END_DATA.
61805         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61806         END_DATA.
61807         (acos_tonearest_test_data): Likewise.
61808         (acos_towardzero_test_data): Likewise.
61809         (acos_downward_test_data): Likewise.
61810         (acos_upward_test_data): Likewise.
61811         (acosh_test_data): Likewise.
61812         (asin_test_data): Likewise.
61813         (asin_tonearest_test_data): Likewise.
61814         (asin_towardzero_test_data): Likewise.
61815         (asin_downward_test_data): Likewise.
61816         (asin_upward_test_data): Likewise.
61817         (asinh_test_data): Likewise.
61818         (atan_test_data): Likewise.
61819         (atanh_test_data): Likewise.
61820         (atan2_test_data): Likewise.
61821         (cabs_test_data): Likewise.
61822         (cacos_test_data): Likewise.
61823         (cacosh_test_data): Likewise.
61824         (carg_test_data): Likewise.
61825         (casin_test_data): Likewise.
61826         (casinh_test_data): Likewise.
61827         (catan_test_data): Likewise.
61828         (catanh_test_data): Likewise.
61829         (cbrt_test_data): Likewise.
61830         (ccos_test_data): Likewise.
61831         (ccosh_test_data): Likewise.
61832         (ceil_test_data): Likewise.
61833         (cexp_test_data): Likewise.
61834         (cimag_test_data): Likewise.
61835         (clog_test_data): Likewise.
61836         (clog10_test_data): Likewise.
61837         (conj_test_data): Likewise.
61838         (copysign_test_data): Likewise.
61839         (cos_test_data): Likewise.
61840         (cos_tonearest_test_data): Likewise.
61841         (cos_towardzero_test_data): Likewise.
61842         (cos_downward_test_data): Likewise.
61843         (cos_upward_test_data): Likewise.
61844         (cosh_test_data): Likewise.
61845         (cosh_tonearest_test_data): Likewise.
61846         (cosh_towardzero_test_data): Likewise.
61847         (cosh_downward_test_data): Likewise.
61848         (cosh_upward_test_data): Likewise.
61849         (cpow_test_data): Likewise.
61850         (cproj_test_data): Likewise.
61851         (creal_test_data): Likewise.
61852         (csin_test_data): Likewise.
61853         (csinh_test_data): Likewise.
61854         (csqrt_test_data): Likewise.
61855         (ctan_test_data): Likewise.
61856         (ctan_tonearest_test_data): Likewise.
61857         (ctan_towardzero_test_data): Likewise.
61858         (ctan_downward_test_data): Likewise.
61859         (ctan_upward_test_data): Likewise.
61860         (ctanh_test_data): Likewise.
61861         (ctanh_tonearest_test_data): Likewise.
61862         (ctanh_towardzero_test_data): Likewise.
61863         (ctanh_downward_test_data): Likewise.
61864         (ctanh_upward_test_data): Likewise.
61865         (erf_test_data): Likewise.
61866         (erfc_test_data): Likewise.
61867         (exp_test_data): Likewise.
61868         (exp_tonearest_test_data): Likewise.
61869         (exp_towardzero_test_data): Likewise.
61870         (exp_downward_test_data): Likewise.
61871         (exp_upward_test_data): Likewise.
61872         (exp10_test_data): Likewise.
61873         (exp2_test_data): Likewise.
61874         (expm1_test_data): Likewise.
61875         (fabs_test_data): Likewise.
61876         (fdim_test_data): Likewise.
61877         (finite_test_data): Likewise.
61878         (floor_test_data): Likewise.
61879         (fma_test_data): Likewise.
61880         (fma_towardzero_test_data): Likewise.
61881         (fma_downward_test_data): Likewise.
61882         (fma_upward_test_data): Likewise.
61883         (fmax_test_data): Likewise.
61884         (fmin_test_data): Likewise.
61885         (fmod_test_data): Likewise.
61886         (fpclassify_test_data): Likewise.
61887         (frexp_test_data): Likewise.
61888         (gamma_test_data): Likewise.
61889         (hypot_test_data): Likewise.
61890         (ilogb_test_data): Likewise.
61891         (isfinite_test_data): Likewise.
61892         (isgreater_test_data): Likewise.
61893         (isgreaterequal_test_data): Likewise.
61894         (isinf_test_data): Likewise.
61895         (isless_test_data): Likewise.
61896         (islessequal_test_data): Likewise.
61897         (islessgreater_test_data): Likewise.
61898         (isnan_test_data): Likewise.
61899         (isnormal_test_data): Likewise.
61900         (issignaling_test_data): Likewise.
61901         (isunordered_test_data): Likewise.
61902         (j0_test_data): Likewise.
61903         (j1_test_data): Likewise.
61904         (jn_test_data): Likewise.
61905         (ldexp_test_data): Likewise.
61906         (lgamma_test_data): Likewise.
61907         (lrint_test_data): Likewise.
61908         (lrint_tonearest_test_data): Likewise.
61909         (lrint_towardzero_test_data): Likewise.
61910         (lrint_downward_test_data): Likewise.
61911         (lrint_upward_test_data): Likewise.
61912         (llrint_test_data): Likewise.
61913         (llrint_tonearest_test_data): Likewise.
61914         (llrint_towardzero_test_data): Likewise.
61915         (llrint_downward_test_data): Likewise.
61916         (llrint_upward_test_data): Likewise.
61917         (log_test_data): Likewise.
61918         (log10_test_data): Likewise.
61919         (log1p_test_data): Likewise.
61920         (log2_test_data): Likewise.
61921         (logb_test_data): Likewise.
61922         (logb_downward_test_data): Likewise.
61923         (lround_test_data): Likewise.
61924         (llround_test_data): Likewise.
61925         (modf_test_data): Likewise.
61926         (nearbyint_test_data): Likewise.
61927         (nextafter_test_data): Likewise.
61928         (nexttoward_test_data): Likewise.
61929         (pow_test_data): Likewise.
61930         (pow_tonearest_test_data): Likewise.
61931         (pow_towardzero_test_data): Likewise.
61932         (pow_downward_test_data): Likewise.
61933         (pow_upward_test_data): Likewise.
61934         (remainder_test_data): Likewise.
61935         (remainder_tonearest_test_data): Likewise.
61936         (remainder_towardzero_test_data): Likewise.
61937         (remainder_downward_test_data): Likewise.
61938         (remainder_upward_test_data): Likewise.
61939         (remquo_test_data): Likewise.
61940         (rint_test_data): Likewise.
61941         (rint_tonearest_test_data): Likewise.
61942         (rint_towardzero_test_data): Likewise.
61943         (rint_downward_test_data): Likewise.
61944         (rint_upward_test_data): Likewise.
61945         (round_test_data): Likewise.
61946         (scalb_test_data): Likewise.
61947         (scalbn_test_data): Likewise.
61948         (scalbln_test_data): Likewise.
61949         (signbit_test_data): Likewise.
61950         (sin_test_data): Likewise.
61951         (sin_tonearest_test_data): Likewise.
61952         (sin_towardzero_test_data): Likewise.
61953         (sin_downward_test_data): Likewise.
61954         (sin_upward_test_data): Likewise.
61955         (sincos_test_data): Likewise.
61956         (sinh_test_data): Likewise.
61957         (sinh_tonearest_test_data): Likewise.
61958         (sinh_towardzero_test_data): Likewise.
61959         (sinh_downward_test_data): Likewise.
61960         (sinh_upward_test_data): Likewise.
61961         (sqrt_test_data): Likewise.
61962         (tan_test_data): Likewise.
61963         (tan_tonearest_test_data): Likewise.
61964         (tan_towardzero_test_data): Likewise.
61965         (tan_downward_test_data): Likewise.
61966         (tan_upward_test_data): Likewise.
61967         (tanh_test_data): Likewise.
61968         (tgamma_test_data): Likewise.
61969         (trunc_test_data): Likewise.
61970         (y0_test_data): Likewise.
61971         (y1_test_data): Likewise.
61972         (yn_test_data): Likewise.
61973         (significand_test_data): Likewise.
61975         * math/gen-libm-test.pl (@functions): Remove variable.
61976         (generate_testfile): Don't handle START and END lines.
61977         * math/libm-test.inc (START): New macro.
61978         (END): Likewise.
61979         (END_COMPLEX): Likewise.
61980         (acos_test): Use END macro without arguments.
61981         (acos_test_tonearest): Likewise.
61982         (acos_test_towardzero): Likewise.
61983         (acos_test_downward): Likewise.
61984         (acos_test_upward): Likewise.
61985         (acosh_test): Likewise.
61986         (asin_test): Likewise.
61987         (asin_test_tonearest): Likewise.
61988         (asin_test_towardzero): Likewise.
61989         (asin_test_downward): Likewise.
61990         (asin_test_upward): Likewise.
61991         (asinh_test): Likewise.
61992         (atan_test): Likewise.
61993         (atanh_test): Likewise.
61994         (atan2_test): Likewise.
61995         (cabs_test): Likewise.
61996         (cacos_test): Use END_COMPLEX macro without arguments.
61997         (cacosh_test): Likewise.
61998         (carg_test): Use END macro without arguments.
61999         (casin_test): Use END_COMPLEX macro without arguments.
62000         (casinh_test): Likewise.
62001         (catan_test): Likewise.
62002         (catanh_test): Likewise.
62003         (cbrt_test): Use END macro without arguments.
62004         (ccos_test): Use END_COMPLEX macro without arguments.
62005         (ccosh_test): Likewise.
62006         (ceil_test): Use END macro without arguments.
62007         (cexp_test): Use END_COMPLEX macro without arguments.
62008         (cimag_test): Use END macro without arguments.
62009         (clog_test): Use END_COMPLEX macro without arguments.
62010         (clog10_test): Likewise.
62011         (conj_test): Likewise.
62012         (copysign_test): Use END macro without arguments.
62013         (cos_test): Likewise.
62014         (cos_test_tonearest): Likewise.
62015         (cos_test_towardzero): Likewise.
62016         (cos_test_downward): Likewise.
62017         (cos_test_upward): Likewise.
62018         (cosh_test): Likewise.
62019         (cosh_test_tonearest): Likewise.
62020         (cosh_test_towardzero): Likewise.
62021         (cosh_test_downward): Likewise.
62022         (cosh_test_upward): Likewise.
62023         (cpow_test): Use END_COMPLEX macro without arguments.
62024         (cproj_test): Likewise.
62025         (creal_test): Use END macro without arguments.
62026         (csin_test): Use END_COMPLEX macro without arguments.
62027         (csinh_test): Likewise.
62028         (csqrt_test): Likewise.
62029         (ctan_test): Likewise.
62030         (ctan_test_tonearest): Likewise.
62031         (ctan_test_towardzero): Likewise.
62032         (ctan_test_downward): Likewise.
62033         (ctan_test_upward): Likewise.
62034         (ctanh_test): Likewise.
62035         (ctanh_test_tonearest): Likewise.
62036         (ctanh_test_towardzero): Likewise.
62037         (ctanh_test_downward): Likewise.
62038         (ctanh_test_upward): Likewise.
62039         (erf_test): Use END macro without arguments.
62040         (erfc_test): Likewise.
62041         (exp_test): Likewise.
62042         (exp_test_tonearest): Likewise.
62043         (exp_test_towardzero): Likewise.
62044         (exp_test_downward): Likewise.
62045         (exp_test_upward): Likewise.
62046         (exp10_test): Likewise.
62047         (exp2_test): Likewise.
62048         (expm1_test): Likewise.
62049         (fabs_test): Likewise.
62050         (fdim_test): Likewise.
62051         (finite_test): Likewise.
62052         (floor_test): Likewise.
62053         (fma_test): Likewise.
62054         (fma_test_towardzero): Likewise.
62055         (fma_test_downward): Likewise.
62056         (fma_test_upward): Likewise.
62057         (fmax_test): Likewise.
62058         (fmin_test): Likewise.
62059         (fmod_test): Likewise.
62060         (fpclassify_test): Likewise.
62061         (frexp_test): Likewise.
62062         (gamma_test): Likewise.
62063         (hypot_test): Likewise.
62064         (ilogb_test): Likewise.
62065         (isfinite_test): Likewise.
62066         (isgreater_test): Likewise.
62067         (isgreaterequal_test): Likewise.
62068         (isinf_test): Likewise.
62069         (isless_test): Likewise.
62070         (islessequal_test): Likewise.
62071         (islessgreater_test): Likewise.
62072         (isnan_test): Likewise.
62073         (isnormal_test): Likewise.
62074         (issignaling_test): Likewise.
62075         (isunordered_test): Likewise.
62076         (j0_test): Likewise.
62077         (j1_test): Likewise.
62078         (jn_test): Likewise.
62079         (ldexp_test): Likewise.
62080         (lgamma_test): Likewise.
62081         (lrint_test): Likewise.
62082         (lrint_test_tonearest): Likewise.
62083         (lrint_test_towardzero): Likewise.
62084         (lrint_test_downward): Likewise.
62085         (lrint_test_upward): Likewise.
62086         (llrint_test): Likewise.
62087         (llrint_test_tonearest): Likewise.
62088         (llrint_test_towardzero): Likewise.
62089         (llrint_test_downward): Likewise.
62090         (llrint_test_upward): Likewise.
62091         (log_test): Likewise.
62092         (log10_test): Likewise.
62093         (log1p_test): Likewise.
62094         (log2_test): Likewise.
62095         (logb_test): Likewise.
62096         (logb_test_downward): Likewise.
62097         (lround_test): Likewise.
62098         (llround_test): Likewise.
62099         (modf_test): Likewise.
62100         (nearbyint_test): Likewise.
62101         (nextafter_test): Likewise.
62102         (nexttoward_test): Likewise.
62103         (pow_test): Likewise.
62104         (pow_test_tonearest): Likewise.
62105         (pow_test_towardzero): Likewise.
62106         (pow_test_downward): Likewise.
62107         (pow_test_upward): Likewise.
62108         (remainder_test): Likewise.
62109         (remainder_test_tonearest): Likewise.
62110         (remainder_test_towardzero): Likewise.
62111         (remainder_test_downward): Likewise.
62112         (remainder_test_upward): Likewise.
62113         (remquo_test): Likewise.
62114         (rint_test): Likewise.
62115         (rint_test_tonearest): Likewise.
62116         (rint_test_towardzero): Likewise.
62117         (rint_test_downward): Likewise.
62118         (rint_test_upward): Likewise.
62119         (round_test): Likewise.
62120         (scalb_test): Likewise.
62121         (scalbn_test): Likewise.
62122         (scalbln_test): Likewise.
62123         (signbit_test): Likewise.
62124         (sin_test): Likewise.
62125         (sin_test_tonearest): Likewise.
62126         (sin_test_towardzero): Likewise.
62127         (sin_test_downward): Likewise.
62128         (sin_test_upward): Likewise.
62129         (sincos_test): Likewise.
62130         (sinh_test): Likewise.
62131         (sinh_test_tonearest): Likewise.
62132         (sinh_test_towardzero): Likewise.
62133         (sinh_test_downward): Likewise.
62134         (sinh_test_upward): Likewise.
62135         (sqrt_test): Likewise.
62136         (tan_test): Likewise.
62137         (tan_test_tonearest): Likewise.
62138         (tan_test_towardzero): Likewise.
62139         (tan_test_downward): Likewise.
62140         (tan_test_upward): Likewise.
62141         (tanh_test): Likewise.
62142         (tgamma_test): Likewise.
62143         (trunc_test): Likewise.
62144         (y0_test): Likewise.
62145         (y1_test): Likewise.
62146         (yn_test): Likewise.
62147         (significand_test): Likewise.
62149 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62151         [BZ #15381]
62152         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62154 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62156         [BZ #14894]
62157         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62158         __ppc_mdoio and __ppc_mdoom.
62159         * manual/platform.texi: Document new functions __ppc_yield,
62160         __ppc_mdoio and __ppc_mdoom.
62162 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62164         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62165         (main): Mention "tls" pseudo-hwcap is legacy.
62166         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62168 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62170         * math/gen-libm-test.pl (parse_args): Output only string of
62171         arguments as text for test name, not full call or descriptions of
62172         tests for extra outputs.
62173         (generate_testfile): Do not pass function name to parse_args.
62174         Generate this_func variable from START.
62175         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62176         field to arg_str.
62177         (struct test_ff_f_data): Likewise.
62178         (test_ff_f_data_nexttoward): Likewise.
62179         (struct test_fi_f_data): Likewise.
62180         (struct test_fl_f_data): Likewise.
62181         (struct test_if_f_data): Likewise.
62182         (struct test_fff_f_data): Likewise.
62183         (struct test_c_f_data): Likewise.
62184         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62185         (struct test_fF_f1_data): Likewise.
62186         (struct test_ffI_f1_data): Likewise.
62187         (struct test_c_c_data): Rename test_name field to arg_str.
62188         (struct test_cc_c_data): Likewise.
62189         (struct test_f_i_data): Likewise.
62190         (struct test_ff_i_data): Likewise.
62191         (struct test_f_l_data): Likewise.
62192         (struct test_f_L_data): Likewise.
62193         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62194         and extra2_name.
62195         (COMMON_TEST_SETUP): New macro.
62196         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62197         (COMMON_TEST_CLEANUP): Likewise.
62198         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62199         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62200         macros.
62201         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62202         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62203         macros.
62204         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62205         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62206         cleanup macros.
62207         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62208         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62209         macros.
62210         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62211         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62212         macros.
62213         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62214         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62215         cleanup macros.
62216         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62217         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62218         cleanup macros.
62219         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62220         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62221         cleanup macros.
62222         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62223         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62224         macros.
62225         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62226         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62227         macros.
62228         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62229         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62230         macros.
62231         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62232         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62233         cleanup macros.
62234         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62235         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62236         cleanup macros.
62237         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62238         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62239         macros.
62240         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62241         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62242         cleanup macros.
62243         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62244         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62245         macros.
62246         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62247         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62248         macros.
62249         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62250         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62251         cleanup macros.
62252         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62254 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62256         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62257         to _sifields.sigfault.
62258         (si_addr_lsb): Define new macro.
62259         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62261         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62263 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62265         [BZ #15441]
62266         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62267         returns -1.
62268         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62269         null return -1.
62270         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62271         loading the domain.
62273 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62275         * math/gen-libm-test.pl (parse_args): Do not include expected
62276         result in test name.
62277         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62280         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62284 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62286         * benchtests/Makefile: Sort function entries.
62288         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62289         tanh, asinh, acosh, atanh.
62290         * benchtests/acos-inputs: New file.
62291         * benchtests/acosh-inputs: New file.
62292         * benchtests/asin-inputs: New file.
62293         * benchtests/asinh-inputs: New file.
62294         * benchtests/atanh-inputs: New file.
62295         * benchtests/cosh-inputs: New file.
62296         * benchtests/log-inputs: New file.
62297         * benchtests/sinh-inputs: New file.
62298         * benchtests/tanh-inputs: New file.
62300 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62302         [BZ #15339]
62303         * posix/tst-getaddrinfo4.c: New test.
62304         * posix/Makefile (tests): Add it.
62306 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62308         [BZ #15339]
62309         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62310         when no services were used.
62311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62312         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62314 2013-05-21  Andreas Schwab  <schwab@suse.de>
62316         [BZ #15014]
62317         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62318         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62319         successful.
62320         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62321         redundant variable declarations and reallocation of buffer when
62322         parsing as IPv6 address.  Always set NSS status when called from
62323         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62324         buffer too small.  Correct computation of needed size.
62325         * nss/Makefile (tests): Add test-digits-dots.
62326         * nss/test-digits-dots.c: New test.
62328 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62330         * benchtests/Makefile: Remove instructions for adding
62331         benchmark tests.
62332         * benchtests/README: New file to explain how to execute and
62333         enhance the benchmark tests.
62335 2013-05-21  Andreas Schwab  <schwab@suse.de>
62337         [BZ #15493]
62338         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62339         * setjmp/tst-sigsetjmp.c: New test.
62341 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62343         * sysdeps/x86_64/memset.S (memset): New implementation.
62344         (__bzero): Likewise.
62345         (__memset_tail): New function.
62347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62349         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62350         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62351         __memcpy_sse2_unaligned ifunc selection.
62352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62353         Add memcpy-sse2-unaligned.S.
62354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62355         Add: __memcpy_sse2_unaligned.
62357 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62359         [BZ #15490]
62360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62361         math_force_eval before restoring floating-point envrionment.
62362         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62364         Likewise.
62365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62366         <math_private.h>.
62367         (__nearbyintl): Use math_force_eval before restoring
62368         floating-point environment.
62369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62371         * math/gen-libm-test.pl (special_functions): Remove.
62372         (parse_args): Don't handle TEST_extra.  Handle functions with no
62373         return value.
62374         * math/libm-test.inc (struct test_sincos_data): Replace with
62375         struct test_fFF_11_data.
62376         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62377         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62378         (sincos_test_data): Change element type to struct
62379         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62380         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62381         RUN_TEST_LOOP_sincos.
62382         * math/README.libm-test: Don't mention special handling of
62383         individual functions.
62384         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62385         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62386         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62387         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62388         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62391         * math/gen-libm-test.pl (get_variable): Remove function.
62392         (parse_args): Don't show pointer parameters to call in test
62393         names.  Use "extra output N" in test names for extra outputs
62394         rather than naming variables.
62396 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62398         [BZ #15488]
62399         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62400         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62401         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62402         double tests.
62403         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62404         disable.
62405         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62406         check_long_double.
62408         * math/gen-libm-test.pl (@tests): Remove variable.
62409         ($count): Likewise.
62410         (new_test): Remove function.
62411         (show_exceptions): New function.
62412         (special_functions): Use show_exceptions instead of new_test.
62413         (parse_args): Likewise.
62414         (generate_testfile): Pass only function name in generated call to
62415         print_max_error or print_complex_max_error.
62416         (get_ulps): Do not handle complex tests specially.
62417         (output_test): Rename to ...
62418         (get_all_ulps_for_test): ... this.  Return a string rather than
62419         printing to a file.  Require ulps to be present.
62420         (output_ulps): Generate arrays rather than #defines.
62421         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62422         (struct ulp_data): New type.
62423         (BUILD_COMPLEX_ULP): Remove macro.
62424         (compare_ulp_data): New function.
62425         (find_ulps): Likewise.
62426         (find_test_ulps): Likewise.
62427         (find_function_ulps): Likewise.
62428         (find_complex_function_ulps): Likewise.
62429         (print_max_error): Determine allowed ulps using
62430         find_function_ulps.
62431         (print_complex_max_error): Determine allowed ulps using
62432         find_complex_function_ulps.
62433         (check_float_internal): Determine max ulps using find_test_ulps.
62434         (check_float): Do not take max_ulp parameter.  Update call to
62435         check_float_internal.
62436         (check_complex): Likewise.
62437         (check_int): Do not take max_ulp parameter.
62438         (check_long): Likewise.
62439         (check_bool): Likewise.
62440         (check_longlong): Likewise.
62441         (struct test_f_f_data): Remove max_ulp field.
62442         (struct test_ff_f_data): Likewise.
62443         (struct test_ff_f_data_nexttoward): Likewise.
62444         (struct test_fi_f_data): Likewise.
62445         (struct test_fl_f_data): Likewise.
62446         (struct test_if_f_data): Likewise.
62447         (struct test_fff_f_data): Likewise.
62448         (struct test_c_f_data): Likewise.
62449         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62450         (struct test_fF_f1_data): Likewise.
62451         (struct test_ffI_f1_data): Likewise.
62452         (struct test_c_c_data): Remove max_ulp field.
62453         (struct test_cc_c_data): Likewise.
62454         (struct test_f_i_data): Likewise.
62455         (struct test_ff_i_data): Likewise.
62456         (struct test_f_l_data): Likewise.
62457         (struct test_f_L_data): Likewise.
62458         (struct test_sincos_data): Likewise.
62459         (RUN_TEST_f_f): Do not handle ulps.
62460         (RUN_TEST_LOOP_f_f): Likewise.
62461         (RUN_TEST_2_f): Likewise.
62462         (RUN_TEST_LOOP_2_f): Likewise.
62463         (RUN_TEST_fff_f): Likewise.
62464         (RUN_TEST_LOOP_fff_f): Likewise.
62465         (RUN_TEST_c_f): Likewise.
62466         (RUN_TEST_LOOP_c_f): Likewise.
62467         (RUN_TEST_f_f1): Likewise.
62468         (RUN_TEST_LOOP_f_f1): Likewise.
62469         (RUN_TEST_fF_f1): Likewise.
62470         (RUN_TEST_LOOP_fF_f1): Likewise.
62471         (RUN_TEST_fI_f1): Likewise.
62472         (RUN_TEST_LOOP_fI_f1): Likewise.
62473         (RUN_TEST_ffI_f1): Likewise.
62474         (RUN_TEST_LOOP_ffI_f1): Likewise.
62475         (RUN_TEST_c_c): Likewise.
62476         (RUN_TEST_LOOP_c_c): Likewise.
62477         (RUN_TEST_cc_c): Likewise.
62478         (RUN_TEST_LOOP_cc_c): Likewise.
62479         (RUN_TEST_f_i): Likewise.
62480         (RUN_TEST_LOOP_f_i): Likewise.
62481         (RUN_TEST_f_i_tg): Likewise.
62482         (RUN_TEST_LOOP_f_i_tg): Likewise.
62483         (RUN_TEST_ff_i_tg): Likewise.
62484         (RUN_TEST_LOOP_ff_i_tg): Likewise.
62485         (RUN_TEST_f_b): Likewise.
62486         (RUN_TEST_LOOP_f_b): Likewise.
62487         (RUN_TEST_f_b_tg): Likewise.
62488         (RUN_TEST_LOOP_f_b_tg): Likewise.
62489         (RUN_TEST_f_l): Likewise.
62490         (RUN_TEST_LOOP_f_l): Likewise.
62491         (RUN_TEST_f_L): Likewise.
62492         (RUN_TEST_LOOP_f_L): Likewise.
62493         (RUN_TEST_sincos): Likewise.
62494         (RUN_TEST_LOOP_sincos): Likewise.
62496 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
62498         [BZ #15480]
62499         [BZ #15485]
62500         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62501         main case of finite arguments, set rounding mode to FE_TONEAREST
62502         and discard exceptions.
62503         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62504         exceptions.
62505         (remainder_tonearest_test_data): New variable.
62506         (remainder_test_tonearest): New function.
62507         (remainder_towardzero_test_data): New variable.
62508         (remainder_test_towardzero): New function.
62509         (remainder_downward_test_data): New variable.
62510         (remainder_test_downward): New function.
62511         (remainder_upward_test_data): New variable.
62512         (remainder_test_upward): New function.
62513         (main): Call the new test functions.
62515         * math/libm-test.inc (struct test_f_f1_data): Remove field
62516         extra_init.
62517         (struct test_fF_f1_data): Likewise.
62518         (struct test_ffI_f1_data): Likewise.
62519         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62520         based on value of EXTRA_EXPECTED.
62521         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62522         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62523         EXTRA_VAR based on value of EXTRA_EXPECTED.
62524         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62525         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62526         EXTRA_VAR based on value of EXTRA_EXPECTED.
62527         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62528         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62529         EXTRA_VAR based on value of EXTRA_EXPECTED.
62530         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62531         * math/gen-libm-test.pl (parse_args): Don't output initializers
62532         for extra output values.
62534         * math/libm-test.inc (check_int): Expect result to be exactly
62535         equal to expected value and do not handle ulps.
62536         (check_long): Likewise.
62537         (check_longlong): Likewise.
62539         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62540         exceptions.
62541         (cimag_test_data): Likewise.
62542         (conj_test_data): Likewise.
62543         (copysign_test_data): Likewise.
62544         (cproj_test_data): Likewise.
62545         (creal_test_data): Likewise.
62546         (fabs_test_data): Likewise.
62547         (fdim_test_data): Likewise.
62548         (finite_test_data): Likewise.
62549         (floor_test_data): Likewise.
62550         (fmax_test_data): Likewise.
62551         (fmin_test_data): Likewise.
62552         (fmod_test_data): Likewise.
62553         (fpclassify_test_data): Likewise.
62554         (frexp_test_data): Likewise.
62555         (ilogb_test_data): Likewise.
62556         (isfinite_test_data): Likewise.
62557         (isgreater_test_data): Likewise.
62558         (isgreaterequal_test_data): Likewise.
62559         (isinf_test_data): Likewise.
62560         (isless_test_data): Likewise.
62561         (islessequal_test_data): Likewise.
62562         (islessgreater_test_data): Likewise.
62563         (isnan_test_data): Likewise.
62564         (isnormal_test_data): Likewise.
62565         (issignaling_test_data): Likewise.
62566         (isunordered_test_data): Likewise.
62567         (ldexp_test_data): Likewise.
62568         (lrint_test_data): Likewise.
62569         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62570         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62571         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62572         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62573         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62574         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62575         test input.
62576         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62577         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62578         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62579         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62580         that test input.
62581         (lrint_downward_test_data): Test for "inexact" exceptions.
62582         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62583         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62584         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62585         test input.
62586         (lrint_upward_test_data): Test for "inexact" exceptions.
62587         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62588         test input.
62589         (llrint_test_data): Test for "inexact" exceptions.
62590         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62591         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62592         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62593         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62594         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62595         (llrint_downward_test_data): Test for "inexact" exceptions.
62596         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62597         (llrint_upward_test_data): Test for "inexact" exceptions.
62598         (logb_test_data): Likewise.
62599         (logb_downward_test_data): Likewise.
62600         (nextafter_test_data): Likewise.
62601         (nexttoward_test_data): Likewise.
62602         (remainder_test_data): Likewise.
62603         (remquo_test_data): Likewise.
62604         (scalbn_test_data): Likewise.
62605         (scalbln_test_data): Likewise.
62606         (signbit_test_data): Likewise.
62607         (sqrt_test_data): Likewise.
62608         (significand_test_data): Likewise.
62610 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62612         [BZ #15424]
62613         * benchtests/bench-modf.c (struct args): Mark arg0 as
62614         volatile.
62615         * scripts/bench.pl: Mark members of struct args as volatile.
62617 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62619         [BZ # 15497]
62620         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62621         negative infinity on POWER6 or lower.
62622         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62624 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62626         [BZ #15442]
62627         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62628         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62629         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62630         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62631         (_FP_SETQNAN): New macro.
62632         (_FP_SETQNAN_SEMIRAW): Likewise.
62633         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62634         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62635         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62636         (FP_EXTEND): Use _FP_FRAC_SNANP.
62637         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62638         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62639         into account.
62640         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62641         New macro.
62642         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62643         Likewise.
62645 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62647         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62648         with DIVIDE_BY_ZERO_EXCEPTION.
62649         (gamma_test_data): Likewise.
62650         (lgamma_test_data): Likewise.
62651         (log_test_data): Likewise.
62652         (log10_test_data): Likewise.
62653         (log2_test_data): Likewise.
62654         (tgamma_test_data): Likewise.
62656         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62657         (acos_test_tonearest): Likewise.
62658         (acos_test_towardzero): Likewise.
62659         (acos_test_downward): Likewise.
62660         (acos_test_upward): Likewise.
62661         (acosh_test): Likewise.
62662         (asin_test): Likewise.
62663         (asin_test_tonearest): Likewise.
62664         (asin_test_towardzero): Likewise.
62665         (asin_test_downward): Likewise.
62666         (asin_test_upward): Likewise.
62667         (asinh_test): Likewise.
62668         (atan_test): Likewise.
62669         (atanh_test): Likewise.
62670         (atan2_test): Likewise.
62671         (cabs_test): Likewise.
62672         (cacos_test): Likewise.
62673         (cacosh_test): Likewise.
62674         (casin_test): Likewise.
62675         (casinh_test): Likewise.
62676         (catan_test): Likewise.
62677         (catanh_test): Likewise.
62678         (cbrt_test): Likewise.
62679         (ccos_test): Likewise.
62680         (ccosh_test): Likewise.
62681         (cexp_test): Likewise.
62682         (clog_test): Likewise.
62683         (clog10_test): Likewise.
62684         (cos_test): Likewise.
62685         (cos_test_tonearest): Likewise.
62686         (cos_test_towardzero): Likewise.
62687         (cos_test_downward): Likewise.
62688         (cos_test_upward): Likewise.
62689         (cosh_test): Likewise.
62690         (cosh_test_tonearest): Likewise.
62691         (cosh_test_towardzero): Likewise.
62692         (cosh_test_downward): Likewise.
62693         (cosh_test_upward): Likewise.
62694         (cpow_test): Likewise.
62695         (csin_test): Likewise.
62696         (csinh_test): Likewise.
62697         (csqrt_test): Likewise.
62698         (ctan_test): Likewise.
62699         (ctan_test_tonearest): Likewise.
62700         (ctan_test_towardzero): Likewise.
62701         (ctan_test_downward): Likewise.
62702         (ctan_test_upward): Likewise.
62703         (ctanh_test): Likewise.
62704         (ctanh_test_tonearest): Likewise.
62705         (ctanh_test_towardzero): Likewise.
62706         (ctanh_test_downward): Likewise.
62707         (ctanh_test_upward): Likewise.
62708         (erf_test): Likewise.
62709         (erfc_test): Likewise.
62710         (exp_test): Likewise.
62711         (exp_test_tonearest): Likewise.
62712         (exp_test_towardzero): Likewise.
62713         (exp_test_downward): Likewise.
62714         (exp_test_upward): Likewise.
62715         (exp10_test): Likewise.
62716         (exp2_test): Likewise.
62717         (expm1_test): Likewise.
62718         (fmod_test): Likewise.
62719         (gamma_test): Likewise.
62720         (hypot_test): Likewise.
62721         (j0_test): Likewise.
62722         (j1_test): Likewise.
62723         (jn_test): Likewise.
62724         (lgamma_test): Likewise.
62725         (log_test): Likewise.
62726         (log10_test): Likewise.
62727         (log1p_test): Likewise.
62728         (log2_test): Likewise.
62729         (logb_test_downward): Likewise.
62730         (pow_test): Likewise.
62731         (pow_test_tonearest): Likewise.
62732         (pow_test_towardzero): Likewise.
62733         (pow_test_downward): Likewise.
62734         (pow_test_upward): Likewise.
62735         (remainder_test): Likewise.
62736         (remquo_test): Likewise.
62737         (sin_test): Likewise.
62738         (sin_test_tonearest): Likewise.
62739         (sin_test_towardzero): Likewise.
62740         (sin_test_downward): Likewise.
62741         (sin_test_upward): Likewise.
62742         (sincos_test): Likewise.
62743         (sinh_test): Likewise.
62744         (sinh_test_tonearest): Likewise.
62745         (sinh_test_towardzero): Likewise.
62746         (sinh_test_downward): Likewise.
62747         (sinh_test_upward): Likewise.
62748         (sqrt_test): Likewise.
62749         (tan_test): Likewise.
62750         (tan_test_tonearest): Likewise.
62751         (tan_test_towardzero): Likewise.
62752         (tan_test_downward): Likewise.
62753         (tan_test_upward): Likewise.
62754         (tanh_test): Likewise.
62755         (tgamma_test): Likewise.
62756         (y0_test): Likewise.
62757         (y1_test): Likewise.
62758         (yn_test): Likewise.
62760         * math/gen-libm-test.pl (adjust_arg): Remove function.
62761         (special_function): Remove argument $in_func.  Only handle
62762         generating output for tables of tests, not inside functions.
62763         (parse_args): Likewise.
62764         (generate_testfile): Remove variable $in_func.  Update call to
62765         parse_args.
62766         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62767         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62768         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62769         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62770         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62771         (MAX_VALUE_INIT): Rename macro to max_value.
62772         (MIN_VALUE_INIT): Rename macro to min_value.
62773         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62774         (plus_zero): Remove variable.
62775         (minus_zero): Likewise.
62776         (plus_infty): Likewise.
62777         (minus_infty): Likewise.
62778         (qnan_value): Likewise.
62779         (max_value): Likewise.
62780         (min_value): Likewise.
62781         (min_subnorm_value): Likewise.
62783 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62785         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62786         uint64_t or uint32_t usage.
62787         * crypt/sha256-block.c: Likewise.
62788         * crypt/sha256-crypt.c: Likewise.
62789         * crypt/sha256.c: Likewise.
62790         * crypt/sha512-block.c: Likewise.
62791         * crypt/sha512-crypt.c: Likewise.
62792         * crypt/sha512.c: Likewise.
62793         * debug/backtrace-tst.c: Likewise.
62794         * debug/pcprofiledump.c: Likewise.
62795         * elf/cache.c: Likewise.
62796         * elf/dl-cache.c: Likewise.
62797         * elf/dl-misc.c: Likewise.
62798         * elf/dl-profile.c: Likewise.
62799         * elf/dl-support.c: Likewise.
62800         * elf/ldconfig.c: Likewise.
62801         * elf/sprof.c: Likewise.
62802         * iconv/dummy-repertoire.c: Likewise.
62803         * iconv/iconv_charmap.c: Likewise.
62804         * iconv/skeleton.c: Likewise.
62805         * iconvdata/8bit-generic.c: Likewise.
62806         * iconvdata/cp737.h: Likewise.
62807         * iconvdata/cp775.h: Likewise.
62808         * iconvdata/ibm1008.h: Likewise.
62809         * iconvdata/ibm1025.h: Likewise.
62810         * iconvdata/ibm1046.h: Likewise.
62811         * iconvdata/ibm1097.h: Likewise.
62812         * iconvdata/ibm1112.h: Likewise.
62813         * iconvdata/ibm1122.h: Likewise.
62814         * iconvdata/ibm1123.h: Likewise.
62815         * iconvdata/ibm1124.h: Likewise.
62816         * iconvdata/ibm1129.h: Likewise.
62817         * iconvdata/ibm1130.h: Likewise.
62818         * iconvdata/ibm1132.h: Likewise.
62819         * iconvdata/ibm1133.h: Likewise.
62820         * iconvdata/ibm1137.h: Likewise.
62821         * iconvdata/ibm1140.h: Likewise.
62822         * iconvdata/ibm1141.h: Likewise.
62823         * iconvdata/ibm1142.h: Likewise.
62824         * iconvdata/ibm1143.h: Likewise.
62825         * iconvdata/ibm1144.h: Likewise.
62826         * iconvdata/ibm1145.h: Likewise.
62827         * iconvdata/ibm1146.h: Likewise.
62828         * iconvdata/ibm1147.h: Likewise.
62829         * iconvdata/ibm1148.h: Likewise.
62830         * iconvdata/ibm1149.h: Likewise.
62831         * iconvdata/ibm1153.h: Likewise.
62832         * iconvdata/ibm1154.h: Likewise.
62833         * iconvdata/ibm1155.h: Likewise.
62834         * iconvdata/ibm1156.h: Likewise.
62835         * iconvdata/ibm1157.h: Likewise.
62836         * iconvdata/ibm1158.h: Likewise.
62837         * iconvdata/ibm1160.h: Likewise.
62838         * iconvdata/ibm1161.h: Likewise.
62839         * iconvdata/ibm1162.h: Likewise.
62840         * iconvdata/ibm1163.h: Likewise.
62841         * iconvdata/ibm1164.h: Likewise.
62842         * iconvdata/ibm1166.h: Likewise.
62843         * iconvdata/ibm1167.h: Likewise.
62844         * iconvdata/ibm12712.h: Likewise.
62845         * iconvdata/ibm1390.h: Likewise.
62846         * iconvdata/ibm1399.h: Likewise.
62847         * iconvdata/ibm16804.h: Likewise.
62848         * iconvdata/ibm4517.h: Likewise.
62849         * iconvdata/ibm4899.h: Likewise.
62850         * iconvdata/ibm4909.h: Likewise.
62851         * iconvdata/ibm4971.h: Likewise.
62852         * iconvdata/ibm5347.h: Likewise.
62853         * iconvdata/ibm803.h: Likewise.
62854         * iconvdata/ibm856.h: Likewise.
62855         * iconvdata/ibm901.h: Likewise.
62856         * iconvdata/ibm902.h: Likewise.
62857         * iconvdata/ibm9030.h: Likewise.
62858         * iconvdata/ibm9066.h: Likewise.
62859         * iconvdata/ibm921.h: Likewise.
62860         * iconvdata/ibm922.h: Likewise.
62861         * iconvdata/ibm9448.h: Likewise.
62862         * iconvdata/isiri-3342.h: Likewise.
62863         * iconvdata/jis0201.h: Likewise.
62864         * include/link.h: Likewise.
62865         * include/netdb.h: Likewise.
62866         * inet/check_native.c: Likewise.
62867         * inet/check_pf.c: Likewise.
62868         * inet/getipv4sourcefilter.c: Likewise.
62869         * inet/getnameinfo.c: Likewise.
62870         * inet/getsourcefilter.c: Likewise.
62871         * inet/htonl.c: Likewise.
62872         * inet/setipv4sourcefilter.c: Likewise.
62873         * inet/setsourcefilter.c: Likewise.
62874         * inet/test-inet6_opt.c: Likewise.
62875         * inet/tst-network.c: Likewise.
62876         * locale/C-collate.c: Likewise.
62877         * locale/C-ctype.c: Likewise.
62878         * locale/C-time.c: Likewise.
62879         * locale/C-translit.h: Likewise.
62880         * locale/loadarchive.c: Likewise.
62881         * locale/programs/3level.h: Likewise.
62882         * locale/programs/charmap.c: Likewise.
62883         * locale/programs/charmap.h: Likewise.
62884         * locale/programs/ld-address.c: Likewise.
62885         * locale/programs/ld-collate.c: Likewise.
62886         * locale/programs/ld-ctype.c: Likewise.
62887         * locale/programs/ld-identification.c: Likewise.
62888         * locale/programs/ld-measurement.c: Likewise.
62889         * locale/programs/ld-messages.c: Likewise.
62890         * locale/programs/ld-monetary.c: Likewise.
62891         * locale/programs/ld-name.c: Likewise.
62892         * locale/programs/ld-numeric.c: Likewise.
62893         * locale/programs/ld-paper.c: Likewise.
62894         * locale/programs/ld-telephone.c: Likewise.
62895         * locale/programs/ld-time.c: Likewise.
62896         * locale/programs/linereader.c: Likewise.
62897         * locale/programs/locale.c: Likewise.
62898         * locale/programs/locarchive.c: Likewise.
62899         * locale/programs/locfile.h: Likewise.
62900         * locale/programs/repertoire.c: Likewise.
62901         * locale/programs/simple-hash.c: Likewise.
62902         * locale/programs/simple-hash.h: Likewise.
62903         * malloc/memusage.c: Likewise.
62904         * malloc/memusagestat.c: Likewise.
62905         * nis/nis_defaults.c: Likewise.
62906         * nis/nis_hash.c: Likewise.
62907         * nis/nis_print.c: Likewise.
62908         * nis/nis_xdr.c: Likewise.
62909         * nscd/connections.c: Likewise.
62910         * nscd/hstcache.c: Likewise.
62911         * nscd/nscd_gethst_r.c: Likewise.
62912         * nscd/nscd_getserv_r.c: Likewise.
62913         * nscd/nscd_helper.c: Likewise.
62914         * nscd/servicescache.c: Likewise.
62915         * nss/makedb.c: Likewise.
62916         * nss/nss_db/db-XXX.c: Likewise.
62917         * nss/nss_db/db-initgroups.c: Likewise.
62918         * nss/nss_db/db-netgrp.c: Likewise.
62919         * nss/nss_files/files-network.c: Likewise.
62920         * nss/nss_files/files-parse.c: Likewise.
62921         * posix/bug-regex5.c: Likewise.
62922         * posix/fnmatch_loop.c: Likewise.
62923         * posix/regcomp.c: Likewise.
62924         * posix/regexec.c: Likewise.
62925         * posix/tst-rfc3484-2.c: Likewise.
62926         * posix/tst-rfc3484-3.c: Likewise.
62927         * posix/tst-rfc3484.c: Likewise.
62928         * resolv/nss_dns/dns-canon.c: Likewise.
62929         * resolv/nss_dns/dns-network.c: Likewise.
62930         * resolv/res_init.c: Likewise.
62931         * resolv/res_mkquery.c: Likewise.
62932         * resolv/tst-aton.c: Likewise.
62933         * stdlib/cxa_atexit.c: Likewise.
62934         * stdlib/cxa_finalize.c: Likewise.
62935         * stdlib/gen-fpioconst.c: Likewise.
62936         * stdlib/strtol_l.c: Likewise.
62937         * string/tst-endian.c: Likewise.
62938         * sunrpc/auth_des.c: Likewise.
62939         * sunrpc/clnt_udp.c: Likewise.
62940         * sunrpc/rtime.c: Likewise.
62941         * sunrpc/svcauth_des.c: Likewise.
62942         * sunrpc/xdr.c: Likewise.
62943         * sunrpc/xdr_intXX_t.c: Likewise.
62944         * sunrpc/xdr_rec.c: Likewise.
62945         * sysdeps/generic/ldconfig.h: Likewise.
62946         * sysdeps/generic/ldsodefs.h: Likewise.
62947         * sysdeps/generic/memusage.h: Likewise.
62948         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62949         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62950         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62954         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62955         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62958         * sysdeps/posix/getaddrinfo.c: Likewise.
62959         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62961         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62962         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62963         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62965         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62966         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62967         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62968         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62969         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62970         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62971         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62972         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62973         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62974         * sysdeps/x86_64/dl-tls.h: Likewise.
62975         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62976         * time/alt_digit.c: Likewise.
62977         * time/era.c: Likewise.
62978         * wcsmbs/tst-c16c32-1.c: Likewise.
62980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62982         * math/libm-test.inc (struct test_sincos_data): New type.
62983         (RUN_TEST_LOOP_sincos): New macro.
62984         (sincos_test_data): New variable.
62985         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62987 2013-05-16  Richard Henderson  <rth@redhat.com>
62989         * math/atest-exp2.c (LIMB64): New macro.
62990         (CONSTSZ): New macro.
62991         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62992         (hexdig): Move ...
62993         (print_mpn_fp): ... to function scope.
62994         (read_mpn_hex): Remove.
62995         (get_log2): Remove.
62996         (exp2_mpn): Use mp_log2.
62997         (main): Use mp_exp1.
62999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63001         * math/libm-test.inc: Remove comment about not testing "inexact"
63002         exceptions.
63003         (INEXACT_EXCEPTION): New macro.
63004         (NO_INEXACT_EXCEPTION): Likewise.
63005         (INVALID_EXCEPTION_OK): Update value.
63006         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63007         (OVERFLOW_EXCEPTION_OK): Likewise.
63008         (UNDERFLOW_EXCEPTION_OK): Likewise.
63009         (IGNORE_ZERO_INF_SIGN): Likewise.
63010         (ERRNO_UNCHANGED): Likewise.
63011         (ERRNO_EDOM): Likewise.
63012         (ERRNO_ERANGE): Likewise.
63013         (test_exceptions): Handle testing "inexact" exceptions.
63014         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63015         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63016         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63017         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63018         INEXACT_EXCEPTION.
63019         (rint_towardzero_test_data): Likewise.
63020         (rint_downward_test_data): Likewise.
63021         (rint_upward_test_data): Likewise.
63023         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63024         with OVERFLOW_EXCEPTION.
63025         (exp10_test_data): Likewise.
63026         (exp2_test_data): Likewise.
63027         (expm1_test_data): Likewise.
63028         (lgamma_test_data): Likewise.
63029         (pow_test_data): Likewise.
63030         (tgamma_test_data): Likewise.
63031         (yn_test_data): Remove duplicate test of overflow.
63033         * math/libm-test.inc (struct test_cc_c_data): New type.
63034         (RUN_TEST_LOOP_cc_c): New macro.
63035         (cpow_test_data): New variable.
63036         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63038         * math/libm-test.inc (struct test_f_L_data): New type.
63039         (RUN_TEST_LOOP_f_L): New macro.
63040         (llrint_test_data): New variable.
63041         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63042         (llrint_tonearest_test_data): New variable.
63043         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63044         (llrint_towardzero_test_data): New variable.
63045         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63046         (llrint_downward_test_data): New variable.
63047         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63048         (llrint_upward_test_data): New variable.
63049         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63050         (llround_test_data): New variable.
63051         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63053 2013-05-13  Peter Collingbourne  <pcc@google.com>
63055         * math/atest-exp2.c (get_log2): Remove const attribute.
63057 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63059         * math/libm-test.inc (struct test_f_l_data): New type.
63060         (RUN_TEST_LOOP_f_l): New macro.
63061         (lrint_test_data): New variable.
63062         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63063         (lrint_tonearest_test_data): New variable.
63064         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63065         (lrint_towardzero_test_data): New variable.
63066         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63067         (lrint_downward_test_data): New variable.
63068         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63069         (lrint_upward_test_data): New variable.
63070         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63071         (lround_test_data): New variable.
63072         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63074 2013-05-15  Peter Collingbourne  <pcc@google.com>
63076         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63077         (EXTRACT_WORDS64) Use where appropriate.
63078         (INSERT_WORDS64) Likewise.
63080         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63081         constraints with x constraints.
63082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63084         * malloc/obstack.c (_obstack_compat): Add initializer.
63086 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63089         si_trapno and add si_addr_lsb to _sifields.sigfault.
63090         (si_trapno): Remove macro.
63091         (si_addr_lsb): Define new macro.
63092         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63094 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63096         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63097         instead of TEST_f_l.
63098         (llrint_test_tonearest): Likewise.
63099         (llrint_test_towardzero): Likewise.
63100         (llrint_test_downward): Likewise.
63101         (llrint_test_upward): Likewise.
63102         (llround_test): Likewise.
63104         * math/libm-test.inc (struct test_f_i_data): Add comment.
63105         (RUN_TEST_LOOP_f_b): New macro.
63106         (RUN_TEST_LOOP_f_b_tg): Likewise.
63107         (finite_test_data): New variable.
63108         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63109         (isfinite_test_data): New variable.
63110         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63111         (isinf_test_data): New variable.
63112         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63113         (isnan_test_data): New variable.
63114         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63115         (isnormal_test_data): New variable.
63116         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63117         (issignaling_test_data): New variable.
63118         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63119         (signbit_test_data): New variable.
63120         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63122         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63123         with INVALID_EXCEPTION.
63124         (acosh_test_data): Likewise.
63125         (asin_test_data): Likewise.
63126         (atanh_test_data): Likewise.
63127         (fmod_test_data): Likewise.
63128         (log_test_data): Likewise.
63129         (log10_test_data): Likewise.
63130         (log2_test_data): Likewise.
63131         (pow_test_data): Likewise.
63132         (sqrt_test_data): Likewise.
63133         (y0_test_data): Likewise.
63134         (y1_test_data): Likewise.
63135         (yn_test_data): Likewise.
63137         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63138         function contents.
63140         * math/libm-test.inc (struct test_ff_i_data): New type.
63141         (RUN_TEST_LOOP_ff_i_tg): New macro.
63142         (isgreater_test_data): New variable.
63143         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63144         (isgreaterequal_test_data): New variable.
63145         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63146         (isless_test_data): New variable.
63147         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63148         (islessequal_test_data): New variable.
63149         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63150         (islessgreater_test_data): New variable.
63151         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63152         (isunordered_test_data): New variable.
63153         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63155 2013-05-14  David S. Miller  <davem@davemloft.net>
63157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63159 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63161         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63163         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63164         extra_test to int.
63165         (struct test_f_i_data): Change type of max_ulp to int.
63167         * math/libm-test.inc (test_ffI_f1_data): New type.
63168         (RUN_TEST_LOOP_ffI_f1): New macro.
63169         (remquo_test_data): New variable.
63170         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63172         * setjmp/tst-setjmp-fp.c: New file.
63173         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63174         (link-libm): New variable.
63175         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63177         * math/libm-test.inc (struct test_f_i_data): New type.
63178         (RUN_TEST_LOOP_f_i): New macro.
63179         (RUN_TEST_LOOP_f_i_tg): Likewise.
63180         (fpclassify_test_data): New variable.
63181         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63182         (ilogb_test_data): New variable.
63183         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63185         * math/libm-test.inc (scalbln_test): Correct function name in END
63186         call.
63188         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63189         (RUN_TEST_LOOP_fI_f1): New macro.
63190         (frexp_test_data): New variable.
63191         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63193         * math/libm-test.inc (struct test_fF_f1_data): New type.
63194         (RUN_TEST_LOOP_fF_f1): New macro.
63195         (modf_test_data): New variable.
63196         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63198         * math/libm-test.inc (struct test_f_f1_data): New type.
63199         (RUN_TEST_LOOP_f_f1): New macro.
63200         (gamma_test_data): New variable.
63201         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63202         (lgamma_test_data): New variable.
63203         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63205 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63208         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63209         (main): Comment "tls" pseudo-hwcap.
63211 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63213         * math/libm-test.inc (struct test_fl_f_data): New type.
63214         (RUN_TEST_LOOP_fl_f): New variable.
63215         (scalbln_test_data): New variable.
63216         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63218         * math/libm-test.inc (struct test_fi_f_data): New type.
63219         (RUN_TEST_LOOP_fi_f): New macro.
63220         (ldexp_test_data): New variable.
63221         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63222         (scalbn_test_data): New variable.
63223         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63225         * math/libm-test.inc (struct test_c_f_data): New type.
63226         (RUN_TEST_LOOP_c_f): New macro.
63227         (cabs_test_data): New variable.
63228         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63229         (carg_test_data): New variable.
63230         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63231         (cimag_test_data): New variable.
63232         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63233         (creal_test_data): New variable.
63234         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63236         * math/libm-test.inc (struct test_if_f_data): New type.
63237         (RUN_TEST_LOOP_if_f): New macro.
63238         (jn_test_data): New variable.
63239         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63240         (yn_test_data): New variable.
63241         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63243         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63245 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63247         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63248         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63250 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63252         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63253         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63254         (bench-deps): Add bench-timing.h.
63255         * benchtests-bench-skeleton.c: Include bench-timing.h.
63256         (main): Use TIMING_* macros instead of clock_gettime.
63257         * benchtests/bench-timing.h: New file.
63259         [BZ #14582]
63260         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63261         Renamed from _LIB_VERSION.
63262         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63264 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63266         * math/libm-test.inc (struct test_fff_f_data): New type.
63267         (RUN_TEST_LOOP_fff_f): New macro.
63268         (fma_test_data): New variable.
63269         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63270         (fma_towardzero_test_data): New variable.
63271         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63272         (fma_downward_test_data): New variable.
63273         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63274         (fma_upward_test_data): New variable.
63275         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63277         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63278         (struct test_c_c_data): New type.
63279         (RUN_TEST_LOOP_c_c): New macro.
63280         (cacos_test_data): New variable.
63281         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63282         (cacosh_test_data): New variable.
63283         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63284         (casin_test_data): New variable.
63285         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63286         (casinh_test_data): New variable.
63287         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63288         (catan_test_data): New variable.
63289         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63290         (catanh_test_data): New variable.
63291         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63292         (ccos_test_data): New variable.
63293         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63294         (ccosh_test_data): New variable.
63295         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63296         (cexp_test_data): New variable.
63297         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63298         (clog_test_data): New variable.
63299         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63300         (clog10_test_data): New variable.
63301         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63302         (conj_test_data): New variable.
63303         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63304         (cproj_test_data): New variable.
63305         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63306         (csin_test_data): New variable.
63307         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63308         (csinh_test_data): New variable.
63309         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63310         (csqrt_test_data): New variable.
63311         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63312         (ctan_test_data): New variable.
63313         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63314         (ctan_tonearest_test_data): New variable.
63315         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63316         (ctan_towardzero_test_data): New variable.
63317         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63318         (ctan_downward_test_data): New variable.
63319         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63320         (ctan_upward_test_data): New variable.
63321         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63322         (ctanh_test_data): New variable.
63323         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63324         (ctanh_tonearest_test_data): New variable.
63325         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63326         (ctanh_towardzero_test_data): New variable.
63327         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63328         (ctanh_downward_test_data): New variable.
63329         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63330         (ctanh_upward_test_data): New variable.
63331         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63332         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63333         of BUILD_COMPLEX.
63335         * math/libm-test.inc (struct test_ff_f_data): New type.
63336         (struct test_ff_f_data_nexttoward): Likewise.
63337         (RUN_TEST_LOOP_2_f): New macro.
63338         (RUN_TEST_LOOP_ff_f): Likewise.
63339         (atan2_test_data): New variable.
63340         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63341         (copysign_test_data): New variable.
63342         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63343         (fdim_test_data): New variable.
63344         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63345         (fmax_test_data): New variable.
63346         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63347         (fmin_test_data): New variable.
63348         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63349         (fmod_test_data): New variable.
63350         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63351         (hypot_test_data): New variable.
63352         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63353         (nextafter_test_data): New variable.
63354         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63355         (nexttoward_test_data): New variable.
63356         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63357         (pow_test_data): New variable.
63358         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63359         (pow_tonearest_test_data): New variable.
63360         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63361         (pow_towardzero_test_data): New variable.
63362         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63363         (pow_downward_test_data): New variable.
63364         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63365         (pow_upward_test_data): New variable.
63366         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63367         (remainder_test_data): New variable.
63368         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63369         (scalb_test_data): New variable.
63370         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63371         * sysdeps/i386/fpu/libm-test-ulps: Update.
63373 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63375         * math/libm-test.inc (fma_test): Use max_value instead of local
63376         variable fltmax.
63377         (nextafter_test): Likewise.
63379         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63380         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63381         (acos_downward_test_data): New variable.
63382         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63383         (acos_upward_test_data): New variable.
63384         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63385         (acosh_test_data): New variable.
63386         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63387         (asin_test_data): New variable.
63388         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63389         (asin_tonearest_test_data): New variable.
63390         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63391         (asin_towardzero_test_data): New variable.
63392         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63393         (asin_downward_test_data): New variable.
63394         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63395         (asin_upward_test_data): New variable.
63396         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63397         (asinh_test_data): New variable.
63398         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63399         (atan_test_data): New variable.
63400         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63401         (atanh_test_data): New variable.
63402         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63403         (cbrt_test_data): New variable.
63404         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63405         (ceil_test_data): New variable.
63406         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63407         (cos_test_data): New variable.
63408         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63409         (cos_tonearest_test_data): New variable.
63410         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63411         (cos_towardzero_test_data): New variable.
63412         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63413         (cos_downward_test_data): New variable.
63414         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63415         (cos_upward_test_data): New variable.
63416         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63417         (cosh_test_data): New variable.
63418         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63419         (cosh_tonearest_test_data): New variable.
63420         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63421         (cosh_towardzero_test_data): New variable.
63422         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63423         (cosh_downward_test_data): New variable.
63424         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63425         (cosh_upward_test_data): New variable.
63426         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63427         (erf_test_data): New variable.
63428         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63429         (erfc_test_data): New variable.
63430         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63431         (exp_test_data): New variable.
63432         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63433         (exp_tonearest_test_data): New variable.
63434         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63435         (exp_towardzero_test_data): New variable.
63436         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63437         (exp_downward_test_data): New variable.
63438         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63439         (exp_upward_test_data): New variable.
63440         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63441         (exp10_test_data): New variable.
63442         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63443         (exp2_test_data): New variable.
63444         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63445         (expm1_test_data): New variable.
63446         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63447         (fabs_test_data): New variable.
63448         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63449         (floor_test_data): New variable.
63450         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63451         (j0_test_data): New variable.
63452         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63453         (j1_test_data): New variable.
63454         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63455         (log_test_data): New variable.
63456         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63457         (log10_test_data): New variable.
63458         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63459         (log1p_test_data): New variable.
63460         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63461         (log2_test_data): New variable.
63462         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63463         (logb_test_data): New variable.
63464         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63465         (logb_downward_test_data): New variable.
63466         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63467         (nearbyint_test_data): New variable.
63468         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63469         (rint_test_data): New variable.
63470         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63471         (rint_tonearest_test_data): New variable.
63472         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63473         (rint_towardzero_test_data): New variable.
63474         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63475         (rint_downward_test_data): New variable.
63476         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63477         (rint_upward_test_data): New variable.
63478         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63479         (round_test_data): New variable.
63480         (round_test): Run tests with RUN_TEST_LOOP_f_f.
63481         (sin_test_data): New variable.
63482         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63483         (sin_tonearest_test_data): New variable.
63484         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63485         (sin_towardzero_test_data): New variable.
63486         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63487         (sin_downward_test_data): New variable.
63488         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63489         (sin_upward_test_data): New variable.
63490         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63491         (sinh_test_data): New variable.
63492         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63493         (sinh_tonearest_test_data): New variable.
63494         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63495         (sinh_towardzero_test_data): New variable.
63496         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63497         (sinh_downward_test_data): New variable.
63498         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63499         (sinh_upward_test_data): New variable.
63500         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63501         (sqrt_test_data): New variable.
63502         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63503         (tan_test_data): New variable.
63504         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63505         (tan_tonearest_test_data): New variable.
63506         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63507         (tan_towardzero_test_data): New variable.
63508         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63509         (tan_downward_test_data): New variable.
63510         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63511         (tan_upward_test_data): New variable.
63512         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63513         (tanh_test_data): New variable.
63514         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63515         (tgamma_test_data): New variable.
63516         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63517         (trunc_test_data): New variable.
63518         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63519         (y0_test_data): New variable.
63520         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63521         (y1_test_data): New variable.
63522         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63523         (significand_test_data): New variable.
63524         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63526 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63528         [BZ #12387]
63529         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63531 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63533         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63535 2013-05-10  Andreas Jaeger  <aj@suse.de>
63537         [BZ #15448]
63538         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63539         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63541 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63543         * math/gen-libm-test.pl (adjust_arg): New function.
63544         (special_functions): Handle generating output in both functions
63545         and arrays.
63546         (parse_args): Likewise.
63547         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63548         $in_func argument to parse_args.
63549         * math/libm-test.inc (struct test_f_f_data): New type.
63550         (IF_ROUND_INIT_): New macro.
63551         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63552         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63553         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63554         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63555         (ROUND_RESTORE_): Likewise.
63556         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63557         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63558         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63559         (ROUND_RESTORE_FE_UPWARD): Likewise.
63560         (RUN_TEST_LOOP_f_f): New macro.
63561         (acos_test_data): New variable.
63562         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63563         (acos_tonearest_test_data): New variable.
63564         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63566 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63568         * benchtests/bench-skeleton.c (startup): Fix coding style.
63570 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63572         [BZ #6809]
63573         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63574         negative infinity argument.
63575         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63576         negative infinity argument.
63577         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63578         negative infinity argument.
63579         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63580         domain errors.
63582 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63584         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63585         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63586         * iconv/iconv_prog.c (main): Likewise.
63587         * locale/programs/charmap-dir.c (charmap_readdir)
63588         (fopen_uncompressed): Likewise.
63589         * locale/programs/locfile.c (siblings_uncached)
63590         (write_locale_data): Use lstat64 instead of lstat.
63591         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63592         stat.
63594 2013-05-10  Andreas Jaeger  <aj@suse.de>
63596         [BZ #15395]
63597         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63598         localization.
63599         Include <locale.h>.
63601 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63603         * elf/dl-close.c (_dl_close_worker): Add comments.
63605 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63607         [BZ #15359]
63608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63609         high part of pi/2.
63610         (__ieee754_rem_pio2l): Update comments.
63612         [BZ #15429]
63613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63614         high part of pi/2.
63615         (__ieee754_rem_pio2l): Update comments.
63617         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63618         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63620         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63621         M_PI_4l.
63623         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63624         (M_PI_34_LOG10El): Likewise.
63625         (M_PI2_LOG10El): Likewise.
63626         (M_PI4_LOG10El): Likewise.
63627         (M_PI_LOG10El): Likewise.
63629 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63633 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63635         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63636         (MINUS_ZERO_INIT): Likewise.
63637         (PLUS_INFTY_INIT): Likewise.
63638         (MINUS_INFTY_INIT): Likewise.
63639         (QNAN_VALUE_INIT): Likewise.
63640         (MAX_VALUE_INIT): Likewise.
63641         (MIN_VALUE_INIT): Likewise.
63642         (MIN_SUBNORM_VALUE_INIT): Likewise.
63643         (plus_zero): Initialize with PLUS_ZERO_INIT.
63644         (minus_zero): Initialize with MINUS_ZERO_INIT.
63645         (plus_infty): Initialize with PLUS_INFTY_INIT.
63646         (minus_infty): Initialize with MINUS_INFTY_INIT.
63647         (qnan_value): Initialize with QNAN_VALUE_INIT.
63648         (max_value): Initialize with MAX_VALUE_INIT.
63649         (min_value): Initialize with MIN_VALUE_INIT.
63650         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63652         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63653         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63654         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63655         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63657         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63658         (RUN_TEST_2_f): Likewise.
63659         (RUN_TEST_ff_f): Likewise.
63660         (RUN_TEST_fi_f): Likewise.
63661         (RUN_TEST_fl_f): Likewise.
63662         (RUN_TEST_fff_f): Likewise.
63663         (RUN_TEST_c_f): Likewise.
63664         (RUN_TEST_f_f1): Likewise.
63665         (RUN_TEST_fF_f1): Likewise.
63666         (RUN_TEST_fI_f1): Likewise.
63667         (RUN_TEST_ffI_f1): Likewise.
63668         (RUN_TEST_c_c): Likewise.
63669         (RUN_TEST_cc_c): Likewise.
63670         (RUN_TEST_f_i): Likewise.
63671         (RUN_TEST_f_i_tg): Likewise.
63672         (RUN_TEST_ff_i_tg): Likewise.
63673         (RUN_TEST_f_b): Likewise.
63674         (RUN_TEST_f_b_tg): Likewise.
63675         (RUN_TEST_f_l): Likewise.
63676         (RUN_TEST_f_L): Likewise.
63677         (RUN_TEST_sincos): Likewise.
63678         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63679         whether to show exceptions.  Do not include ");\n" in return
63680         value.
63681         (special_functions): Output call to RUN_TEST_sincos instead of
63682         check_float calls.  Update calls to new_test.
63683         (parse_args): Output call to single RUN_TEST_* macro instead of
63684         check_* calls and other assignments.  Update calls to new_test.
63686         [BZ #2546]
63687         [BZ #2560]
63688         [BZ #5159]
63689         [BZ #15426]
63690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63691         input to result for tgamma overflow.
63692         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63693         (gamma_coeff): New variable.
63694         (NCOEFF): New macro.
63695         (gamma_positive): New function.
63696         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63697         underflow here.  Use gamma_positive instead of exp (lgamma) for
63698         other arguments.
63699         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63700         (gamma_coeff): New variable.
63701         (NCOEFF): New macro.
63702         (gammaf_positive): New function.
63703         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63704         underflow here.  Use gamma_positive instead of exp (lgamma) for
63705         other arguments.
63706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63707         (gamma_coeff): New variable.
63708         (NCOEFF): New macro.
63709         (gammal_positive): New function.
63710         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63711         underflow here.  Use gamma_positive instead of exp (lgamma) for
63712         other arguments.
63713         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63714         (gamma_coeff): New variable.
63715         (NCOEFF): New macro.
63716         (gammal_positive): New function.
63717         (__ieee754_gammal_r): Handle positive infinity, overflow and
63718         underflow here.  Handle NaN the same as positive infinity.  Remove
63719         check x < 0xffffffff for negative integers.  Use gamma_positive
63720         instead of exp (lgamma) for other arguments.
63721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63722         (gamma_coeff): New variable.
63723         (NCOEFF): New macro.
63724         (gammal_positive): New function.
63725         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63726         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63727         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63728         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63729         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63730         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63731         * sysdeps/generic/math_private.h (__gamma_productf): New
63732         prototype.
63733         (__gamma_product): Likewise.
63734         (__gamma_productl): Likewise.
63735         * math/Makefile (libm-calls): Add gamma_product.
63736         * math/libm-test.inc (tgamma_test): Add more tests.
63737         * sysdeps/i386/fpu/libm-test-ulps: Update.
63738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63740 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63742         * benchtests/bench-skeleton.c (main): Preheat CPU.
63744 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63746         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63748 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63750         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63751         and _dl_skip_args_internal.
63753 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63755         * manual/message.texi (Message Translation): Talk about users.
63756         Message to key mapping impacts design.
63758 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63760         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63762         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63764         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63765         * sysdeps/wordsize-64/glob64.c: ... here.
63767         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63768         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63769         New macros.
63771         * debug/getlogin_r_chk.c: Moved to ...
63772         * login/getlogin_r_chk.c: ... here.
63773         * debug/Makefile (routines): Move getlogin_r_chk to ...
63774         * login/Makefile (routines): ... here.
63775         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63776         * login/Versions (libc: GLIBC_2.4): ... here.
63778         * io/poll.c (__poll): Renamed from poll.
63779         Add libc_hidden_def.
63780         (poll): Define as weak alias.
63782         * debug/ptsname_r_chk.c: Moved to ...
63783         * login/ptsname_r_chk.c: ... here.
63784         * debug/Makefile (routines): Move ptsname_r_chk to ...
63785         * login/Makefile (routines): ... here.
63786         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63787         * login/Versions (libc: GLIBC_2.4): ... here.
63789         * posix/getlogin.c: Moved to ...
63790         * login/getlogin.c: ... here.
63791         * posix/getlogin_r.c: Moved to ...
63792         * login/getlogin_r.c: ... here.
63793         * posix/getlogin_r.c: Moved to ...
63794         * login/getlogin_r.c: ... here.
63795         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63796         * login/Makefile (routines): ... here.
63797         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63798         * login/Versions (libc: GLIBC_2.0): ... here.
63800         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63801         (setrlimit): Define as weak alias.
63803         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63804         Call __ names for open, ftruncate, and close.
63805         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63806         (truncate): Define as weak alias.
63808 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63810         * math/gen-libm-test.pl (parse_args): Initialize x before each
63811         test of frexp, modf and remquo.
63813         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63814         test signgam value.
63816 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63818         [BZ #15418]
63819         [BZ #15419]
63820         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63821         internal tests.
63822         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63824 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63826         * elf/dl-writev.h: New file.
63827         * elf/dl-misc.c: Include it.
63828         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63829         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63831 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63833         * math/libm-test.inc (noXFails): Remove variable.
63834         (noXPasses): Likewise.
63835         (BUILD_COMPLEX_INT): Remove macro.
63836         (print_screen): Remove xfail argument.
63837         (print_screen_max_error): Likewise.
63838         (update_stats): Likewise.
63839         (print_max_error): Likewise.  Update calls to other affected
63840         functions.
63841         (print_complex_max_error): Likewise.
63842         (test_single_exception): Update calls to print_screen.
63843         (test_single_errno): Likewise.
63844         (check_float_internal): Remove xfail argument.  Update calls to
63845         other affected functions.
63846         (check_float): Likewise.
63847         (check_complex): Likewise.
63848         (check_int): Likewise.
63849         (check_long): Likewise.
63850         (check_bool): Likewise.
63851         (check_longlong): Likewise.
63852         (main): Don't print noXFails and noXPasses.
63853         * math/gen-libm-test.pl (top level): Don't mention expected
63854         failure handling in comment.
63855         (new_test): Don't handle expected failures.
63856         (parse_args): Don't mention expected failure handling in comment.
63857         (generate_testfile): Don't handle expected failures.
63858         (parse_ulps): Likewise.
63859         (print_ulps_file): Likewise.
63860         (get_failure): Remove function.
63861         (output_test): Don't handle expected failures.
63862         * make/README.libm-test: Don't mention expected failure handling.
63864         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63865         (minus_zero): Likewise.
63866         (plus_infty): Likewise.
63867         (minus_infty): Likewise.
63868         (qnan_value): Likewise.
63869         (max_value): Likewise.
63870         (min_value): Likewise.
63871         (min_subnorm_value): Likewise.
63872         (initialize): Do not initialize those variables dynamically.
63874 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63876         * io/open.c (__open_2): Moved to ...
63877         * io/open_2.c: ... this new file.
63878         * io/open64.c (__open64_2): Moved to ...
63879         * io/open64_2.c: ... this new file.
63880         * io/openat.c (__openat_2): Moved to ...
63881         * io/openat_2.c: ... this new file.
63882         * io/openat64.c (__openat64_2): Moved to ...
63883         * io/openat64_2.c: ... this new file.
63884         * io/Makefile (routines): Add them.
63885         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63886         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63887         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63888         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63889         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63890         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63891         (__openat64): Add hidden_ver.
63892         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63893         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63895         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63896         Separately conditionalize setting of GLRO(dl_sysinfo) so
63897         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63898         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63900 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63902         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63903         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63904         definition.
63905         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63906         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63907         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63908         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63909         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63911 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63913         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63914         test signgam value.
63916         * math/libm-test.inc (hypot_test): Do not use
63917         IGNORE_ZERO_INF_SIGN.
63919 2013-05-03  Andreas Jaeger  <aj@suse.de>
63921         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63922         Linux 3.9.
63923         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63924         (PF_MAX): Adjust for VSOCK change.
63926 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63930 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63932         [BZ #15264]
63933         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63934         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63935         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63937 2013-05-02  David S. Miller  <davem@davemloft.net>
63939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63941 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63943         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63945 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63947         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63949 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63951         [BZ #14952]
63952         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63953         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63954         Use __attribute__ ((__gnu_inline__)).
63955         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63956         Don't use __attribute__ ((__gnu_inline__)).
63958 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63960         [BZ #15423]
63961         * math/s_catan.c (__catan): Handle small real or imaginary part of
63962         input specially to avoid spurious underflow.
63963         * math/s_catanf.c (__catanf): Likewise.
63964         * math/s_catanh.c (__catanh): Likewise.
63965         * math/s_catanhf.c (__catanhf): Likewise.
63966         * math/s_catanhl.c (__catanhl): Likewise.
63967         * math/s_catanl.c (__catanl): Likewise.
63968         * math/libm-test.inc (catan_test): Add more tests.
63969         (catanh_test): Likewise.
63970         * sysdeps/i386/fpu/libm-test-ulps: Update.
63971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63973 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63977 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63979         [BZ #15416]
63980         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63981         accurately for denominator in atan2.
63982         * math/s_catanf.c (__catanf): Likewise.
63983         * math/s_catanh.c (__catanh): Likewise.
63984         * math/s_catanhf.c (__catanhf): Likewise.
63985         * math/s_catanhl.c (__catanhl): Likewise.
63986         * math/s_catanl.c (__catanl): Likewise.
63987         * math/libm-test.inc (catan_test): Add more tests.
63988         (catanh_test): Likewise.
63989         * sysdeps/i386/fpu/libm-test-ulps: Update.
63990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63992 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63994         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63996         * benchtests/Makefile (bench): Remove slow benchmarks.
63997         * benchtests/atan-inputs: Add slow benchmark inputs.
63998         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63999         (BENCH_FUNC): Accept variant offset.
64000         (VARIANT): Define.
64001         * benchtests/bench-skeleton.c (main): Run benchmark for each
64002         variant.
64003         * benchtests/cos-inputs: Add slow benchmark inputs.
64004         * benchtests/exp-inputs: Likewise.
64005         * benchtests/pow-inputs: Likewise.
64006         * benchtests/sin-inputs: Likewise.
64007         * benchtests/slowatan-inputs: Remove.
64008         * benchtests/slowatan.c: Remove.
64009         * benchtests/slowcos-inputs: Remove.
64010         * benchtests/slowcos.c: Remove.
64011         * benchtests/slowexp-inputs: Remove.
64012         * benchtests/slowexp.c: Remove.
64013         * benchtests/slowpow-inputs: Remove.
64014         * benchtests/slowpow.c: Remove.
64015         * benchtests/slowsin-inputs: Remove.
64016         * benchtests/slowsin.c: Remove.
64017         * benchtests/slowtan-inputs: Remove.
64018         * benchtests/slowtan.c: Remove.
64019         * benchtests/tan-inputs: Add slow benchmark inputs.
64020         * scripts/bench.pl: Parse comments and directives.
64022         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64023         in CPPFLAGS.
64024         ($(objpfx)bench-%.c): Remove *-ITER.
64025         * benchtests/bench-modf.c: Remove definition of ITER.
64026         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64027         (main): Loop for DURATION seconds instead of fixed number of
64028         iterations.
64029         * scripts/bench.pl: Don't expect iterations in parameters.
64031 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64033         * io/fchdir.c (__fchdir): Renamed from fchdir.
64034         (fchdir): Define as weak alias.
64036 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64038         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64039         (ERRNO_EDOM): Likewise.
64040         (ERRNO_ERANGE): Likewise.
64041         (noErrnoTests): New variable.
64042         (init_max_error): Set errno to 0.
64043         (test_single_errno): New function.
64044         (test_errno): Likewise.
64045         (check_float_internal): Call test_errno.  Set errno to 0.
64046         (check_complex): Refer to errno tests in comment.
64047         (check_int): Call test_errno.  Set errno to 0.
64048         (check_long): Likewise.
64049         (check_bool): Likewise.
64050         (check_longlong): Likewise.
64051         (cos_test): Use ERRNO_* flags for errno tests instead of
64052         check_int.
64053         (expm1_test): Likewise.
64054         (fmod_test): Likewise.
64055         (ilogb_test): Likewise.
64056         (lgamma_test): Likewise.
64057         (pow_test): Likewise.
64058         (remainder_test): Likewise.
64059         (sin_test): Likewise.
64060         (tan_test): Likewise.
64061         (yn_test): Likewise.
64062         (initialize): Set errno to 0.
64063         (main): Print number of errno tests.
64064         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64066 2013-04-29  Andreas Jaeger  <aj@suse.de>
64068         [BZ #15084]
64069         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64070         and RES_USEVC.
64072         [BZ #15085]
64073         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64074         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64075         unimplemented.
64077         [BZ #15380]
64078         * stdlib/random.c (__initstate): Return NULL if
64079         __initstate fails.
64081         [BZ #15086]
64082         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64083         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64084         RES_SNGLKUPREOP.
64086 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64090 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64092         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64093         of individual tests.
64094         (casin_test): Likewise.
64095         (casinh_test): Likewise.
64097 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64099         [BZ #15409]
64100         * math/s_catan.c (__catan): Handle arguments with large real or
64101         imaginary part separately without squaring.
64102         * math/s_catanf.c (__catanf): Likewise.
64103         * math/s_catanh.c (__catanh): Likewise.
64104         * math/s_catanhf.c (__catanhf): Likewise.
64105         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64106         and redefine.
64107         (__catanhl): Handle arguments with large real or imaginary part
64108         separately without squaring.
64109         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64110         and redefine.
64111         (__catanl): Handle arguments with large real or imaginary part
64112         separately without squaring.
64113         * math/libm-test.inc (catan_test): Add more tests.
64114         (catanh_test): Likewise.
64115         * sysdeps/i386/fpu/libm-test-ulps: Update.
64116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64118 2013-04-27  Andreas Jaeger  <aj@suse.de>
64120         [BZ #15007]
64121         * stdlib/stdlib.h: Update guards for qecvt.
64122         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64123         <stdlib.h>.
64125 2013-04-27  Allan McRae  <allan@archlinux.org>
64127         * sysdeps/i386/fpu/libm-test-ulps: Update.
64129 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64131         [BZ #15406]
64132         * math/s_catan.c: Include <float.h>.
64133         (__catan): Ensure underflow exception occurs for underflowed
64134         result.
64135         * math/s_catanf.c: Include <float.h>.
64136         (__catanf): Ensure underflow exception occurs for underflowed
64137         result.
64138         * math/s_catanh.c: Include <float.h>.
64139         (__catanh): Ensure underflow exception occurs for underflowed
64140         result.
64141         * math/s_catanhf.c: Include <float.h>.
64142         (__catanhf): Ensure underflow exception occurs for underflowed
64143         result.
64144         * math/s_catanhl.c: Include <float.h>.
64145         (__catanhl): Ensure underflow exception occurs for underflowed
64146         result.
64147         * math/s_catanl.c: Include <float.h>.
64148         (__catanl): Ensure underflow exception occurs for underflowed
64149         result.
64150         * math/libm-test.inc (catan_test): Add more tests.
64151         (catanh_test): Likewise.
64153         [BZ #15405]
64154         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64155         underflowed result.
64156         * math/s_ccoshf.c (__ccoshf): Likewise.
64157         * math/s_ccoshl.c (__ccoshl): Likewise.
64158         * math/s_csin.c (__csin): Likewise.
64159         * math/s_csinf.c (__csinf): Likewise.
64160         * math/s_csinh.c (__csinh): Likewise.
64161         * math/s_csinhf.c (__csinhf): Likewise.
64162         * math/s_csinhl.c (__csinhl): Likewise.
64163         * math/s_csinl.c (__csinl): Likewise.
64164         * math/libm-test.inc (ccos_test): Add more tests.
64165         (ccosh_test): Likewise.
64166         (csin_test): Likewise.
64167         (csinh_test): Likewise.
64169 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64171         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64172         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64173         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64174         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64175         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64176         powerpc/power5+/fpu folders.
64177         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64180 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64184 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64186         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64187         additions to variable.
64188         [$(config-machine) = x86_64] (modules-names): Likewise.
64189         ($(objpfx)tst-audit3): Remove dependency.
64190         ($(objpfx)tst-audit3.out): Likewise.
64191         ($(objpfx)tst-audit4): Likewise.
64192         ($(objpfx)tst-audit4.out): Likewise.
64193         ($(objpfx)tst-audit5): Likewise.
64194         ($(objpfx)tst-audit5.out): Likewise.
64195         ($(objpfx)tst-audit6): Likewise.
64196         ($(objpfx)tst-audit6.out): Likewise.
64197         ($(objpfx)tst-audit7): Likewise.
64198         ($(objpfx)tst-audit7.out): Likewise.
64199         (tst-audit3-ENV): Remove variable.
64200         (tst-audit4-ENV): Likewise.
64201         (tst-audit5-ENV): Likewise.
64202         (tst-audit6-ENV): Likewise.
64203         (tst-audit7-ENV): Likewise.
64204         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64205         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64206         addition to variable.
64207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64212         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64213         tst-audit3, tst-audit4 and tst-audit5.
64214         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64215         tst-audit6 and tst-audit7.
64216         [$(subdir) = elf] (modules-names): Add audit modules for those
64217         tests.
64218         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64219         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64220         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64221         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64222         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64223         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64224         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64225         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64226         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64227         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64228         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64229         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64230         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64231         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64232         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64233         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64234         Likewise.
64235         [$(subdir) = elf && $(config-cflags-avx) = yes]
64236         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64237         [$(subdir) = elf && $(config-cflags-avx) = yes]
64238         (CFLAGS-tst-auditmod4a.c): Likewise.
64239         [$(subdir) = elf && $(config-cflags-avx) = yes]
64240         (CFLAGS-tst-auditmod4b.c): Likewise.
64241         [$(subdir) = elf && $(config-cflags-avx) = yes]
64242         (CFLAGS-tst-auditmod6b.c): Likewise.
64243         [$(subdir) = elf && $(config-cflags-avx) = yes]
64244         (CFLAGS-tst-auditmod6c.c): Likewise.
64245         [$(subdir) = elf && $(config-cflags-avx) = yes]
64246         (CFLAGS-tst-auditmod7b.c): Likewise.
64247         * elf/tst-audit3.c: Move to ...
64248         * sysdeps/x86_64/tst-audit3.c: ... here.
64249         * elf/tst-audit4.c: Move to ...
64250         * sysdeps/x86_64/tst-audit4.c: ... here.
64251         * elf/tst-audit5.c: Move to ...
64252         * sysdeps/x86_64/tst-audit5.c: ... here.
64253         * elf/tst-audit6.c: Move to ...
64254         * sysdeps/x86_64/tst-audit6.c: ... here.
64255         * elf/tst-audit7.c: Move to ...
64256         * sysdeps/x86_64/tst-audit7.c: ... here.
64257         * elf/tst-auditmod3a.c: Move to ...
64258         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64259         * elf/tst-auditmod3b.c: Move to ...
64260         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64261         * elf/tst-auditmod4a.c: Move to ...
64262         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64263         * elf/tst-auditmod4b.c: Move to ...
64264         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64265         * elf/tst-auditmod5a.c: Move to ...
64266         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64267         * elf/tst-auditmod5b.c: Move to ...
64268         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64269         * elf/tst-auditmod6a.c: Move to ...
64270         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64271         * elf/tst-auditmod6b.c: Move to ...
64272         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64273         * elf/tst-auditmod6c.c: Move to ...
64274         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64275         * elf/tst-auditmod7a.c: Move to ...
64276         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64277         * elf/tst-auditmod7b.c: Move to ...
64278         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64280 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64282         [BZ #15366]
64283         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64284         define unconditionally.
64285         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64286         define unconditionally.
64287         (INT8_C, INT16_C, etc.): Likewise.
64289 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64291         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64292         __ehdr_start with hidden visibility.
64294         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64296 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64298         * math/libm-test.inc (cos_test): Use accurate hex constants.
64299         (sincost_test): Likewise.
64301 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64303         * math/libm-test.inc (catan_test): Add more tests.
64304         (catanh_test): Likewise.
64306         * math/s_catanf.c (__catanf): Use suffixed floating-point
64307         constants.
64308         * math/s_catanhf.c (__catanhf): Likewise.
64309         * math/s_catanhl.c (__catanhl): Likewise.
64310         * math/s_catanl.c (__catanl): Likewise.
64312         [BZ #15394]
64313         * math/s_catan.c (__catan): Calculate imaginary part of result
64314         with log1p not log unless computing log of number close to 0.
64315         * math/s_catanf.c (__catanf): Likewise.
64316         * math/s_catanl.c (__catanl): Likewise.
64317         * math/s_catanh.c (__catanh): Calculate real part of result with
64318         log1p not log unless computing log of number close to 0.
64319         * math/s_catanhf.c (__catanhf): Likewise.
64320         * math/s_catanhl.c (__catanhl): Likewise.
64321         * math/libm-test.inc (catan_test): Add more tests.
64322         (catanh_test): Likewise.
64323         * sysdeps/i386/fpu/libm-test-ulps: Update.
64324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64326 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64328         * benchtests/Makefile: Mention files in which fast and slow
64329         paths of math functions are implemented.
64331 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64333         * sysdeps/posix/timespec_get.c: New file.
64335 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64337         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64338         POWER.
64339         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64340         for POWER.
64341         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64342         powerpc/power5/fpu folders.
64343         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64344         * benchtests/Makefile: Add modf testcase.
64345         * benchtests/bench-modf.c: New file: Benchmark test for mo
64347 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64349         [BZ #14888]
64350         * time/Makefile (tests): Add tst-strptime-whitespace.
64351         * time/strptime_l.c (get_number): Use ISSPACE.
64352         (__strptime_internal): Likewise.
64353         * time/tst-strptime-whitespace.c: New test case.
64355 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64357         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64358         member.
64359         (_nss_files_init): Set it here.
64361 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64364         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64365         unsigned.
64367 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64369         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64371 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64373         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64374         size just once.
64376 2013-04-21  David S. Miller  <davem@davemloft.net>
64378         * po/ru.po: Update Russion translation from translation project.
64380 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64382         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64383         and setfsgid.
64385 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64387         * configure.in: Remove i386 configure warning. Remove i386 case.
64388         * configure: Regenerate.
64389         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64390         Add example to error message.
64391         * sysdeps/i386/configure: Regenerate.
64393 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64395         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64396         slowtan.
64397         * benchtests/cos-inputs: New file.
64398         * benchtests/slowcos-inputs: New file.
64399         * benchtests/slowcos.c: New file.
64400         * benchtests/slowtan-inputs: New file.
64401         * benchtests/slowtan.c: New file.
64402         * benchtests/tan-inputs: New file.
64404 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64406         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64407         considered kosher.
64409 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64411         * benchtests/Makefile: Include cppflags-iterator.mk to add
64412         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64414         * Makefile.in (bench-clean): New target.
64415         * benchtests/Makefile (bench-clean): Likewise.
64417 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64419         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64421 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64423         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64425 2013-04-15  Andreas Schwab  <schwab@suse.de>
64427         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64429         * nscd/pwdcache.c (cache_addpw): Likewise.
64430         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64431         more than recsize.
64433 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64435         * benchtests/Makefile (bench): Write all output to
64436         bench-out.tmp together.
64438 2013-04-15  Andreas Schwab  <schwab@suse.de>
64440         * nscd/nscd.c (main): Don't fork again after closing files.
64442 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64444         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64446         * benchtests/Rules (bench-deps): Collect dependencies into a
64447         single variable.  Add Makefile to dependencies.
64448         ($(objpfx)bench-%.c): Depend on bench-deps.
64450 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64451             Xavier Roche  <roche+kml2@exalead.com>
64453         [BZ #15361]
64454         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64455         just that it's a file descriptor.
64456         * manual/llio.texi (Synchronizing AIO Operations): Update description
64457         for EBADF error from aio_fsync.
64459 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64461         * Rules (bench): Move target definition...
64462         * benchtests/Makefile: ... here.
64464 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64466         * math/libm-test.inc (cos_test): Fix PI/2 test.
64467         (sincos_test): Likewise.
64468         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64469         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64471 2013-04-11  Andreas Schwab  <schwab@suse.de>
64473         [BZ #13988]
64474         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64475         accept exponent character only when digits were seen.
64476         * stdio-common/Makefile (tests): Add bug26.
64477         * stdio-common/bug26.c: New file.
64479         [BZ #14293]
64480         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64481         non-freeable.
64483 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64485         * Makeconfig (rtld-prefix): Define built linker prefix.
64486         * Rules (run-bench): Use it.
64487         * math/Makefile (run-regen-ulps): Likewise.
64489         * Rules (bench): Remove eval.
64491 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64492             Roland McGrath  <roland@hack.frob.com>
64493             Ondrej Bilka  <neleai@seznam.cz>
64495         [BZ #15346]
64496         * time/getdate.c: Include ctype.h and alloca.h.
64497         (__getdate_r): Trim leading and trailing spaces of input.
64498         * time/tst-getdate.c (tests): Add tests with leading and
64499         trailing spaces.
64501 2013-04-08  Roland McGrath  <roland@hack.frob.com>
64503         [BZ #14280]
64504         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64505         when computing value.
64507 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64509         * math/README.libm-test (How can I generate "libm-test-ulps"?):
64510         Use testrun.sh to run libm tests.
64512         [BZ #15309]
64513         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64515 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64517         [BZ #15264]
64518         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64520 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64522         * Makefile.in (regen-ulps): New target.
64523         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64524         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64525         [ifneq (no,$(PERL)] (regen-ulps): New target.
64526         [ifeq (no,$(PERL)] (regen-ulps): New target.
64527         * math/libm-test.inc (ulps_file_name): Define.
64528         (output_dir): New variable.
64529         (options): Add "output-dir" option.
64530         (parse_opt): Handle 'o' case.
64531         (main): If output_dir is non-NULL use it as a prefix
64532         otherwise use "".
64533         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64535 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64537         [BZ #10060, #10062]
64538         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64539         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64540         fail configure if __sync_val_compare_and_swap is not inlined.
64541         * sysdeps/i386/configure: Regenerate.
64542         * configure.in: Build for i686 when configured for i386.
64543         * configure: Regenerate.
64544         * README: Remove i386 reference.
64546 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64548         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64551 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64553         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64554         (lmsnanval): New variables.
64555         (F): Add conversion tests.
64556         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64557         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64559         * stdio-common/tstdiomisc.c (F): Properly collect individual
64560         tests' results.
64562         [BZ #14686, #15336]
64563         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64564         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64565         Instead, use input NaN values or generate a qNaN by arithmetic
64566         operation.  Also fix bugs to comply with the standard.
64567         * math/libm-test.inc (remainder_test): Add more tests.
64569         [BZ #15335, #15342]
64570         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64572         input NaN values or generate a qNaN by arithmetic operation.
64574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64575         unreachable code.
64577         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64578         definitions.
64580 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64582         [BZ #14478]
64583         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64584         underflowed result.
64585         * math/s_cexpf.c (__cexpf): Likewise.
64586         * math/s_cexpl.c (__cexpl): Likewise.
64587         * math/libm-test.inc (cexp_test): Add more tests.
64589 2013-04-03  Andreas Schwab  <schwab@suse.de>
64591         [BZ #15330]
64592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64593         order arrays from heap if bigger than alloca cutoff.
64595 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64597         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64598         (SNAN_TESTS_double): Refer to GCC PR56831.
64599         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64600         GCC PR56828.
64602 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64604         * Rules (bench): Move bench.out after the run is complete.
64606         * Rules (bench): Echo currently running benchmark.
64608         * benchtests/Makefile (bench): Add atan and slowatan.
64609         * benchtests/atan-inputs: New file.
64610         * benchtests/slowatan-inputs: New file.
64611         * benchtests/slowatan.c: New file.
64613         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64614         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64615         its value.
64617         [BZ #15305]
64618         * sysdeps/unix/sysv/linux/kernel-features.h
64619         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64620         __ASSUME_XFS_RESTRICTED_CHOWN.
64621         * sysdeps/unix/sysv/linux/pathconf.c
64622         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64623         Save and restore errno.
64625 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64627         [BZ #15327]
64628         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64629         arguments using __kernel_casinh.
64630         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64631         arguments using __kernel_casinhf.
64632         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64633         arguments using __kernel_casinhl.
64634         * math/libm-test.inc (cacosh_test): Add more tests.
64635         * sysdeps/i386/fpu/libm-test-ulps: Update.
64636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64638 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64640         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64643         * bench/Makefile (bench): Add sin and slowsin.
64644         * benchtests/sin-inputs: New file.
64645         * benchtests/slowsin-inputs: New file.
64646         * benchtests/slowsin.c: New file.
64648         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64649         (bench): Add slowexp and slowpow.
64650         (exp-ITER): Increase iterations.
64651         (pow-ITER): Likewise.
64652         * benchtests/exp-inputs: Change input.
64653         * benchtests/pow-inputs: Likewise.
64654         * benchtests/slowexp-inputs: New file.
64655         * benchtests/slowexp.c: New file.
64656         * benchtests/slowpow-inputs: New file.
64657         * benchtests/slowpow.c: New file.
64659 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64661         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64662         instructions.
64663         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64664         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64665         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64666         * benchtests/Makefile: Add rint benchtest.
64667         * benchtests/rint-inputs: Input for rint benchtest.
64669 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64671         * Versions.def (libm): Add GLIBC_2.18.
64672         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64673         hidden libm prototypes.
64674         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64675         * math/Makefile (libm-calls): Add s_issignaling.
64676         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64677         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64678         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64679         declaration.
64680         * math/math.h [__USE_GNU] (issignaling): New macro.
64681         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64682         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64683         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64684         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64686         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64687         * manual/arith.texi (issignaling): New section.
64688         * manual/libm-err-tab.pl (@all_functions): Update comment.
64689         * math/gen-libm-test.pl (parse_args): Apply special handling for
64690         issignaling.
64691         * math/libm-test.inc (print_float, issignaling_test): New
64692         functions.
64693         (check_float_internal): Add issignaling checks.
64694         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64695         default definition.
64696         * sysdeps/powerpc/math-tests.h: New file.
64697         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64698         tests.
64699         * math/test-snan.c (TEST_FUNC): Likewise.
64701 2013-03-30  David S. Miller  <davem@davemloft.net>
64703         * po/de.po: Update from translation team.
64705 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64707         [BZ #10357]
64708         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64709         imaginary part less than 1.0 and real part less than 0.5
64710         specially.
64711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64713         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64714         (cacos_test): Add more tests.
64715         (casin_test): Likewise.
64716         (casinh_test): Likewise.
64717         * sysdeps/i386/fpu/libm-test-ulps: Update.
64718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64720 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64722         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64723         ONE with its value.
64725         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64726         (__pow_mp): Replace ONE and MONE with their values.
64727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64729         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64730         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64731         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64732         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64734         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64736         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64737         (__pow_mp): Replace ZERO and MZERO with their values.
64738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64739         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64740         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64742         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64743         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64744         (__sqr): Likewise.
64746         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64748         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64750 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64752         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64753         Declare with __attribute__ ((weak)).
64754         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64755         Call __call_tls_dtors only if it's not NULL.
64757 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64759         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64760         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64761         magic __ehdr_start linker symbol if it's defined.
64762         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64763         them up here if it was already done.
64765         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64766         (_dl_aux_init): Use const in cast when setting it.
64767         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64768         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64769         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64771         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64772         Declare them here.
64773         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64774         * csu/libc-tls.c: Nor here.
64775         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64777         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64778         (__libc_message): Never call vsyslog.
64780 2013-03-28  Alan Modra  <amodra@gmail.com>
64782         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64783         Define as empty.
64784         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64785         Likewise.
64787 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64789         [BZ #15214]
64790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64791         underflow.
64792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64794 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64796         [BZ #15304]
64797         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64798         Don't add gid passed as argument.
64800         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64802 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64804         [BZ #15307]
64805         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64806         imaginary part between 1.0 and 1.5 and real part less than 0.5
64807         specially.
64808         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64809         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64810         * math/libm-test.inc (cacos_test): Add more tests.
64811         (casin_test): Likewise.
64812         (casinh_test): Likewise.
64813         * sysdeps/i386/fpu/libm-test-ulps: Update.
64814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64816 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64818         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64819         constants.
64820         (norm): Likewise.
64821         (denorm): Likewise.
64822         (__dbl_mp): Likewise.
64823         (add_magnitudes): Likewise.
64824         (sub_magnitudes): Likewise.
64825         (__add): Likewise.
64826         (__sub): Likewise.
64827         (__mul): Likewise.
64828         (__sqr): Likewise.
64829         (__inv): Likewise.
64830         (__dvd): Likewise.
64832         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64833         commented code.
64834         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64835         (__dubcos): Likewise.
64836         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64837         (__ieee754_acos): Likewise.
64838         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64839         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64840         (__exp1): Likewise.
64841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64843         (log1): Likewise.
64844         (my_log2): Likewise.
64845         (checkint): Likewise.
64846         * sysdeps/ieee754/dbl-64/e_remainder.c
64847         (__ieee754_remainder): Likewise.
64848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64849         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64850         (bsloww): Likewise.
64851         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64853         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64855         MANTISSA_STORE_T to store computations on mantissa.  Use
64856         macros for rounding and division.
64857         (denorm): Likewise.
64858         (__dbl_mp): Likewise.
64859         (add_magnitudes): Likewise.
64860         (sub_magnitudes): Likewise.
64861         (__mul): Likewise.
64862         (__sqr): Likewise.
64863         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64864         powers of two in terms of TWOPOW macro.
64865         (mp_no): Make type of mantissa as MANTISSA_T.
64866         [!RADIXI]: Define RADIXI.
64867         [!TWO52]: Define TWO52.
64868         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64870 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64872         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64873         llroundl symbol when building for PPC32.
64875 2013-03-24  Mark H Weaver  <mhw@netris.org>
64877         * manual/arith.texi (Normalization Functions): Fix prototypes for
64878         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64880 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64882         [BZ #13889]
64883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64884         high value to check if expl overflow.
64885         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64886         to check for underflow and overflow.
64887         * math/libm-test.inc: Add exp test.
64889 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64891         [BZ #11120]
64892         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64893         with NOT_IN_libc.
64895 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64897         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64898         symbol.
64900 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64902         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64903         wrap blocks consisting of several statements.
64905         * sysdeps/generic/math-tests.h: New file.
64906         * sysdeps/i386/fpu/math-tests.h: Likewise.
64907         * math/test-snan.c: Include it.
64908         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64910 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64912         [BZ #15285]
64913         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64914         (__ieee754_j0l): Do not improve calculations using cos of twice
64915         input for inputs above LDBL_MAX / 2.0L.
64916         (__ieee754_y0l): Likewise.
64917         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64918         (__ieee754_j1l): Do not improve calculations using cos of twice
64919         input for inputs above LDBL_MAX / 2.0L.
64920         (__ieee754_y1l): Likewise.
64921         * math/libm-test.inc (j0_test): Add another test.
64922         (j1_test): Likewise.
64923         (y0_test): Likewise.
64924         (y1_test): Likewise.
64925         * sysdeps/i386/fpu/libm-test-ulps: Update.
64927 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64929         * Rules ($(objpfx)bench-%.c): Include code from a C source
64930         file.
64932 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64934         [BZ #15287]
64935         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64936         imaginary part 1.0 and real part less than 0.5 specially.
64937         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64938         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64939         * math/libm-test.inc (cacos_test): Add more tests.
64940         (casin_test): Likewise.
64941         (casinh_test): Likewise.
64942         * sysdeps/i386/fpu/libm-test-ulps: Update.
64943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64945 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64948         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64950 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64952         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64953         * config.make.in (config-cflags-sse4): Remove variable.
64954         (config-cflags-avx): Likewise.
64955         (config-cflags-sse2avx): Likewise.
64956         (config-cflags-novzeroupper): Likewise.
64957         (config-asflags-i686): Likewise.
64958         (have-mfma4): Likewise.
64959         (have-as-vis3): Likewise.
64960         (MIG): Likewise.
64961         * configure.in (MIG): Do not AC_SUBST.
64962         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64963         (libc_cv_cc_sse4): Do not AC_SUBST.
64964         (libc_cv_cc_avx): Likewise.
64965         (libc_cv_cc_sse2avx): Likewise.
64966         (libc_cv_cc_novzeroupper): Likewise.
64967         (libc_cv_cc_fma4): Likewise.
64968         (libc_cv_as_i686): Likewise.
64969         (libc_cv_sparc_as_vis3): Likewise.
64970         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64971         LIBC_CONFIG_VAR.
64972         (config-asflags-i686): Likewise.
64973         (config-cflags-avx): Likewise.
64974         (config-cflags-sse2avx): Likewise.
64975         (have-mfma4): Likewise.
64976         (config-cflags-novzeroupper): Likewise.
64977         * sysdeps/mach/configure.in (MIG): Likewise.
64978         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64979         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64980         LIBC_CONFIG_VAR.
64981         (config-cflags-avx): Likewise.
64982         (config-cflags-sse2avx): Likewise.
64983         (have-mfma4): Likewise.
64984         (config-cflags-novzeroupper): Likewise.
64985         * configure: Regenerated.
64986         * sysdeps/i386/configure: Likewise.
64987         * sysdeps/mach/configure: Likewise.
64988         * sysdeps/sparc/configure: Likewise.
64989         * sysdeps/x86_64/configure: Likewise.
64991 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64993         [BZ #14812]
64994         * locale/programs/localedef.c (options): Put N_ translation marker
64995         on argument names, not just descriptions.
64997 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64999         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65001 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65003         [BZ #14176]
65004         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65006 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65008         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65009         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65010         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65011         [!BEFORE_ABORT] (before_abort): New function.
65012         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65013         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65014         (writev_for_fatal): New function.
65015         (WRITEV_FOR_FATAL): New macro; call that.
65016         (backtrace_and_maps): New function.
65017         (BEFORE_ABORT): New macro; call that.
65018         (struct str_list): Type removed.
65019         (__libc_message, __libc_fatal): Functions removed.
65020         Include <sysdeps/posix/libc_fatal.c> instead.
65022 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65024         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65025         constants.
65026         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65027         double constants.
65029 2013-03-19  Andreas Schwab  <schwab@suse.de>
65031         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65032         * sysdeps/gnu/configure: Regenerate.
65034         * configure.in: Substitute libc_cv_rtlddir.
65035         * configure: Regenerate.
65036         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65037         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65038         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65039         * elf/Makefile (install-others, CFLAGS-interp.c)
65040         (ldso_install, common-ldd-rewrite): Likewise.
65041         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65042         $(inst_slibdir)/$(rtld-installed-name).
65043         * scripts/rellns-sh: Add -p option.
65044         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65045         for source.
65047 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65049         * manual/nptl.texi: Renamed to ...
65050         * manual/threads.texi: ... this.
65051         * manual/Makefile (chapters): Update.
65053 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65055         [BZ #14812]
65056         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65057         on argument names, not just descriptions.
65058         * malloc/memusagestat.c (options): Likewise.
65059         * nss/getent.c (options): Likewise.
65061 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65063         [BZ #14812]
65064         * iconv/iconv_prog.c (options): Put N_ translation marker
65065         on argument names, not just descriptions.
65066         * iconv/iconvconfig.c (options): Likewise.
65068 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65070         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65071         implementation which is faster on all x86_64 architectures.
65072         Tested on AMD, Intel Nehalem, SNB, IVB.
65073         * sysdeps/x86_64/strnlen.S: Likewise.
65075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65076         Remove all multiarch strlen and strnlen versions.
65077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65078         Remove strlen and strnlen related parts.
65080         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65081         Inline strlen part.
65082         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65084         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65085         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65086         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65087         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65088         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65089         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65091 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65093         * manual/memory.texi (Malloc Tunable Parameters):
65094         Sort parameters alphabetically. Add comments for missing entries.
65096 2013-03-17  David S. Miller  <davem@davemloft.net>
65098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65100 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65102         [BZ #15283]
65103         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65104         for arguments at most half maximum finite value.
65105         * math/libm-test.inc (j0_test): Add more tests.
65106         (j1_test): Likewise.
65107         (y0_test): Likewise.
65108         (y1_test): Likewise.
65109         * sysdeps/i386/fpu/libm-test-ulps: Update.
65110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65112         [BZ #14155]
65113         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65114         1 / x and functions P and Q for arguments above 0x1p256L.
65115         (__ieee754_y0l): Likewise.
65116         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65117         (__ieee754_y1l): Likewise.
65118         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65119         (j1_test): Likewise.
65120         (y0_test): Likewise.
65121         (y1_test): Likewise.
65123 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65125         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65126         variable.
65128 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65130         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65131         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65132         zero since it's initialized to EXEC_PAGESIZE.
65134         * sysdeps/unix/sysv/linux/ldsodefs.h
65135         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65136         * sysdeps/generic/ldsodefs.h: ... here.
65138 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65140         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65142         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65143         math/test-snan.c.
65144         * math/test-snan.c: Renamed from
65145         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65146         * math/Makefile (tests): Add test-snan.
65147         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65148         test-powerpc-snan.
65150         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65151         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65152         functions.
65153         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65154         __builtin_nan family of functions.
65155         * math/libm-test.inc (initialize): Initialize qnan_value with
65156         __builtin_nan family of functions.
65157         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65158         Remove variables.
65159         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65160         Remove functions.
65161         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65162         storage class.  Initialize qNaN_var and sNaN_var with
65163         __builtin_nan and __builtin_nans families of functions,
65164         respectively.
65166         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65167         (sqrt_test): Remove duplicate test with qNaN input.
65168         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65169         (round_test, signbit_test, significand_test): Note missing +/-Inf
65170         as well as qNaN tests.
65172         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65173         qNaN_var.  Fix a few strings, too.
65174         * math/libm-test.inc (nan_value): Rename to qnan_value.
65175         * math/gen-libm-test.pl (%beautify): Adjust to that.
65176         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65177         * math/test-misc.c (main): Likewise.
65178         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65179         to __qnan_bytes, and __qnan_union, respectively.
65180         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65181         Likewise.
65182         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65183         and lqnanval, respectively.
65184         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65185         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65186         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65187         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65189         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65190         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65191         doubles.
65193         * math/test-misc.c (main): Fix copy'n'pastos.
65194         * misc/tst-efgcvt.c (special): Likewise.
65196         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65197         Remove declarations.
65199 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65201         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65202         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65203         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65204         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65206 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65208         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65209         macro to return vdso values correctly in IFUNC implementations.
65210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65211         Optimization by using IFUNC.
65213 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65214             Richard Henderson  <rth@redhat.com>
65215             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65217         * Makefile.in (bench): New target.
65218         * NEWS: Mention the benchmark framework.
65219         * Rules (bench): Likewise.
65220         (binaries-bench): Generate binaries for functions to
65221         benchmark.
65222         * benchtests/Makefile: New makefile for benchmark tests.
65223         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65224         programs.
65225         * benchtests/exp-inputs: New input file for EXP function.
65226         * benchtests/pow-inputs: New input file for POW function.
65227         * scripts/bench.pl: New script to generate source files for
65228         benchmark programs.
65230 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65232         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65234         computations on mantissa.  Use macros for rounding and
65235         division.
65236         (denorm): Likewise.
65237         (__dbl_mp): Likewise.
65238         (add_magnitudes): Likewise.
65239         (sub_magnitudes): Likewise.
65240         (__mul): Likewise.
65241         (__sqr): Likewise.
65242         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65243         powers of two in terms of TWOPOW macro.
65244         (mp_no): Make type of mantissa as MANTISSA_T.
65245         [!RADIXI]: Define RADIXI.
65246         [!TWO52]: Define TWO52.
65247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65249         * manual/nptl.texi (cindex): Modify threads to pthreads.
65251 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65253         * sysdeps/x86_64/preconfigure: Regenerated.
65255 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65257         [BZ #14155]
65258         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65259         0x1p28 and above.
65260         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65261         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65262         0x1p28 and above.
65263         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65264         * math/libm-test.inc (j0_test): Do not allow one spurious
65265         underflow exception.
65266         (y1_test): Likewise.
65268 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65270         * manual/Makefile (chapters): Add nptl.
65271         * manual/debug.texi (Debugging Support): Add link to Threads
65272         chapter.
65273         * manual/nptl.texi: New file.
65275         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65277 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65279         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65280         for non-NULL pointer before the memory validity test. Pointed
65281         out by Holger Brunck <holger.brunck@keymile.com>.
65283 2013-03-13  Andreas Schwab  <schwab@suse.de>
65285         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65286         instead of .os.
65288 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65290         * timezone/zic.c: Update from tzcode 2013b.
65292 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65294         * manual/install.texi (Configuring and compiling):
65295         Mention i686 and i586.
65296         * INSTALL: Regenerate.
65298 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65300         * sysdeps/init_array/elf-init.c: New file.
65301         * csu/elf-init.c
65302         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65303         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65305         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65306         __gmon_start__ as global, but as static with a .preinit_array pointer.
65307         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65308         * sysdeps/init_array/crti.S: New file, empty except for comments.
65309         * sysdeps/init_array/crtn.S: Likewise.
65311 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65313         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65314         definining bcopy.
65315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65316         Remove Prefer_SSE_for_memop.
65317         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65318         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65319         HAS_PREFER_SSE_FOR_MEMOP.
65320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65321         memset-x86-64.
65322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65323         Remove bzero, memset ifunc support.
65324         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65325         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65326         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65327         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65329 2013-03-11  Andreas Schwab  <schwab@suse.de>
65331         [BZ #15234]
65332         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65333         by SHLIB_COMPAT.
65334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65335         (GLIBC_2.16): Remove pthread_atfork.
65337 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65339         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65340         (ptestcases.h): Likewise.
65342 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65344         * Makeconfig ($(common-objpfx)config.status): Depend on
65345         sysdeps/*/preconfigure{,.in} too.
65347 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65349         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65350         (__free_hook): Use void * instead of __malloc_ptr_t.
65351         (__malloc_hook): Likewise.
65352         (__realloc_hook): Likewise.
65353         (__memalign_hook): Likewise.
65354         (__after_morecore_hook): Likewise.
65355         * malloc/arena.c (save_malloc_hook): Likewise.
65356         (save_free_hook): Likewise.
65357         * malloc/hooks.c (malloc_hook_ini): Likewise.
65358         (realloc_hook_ini): Likewise.
65359         (memalign_hook_ini): Likewise.
65360         * malloc/malloc.c (malloc_hook_ini): Likewise.
65361         (realloc_hook_ini): Likewise.
65362         (memalign_hook_ini): Likewise.
65363         (__free_hook): Likewise.
65364         (__malloc_hook): Likewise.
65365         (__realloc_hook): Likewise.
65366         (__memalign_hook): Likewise.
65367         (__libc_malloc): Likewise.
65368         (__libc_free): Likewise.
65369         (__libc_realloc): Likewise.
65370         (__libc_memalign): Likewise.
65371         (__libc_valloc): Likewise.
65372         (__libc_pvalloc): Likewise.
65373         (__libc_calloc): Likewise.
65374         (__posix_memalign): Likewise.
65375         * malloc/morecore.c (__sbrk): Likewise.
65376         (__default_morecore): Likewise.
65378         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65380         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65381         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65382         __malloc_ptrdiff_t.
65384         * malloc/malloc.h (__malloc_size_t): Remove macro.
65385         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65386         __malloc_size_t.
65387         (old_memalign_hook): Likewise.
65388         (old_realloc_hook): Likewise.
65389         (struct hdr): Likewise.
65390         (flood): Likewise.
65391         (mallochook): Likewise.
65392         (memalignhook): Likewise.
65393         (reallochook): Likewise.
65394         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65395         (tr_old_realloc_hook): Likewise.
65396         (tr_old_memalign_hook): Likewise.
65397         (tr_mallochook): Likewise.
65398         (tr_reallochook): Likewise.
65399         (tr_memalignhook): Likewise.
65401 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65404         default_ldbl_pack and using as default implementation.
65405         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65406         implementation.
65407         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65408         redundant definition.
65409         (ldbl_insert_mantissa): Likewise.
65410         (ldbl_canonicalize): Likewise.
65411         (ldbl_nearbyint): Likewise.
65412         (ldbl_pack): Rename to ldbl_pack_ppc.
65413         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65414         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65415         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65417 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65420         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65422         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65425         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65426         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65428 2013-03-07  Andreas Jaeger  <aj@suse.de>
65430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65431         bits/mman-linux.h.
65433 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65435         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65436         Include mpa.h and declare __MPEXP.
65437         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65438         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65439         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65440         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65441         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65442         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65445         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65446         (__slowpow): Use long double EXPL and LOGL functions to
65447         compute POW.
65448         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65449         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65450         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65452         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65453         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65456         intermediate variable to calculate exponent.
65457         (__sqr): Likewise.
65458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65459         Likewise.
65460         (__sqr): Likewise.
65462         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65463         [!NO__SQR]: Define __sqr.
65464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65465         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65466         sysdeps/ieee754/dbl-64/mpa.c.
65467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65469         [BZ #12723]
65470         * posix/Makefile (tests): Add tst-pathconf.
65471         * posix/tst-pathconf.c: New test case.
65472         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65473         _PC_PIPE_BUF.
65474         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65476 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
65478         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65480 2013-03-06  Andreas Jaeger  <aj@suse.de>
65482         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65483         definition via __MAP_ANONYMOUS.
65485         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65486         it's not part of Linux headers.
65488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65489         (MAP_HUGE_MASK): Define.
65491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65492         Define.
65493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65495         Define.
65496         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65497         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65498         Define.
65499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65501         Define.
65502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65504         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65505         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65506         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65507         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65508         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65509         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65512         Handle f2fs.
65514         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65515         Handle f2fs and efivarfs.
65517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65518         f2fs.
65520         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65521         (EFIVARFS_MAGIC): Add.
65522         (F2FS_LINK_MAX): Add.
65524 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65526         * stdio-common/vfprintf.c: Replace __builtin_expect with
65527         __glibc_unlikely.
65529 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65531         [BZ #13550]
65532         * sysdeps/generic/bp-sym.h: Remove file.
65533         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65534         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65535         <bp-sym.h> and <bp-asm.h>.
65536         (__longjmp): Don't use BP_SYM.
65537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65538         and <bp-asm.h>.
65539         (memcpy): Don't use BP_SYM.
65540         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65541         <bp-sym.h> and <bp-asm.h>.
65542         (memcpy): Don't use BP_SYM.
65543         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65544         <bp-asm.h>.
65545         (memcpy): Don't use BP_SYM.
65546         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65547         <bp-asm.h>.
65548         (memset): Don't use BP_SYM.
65549         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65550         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65551         (__bzero): Don't use BP_SYM.
65552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65554         * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
65559         <bp-sym.h> and <bp-asm.h>.
65560         (memcpy): Don't use BP_SYM.
65561         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65562         <bp-sym.h> and <bp-asm.h>.
65563         (memset): Don't use BP_SYM.
65564         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65565         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65566         (__bzero): Don't use BP_SYM.
65567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65569         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65570         <bp-sym.h> and <bp-asm.h>.
65571         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65572         pointers.
65573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65574         <bp-sym.h> and <bp-asm.h>.
65575         (memcpy): Don't use BP_SYM.
65576         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65577         <bp-sym.h> and <bp-asm.h>.
65578         (memset): Don't use BP_SYM.
65579         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65580         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65581         (__bzero): Don't use BP_SYM.
65582         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65583         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65585         <bp-sym.h> and <bp-asm.h>.
65586         (__memchr): Don't use BP_SYM.
65587         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65588         <bp-sym.h> and <bp-asm.h>.
65589         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65590         pointers.
65591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65592         <bp-sym.h> and <bp-asm.h>.
65593         (memcpy): Don't use BP_SYM.
65594         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65595         <bp-sym.h> and <bp-asm.h>.
65596         (__mempcpy): Don't use BP_SYM.
65597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65598         <bp-sym.h> and <bp-asm.h>.
65599         (__memrchr): Don't use BP_SYM.
65600         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65601         <bp-sym.h> and <bp-asm.h>.
65602         (memset): Don't use BP_SYM.
65603         (__bzero): Likewise.
65604         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65605         <bp-sym.h> and <bp-asm.h>.
65606         (__rawmemchr): Don't use BP_SYM.
65607         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65608         <bp-sym.h> and <bp-asm.h>.
65609         (__STRCMP): Don't use BP_SYM.
65610         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65611         <bp-sym.h> and <bp-asm.h>.
65612         (strchr): Don't use BP_SYM.
65613         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65614         <bp-sym.h> and <bp-asm.h>.
65615         (__strchrnul): Don't use BP_SYM.
65616         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65617         <bp-sym.h> and <bp-asm.h>.
65618         (strlen): Don't use BP_SYM.
65619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65620         <bp-sym.h> and <bp-asm.h>.
65621         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65622         pointers.
65623         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65624         <bp-sym.h> and <bp-asm.h>.
65625         (__strnlen): Don't use BP_SYM.
65626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65627         <bp-sym.h> and <bp-asm.h>.
65628         (__GI__setjmp): Don't use BP_SYM.
65629         (_setjmp): Likewise.
65630         (__sigsetjmp): Likewise.
65631         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65632         (L(start_addresses)): Don't use BP_SYM.
65633         (_start): Likewise.
65634         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65635         <bp-asm.h>.
65636         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65637         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65638         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65639         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65640         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65641         <bp-asm.h>.
65642         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65643         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65644         about bounded pointers.
65645         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65646         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65647         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65648         <bp-asm.h>.
65649         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65650         about bounded pointers.  Remove GKM FIXME comments.
65651         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65652         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65653         <bp-asm.h>.
65654         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65655         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65656         Remove GKM FIXME comments.
65657         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65658         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65659         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65660         <bp-asm.h>.
65661         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65662         about bounded pointers.  Remove GKM FIXME comment.
65663         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65664         and <bp-asm.h>.
65665         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65666         pointers.
65667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65668         <bp-sym.h> and <bp-asm.h>.
65669         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65671         <bp-sym.h> and <bp-asm.h>.
65672         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65673         comment.
65675 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65677         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65678         call free(NULL).
65680 2013-03-05  David S. Miller  <davem@davemloft.net>
65682         * po/es.po: Update from translation team.
65684 2013-03-05  Andreas Jaeger  <aj@suse.de>
65686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65687         <bits/mman-linux.h>.
65688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65689         is fine.
65690         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65691         <bits/mman-linux.h> to end of file.
65692         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65693         is fine.
65694         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65695         <bits/mman-linux.h> to end of file.
65696         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65697         is fine.
65698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65699         <bits/mman-linux.h> to end of file.
65701         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65702         (MCL_CURRENT, MCL_FUTURE): Define here.
65704 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65706         [BZ #15232]
65707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65708         attribute_hidden.
65709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65711 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65713         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65714         fourth parameter needed for rt_sigprocmask syscall.
65715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65716         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65717         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65718         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65720         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65722 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65724         [BZ #13550]
65725         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65726         comment about bounded pointers.
65727         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65728         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65730 2013-03-04  Andreas Jaeger  <aj@suse.de>
65732         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65733         common definitions.
65735         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65736         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65738         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65739         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65742 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65744         [BZ #15055]
65745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65746         __ieee754_sqrl instead of __sqrl.
65748 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65750         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65751         * sysdeps/powerpc/fpu_control.h: ... here.
65752         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65753         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65754         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65755         * sysdeps/powerpc/bits/mathinline.h: ... here.
65757 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65759         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65760         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65761         to just [NEED_DL_SYSINFO_DSO].
65762         * elf/dl-support.c: Likewise.
65763         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65764         * elf/rtld.c (dl_main): Likewise.
65765         * elf/setup-vdso.h (setup_vdso): Likewise.
65766         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65767         * sysdeps/unix/sysv/linux/dl-sysdep.c
65768         (_dl_discover_osversion): Likewise.
65770 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65772         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65773         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65775 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65777         * NEWS: Mention libm performance improvements and non-x86 PI
65778         futex support.
65780         * csu/libc-start.c (__pthread_initialize_minimal): Change
65781         function arguments.
65782         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65784 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65786         [BZ #13550]
65787         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65788         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65789         <bp-sym.h> and <bp-asm.h>.
65790         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65791         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65792         and <bp-asm.h>.
65793         (memcpy): Don't use BP_SYM.
65794         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65795         <bp-asm.h>.
65796         (__mpn_add_n): Don't use BP_SYM.
65797         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65798         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65799         and <bp-asm.h>.
65800         (__mpn_addmul_1): Don't use BP_SYM.
65801         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65802         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65803         <bp-sym.h>.
65804         (_setjmp): Don't use BP_SYM.
65805         (__novmx_setjmp): Likewise.
65806         (__GI__setjmp): Likewise.
65807         (__vmx_setjmp): Likewise.
65808         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65809         <bp-sym.h>.
65810         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65811         (__bzero): Don't use BP_SYM.
65812         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65813         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65814         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65815         <bp-sym.h> and <bp-asm.h>.
65816         (memcpy): Don't use BP_SYM.
65817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65818         <bp-sym.h> and <bp-asm.h>.
65819         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65820         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65821         <bp-sym.h> and <bp-asm.h>.
65822         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65823         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65824         <bp-asm.h>.
65825         (__mpn_lshift): Don't use BP_SYM.
65826         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65827         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65828         <bp-asm.h>.
65829         (memset): Don't use BP_SYM.
65830         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65831         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65832         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65833         <bp-asm.h>.
65834         (__mpn_mul_1): Don't use BP_SYM.
65835         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65837         <bp-sym.h> and <bp-asm.h>.
65838         (memcmp): Don't use BP_SYM.
65839         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65840         <bp-sym.h> and <bp-asm.h>.
65841         (memcpy): Don't use BP_SYM.
65842         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65843         <bp-sym.h> and <bp-asm.h>.
65844         (memset): Don't use BP_SYM.
65845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65846         <bp-sym.h> and <bp-asm.h>.
65847         (strncmp): Don't use BP_SYM.
65848         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65849         <bp-sym.h> and <bp-asm.h>.
65850         (memcpy): Don't use BP_SYM.
65851         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65852         <bp-sym.h> and <bp-asm.h>.
65853         (memset): Don't use BP_SYM.
65854         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65855         <bp-sym.h> and <bp-asm.h>.
65856         (__memchr): Don't use BP_SYM.
65857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65858         <bp-sym.h> and <bp-asm.h>.
65859         (memcmp): Don't use BP_SYM.
65860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65861         <bp-sym.h> and <bp-asm.h>.
65862         (memcpy): Don't use BP_SYM.
65863         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65864         <bp-sym.h> and <bp-asm.h>.
65865         (__mempcpy): Don't use BP_SYM.
65866         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65867         <bp-sym.h> and <bp-asm.h>.
65868         (__memrchr): Don't use BP_SYM.
65869         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65870         <bp-sym.h> and <bp-asm.h>.
65871         (memset): Don't use BP_SYM.
65872         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65873         <bp-sym.h> and <bp-asm.h>.
65874         (__rawmemchr): Don't use BP_SYM.
65875         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65876         <bp-sym.h> and <bp-asm.h>.
65877         (__STRCMP): Don't use BP_SYM.
65878         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65879         <bp-sym.h> and <bp-asm.h>.
65880         (strchr): Don't use BP_SYM.
65881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65882         <bp-sym.h> and <bp-asm.h>.
65883         (__strchrnul): Don't use BP_SYM.
65884         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65885         <bp-sym.h> and <bp-asm.h>.
65886         (strlen): Don't use BP_SYM.
65887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65888         <bp-sym.h> and <bp-asm.h>.
65889         (strncmp): Don't use BP_SYM.
65890         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65891         <bp-sym.h> and <bp-asm.h>.
65892         (__strnlen): Don't use BP_SYM.
65893         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65894         <bp-asm.h>.
65895         (__mpn_rshift): Don't use BP_SYM.
65896         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65898         <bp-sym.h> and <bp-asm.h>.
65899         (__sigsetjmp): Don't use BP_SYM.
65900         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65901         (L(start_addresses)): Don't use BP_SYM.
65902         (_start): Likewise.
65903         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65904         <bp-asm.h>.
65905         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65906         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65907         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65908         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65909         <bp-asm.h>.
65910         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65911         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65912         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65913         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65914         <bp-asm.h>.
65915         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65916         comments.
65917         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65918         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65919         <bp-asm.h>.
65920         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65921         FIXME comments.
65922         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65923         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65924         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65925         <bp-asm.h>.
65926         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65927         comment.
65928         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65929         and <bp-asm.h>.
65930         (strncmp): Don't use BP_SYM,
65931         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65932         <bp-asm.h>.
65933         (__mpn_sub_n): Don't use BP_SYM.
65934         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65935         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65936         and <bp-asm.h>.
65937         (__mpn_submul_1): Don't use BP_SYM.
65938         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65940         <bp-sym.h> and <bp-asm.h>.
65941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65943         <bp-sym.h> and <bp-asm.h>.
65944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65945         comment.
65947 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65950         Use ZK to minimize writes to Z.
65951         (sub_magnitudes): Simplify code a bit.
65952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65953         Use ZK to minimize writes to Z.
65954         (sub_magnitudes): Simplify code a bit.
65956 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65958         * csu/gmon-start.c: Add special exception to license text.
65960 2013-02-27  Richard Henderson  <rth@redhat.com>
65962         * scripts/config.guess: Update from config.git.
65963         * scripts/config.sub: Likewise.
65965 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65969         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65971         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65973         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65975         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65977 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65979         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65980         [$(build-shared = yes].
65982 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65984         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65985         (__mul): Reduce iterations for calculating mantissa.
65987         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65988         MPTWO.
65989         (__mpranred): Likewise.
65991         [BZ #15160]
65992         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65993         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65995 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65997         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65998         Define __attribute__.
66000 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66002         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66003         unused.
66004         * posix/regex_internal.h (__attribute): Remove.
66005         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66006         (re_string_context_at): Likewise.
66007         (bitset_not): Use __attribute__ and mark function as possibly
66008         unused.
66009         (bitset_merge): Likewise.
66010         (bitset_mask): Likewise.
66011         (re_string_char_size_at): Likewise.
66012         (re_string_wchar_at): Likewise.
66013         (re_string_elem_size_at): Likewise.
66015 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66017         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66018         code.
66019         (cc32): Likewise.
66021         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66022         (__acr): Likewise.
66023         (__cpy): Likewise.
66024         (norm): Likewise.
66025         (denorm): Likewise.
66026         (__dbl_mp): Likewise.
66027         (add_magnitudes): Likewise.
66028         (sub_magnitudes): Likewise.
66029         (__mul): Likewise.
66030         (__inv): Likewise.
66032         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66033         style.
66035         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66036         style.
66038         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66039         code.
66041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66042         up changes with default code.
66043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66044         Likewise.
66046 2013-02-24  Allan McRae  <allan@archlinux.org>
66048         * manual/socket.texi (The Internet Namespace): Order menu items
66049         to match that in the file.
66051         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66052         node listing of the info page menu.
66054 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66056         [BZ #13550]
66057         * sysdeps/i386/bp-asm.h: Remove file.
66058         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66059         (PARMS): Do not use macros from bp-asm.h.
66060         (S1): Likewise.
66061         (S2): Likewise.
66062         (SIZE): Likewise.
66063         (__mpn_add_n): Do not use BP_SYM
66064         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66065         "bp-asm.h".
66066         (PARMS): Do not use macros from bp-asm.h.
66067         (S1): Likewise.
66068         (SIZE): Likewise.
66069         (__mpn_addmul_1): Do not use BP_SYM
66070         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66071         "bp-asm.h".
66072         (PARMS): Do not use macros from bp-asm.h.
66073         (SIGMSK): Likewise.
66074         (_setjmp): Likewise.  Do not use BP_SYM.
66075         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66076         "bp-asm.h".
66077         (PARMS): Do not use macros from bp-asm.h.
66078         (SIGMSK): Likewise.
66079         (setjmp): Likewise.  Do not use BP_SYM.
66080         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66081         "bp-asm.h".
66082         (PARMS): Do not use macros from bp-asm.h.
66083         (__frexp): Do not use BP_SYM.
66084         (frexp): Likewise.
66085         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66086         "bp-asm.h".
66087         (PARMS): Do not use macros from bp-asm.h.
66088         (__frexpf): Do not use BP_SYM.
66089         (frexpf): Likewise.
66090         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66091         "bp-asm.h".
66092         (PARMS): Do not use macros from bp-asm.h.
66093         (__frexpl): Do not use BP_SYM.
66094         (frexpl): Likewise.
66095         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66096         "bp-asm.h".
66097         (PARMS): Do not use macros from bp-asm.h.
66098         (__remquo): Do not use BP_SYM.
66099         (remquo): Likewise.
66100         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66101         "bp-asm.h".
66102         (PARMS): Do not use macros from bp-asm.h.
66103         (__remquof): Do not use BP_SYM.
66104         (remquof): Likewise.
66105         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66106         "bp-asm.h".
66107         (PARMS): Do not use macros from bp-asm.h.
66108         (__remquol): Do not use BP_SYM.
66109         (remquol): Likewise.
66110         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66111         "bp-asm.h".
66112         (PARMS): Do not use macros from bp-asm.h.
66113         (DEST): Likewise.
66114         (SRC): Likewise.
66115         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66116         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66117         "bp-asm.h".
66118         (PARMS): Do not use macros from bp-asm.h.
66119         (strlen): Do not use BP_SYM.
66120         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66121         "bp-asm.h".
66122         (PARMS): Do not use macros from bp-asm.h.
66123         (S1): Likewise.
66124         (S2): Likewise.
66125         (SIZE): Likewise.
66126         (__mpn_add_n): Do not use BP_SYM.
66127         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66128         "bp-asm.h".
66129         (PARMS): Do not use macros from bp-asm.h.
66130         (S1): Likewise.
66131         (SIZE): Likewise.
66132         (__mpn_addmul_1): Do not use BP_SYM.
66133         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66134         weak_alias.
66135         (bzero): Likewise.
66136         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66137         "bp-asm.h".
66138         (PARMS): Do not use macros from bp-asm.h.
66139         (S): Likewise.
66140         (SIZE): Likewise.
66141         (__mpn_lshift): Do not use BP_SYM.
66142         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66143         "bp-asm.h".
66144         (PARMS): Do not use macros from bp-asm.h.
66145         (DEST): Likewise.
66146         (SRC): Likewise.
66147         (LEN): Likewise.
66148         (memcpy): Likewise.  Do not use BP_SYM.
66149         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66150         libc_hidden_def and weak_alias.
66151         (mempcpy): Do not use BP_SYM in weak_alias.
66152         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66153         "bp-asm.h".
66154         (PARMS): Do not use macros from bp-asm.h.
66155         (DEST): Likewise.
66156         (LEN): Likewise.
66157         [!BZERO_P] (CHR): Likewise.
66158         (memset): Likewise.  Do not use BP_SYM.
66159         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66160         "bp-asm.h".
66161         (PARMS): Do not use macros from bp-asm.h.
66162         (S1): Likewise.
66163         (SIZE): Likewise.
66164         (__mpn_mul_1): Do not use BP_SYM.
66165         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66166         "bp-asm.h".
66167         (PARMS): Do not use macros from bp-asm.h.
66168         (S): Likewise.
66169         (SIZE): Likewise.
66170         (__mpn_rshift): Do not use BP_SYM.
66171         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66172         "bp-asm.h".
66173         (PARMS): Do not use macros from bp-asm.h.
66174         (STR): Likewise.
66175         (CHR): Likewise.
66176         (strchr): Likewise.  Do not use BP_SYM.
66177         (index): Do not use BP_SYM in weak_alias.
66178         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66179         "bp-asm.h".
66180         (PARMS): Do not use macros from bp-asm.h.
66181         (DEST): Likewise.
66182         (SRC): Likewise.
66183         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66184         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66185         "bp-asm.h".
66186         (PARMS): Do not use macros from bp-asm.h.
66187         (strlen): Do not use BP_SYM.
66188         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66189         "bp-asm.h".
66190         (PARMS): Do not use macros from bp-asm.h.
66191         (S1): Likewise.
66192         (S2): Likewise.
66193         (SIZE): Likewise.
66194         (__mpn_sub_n): Do not use BP_SYM.
66195         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66196         "bp-asm.h".
66197         (PARMS): Do not use macros from bp-asm.h.
66198         (S1): Likewise.
66199         (SIZE): Likewise.
66200         (__mpn_submul_1): Do not use BP_SYM.
66201         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66202         "bp-asm.h".
66203         (PARMS): Do not use macros from bp-asm.h.
66204         (S1): Likewise.
66205         (S2): Likewise.
66206         (SIZE): Likewise.
66207         (__mpn_add_n): Do not use BP_SYM.
66208         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66209         weak_alias.
66210         (bzero): Likewise.
66211         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66212         "bp-asm.h".
66213         (PARMS): Do not use macros from bp-asm.h.
66214         (BLK2): Likewise.
66215         (LEN): Likewise.
66216         (memcmp): Do not use BP_SYM.
66217         (bcmp): Do not use BP_SYM in weak_alias.
66218         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66219         "bp-asm.h".
66220         (PARMS): Do not use macros from bp-asm.h.
66221         (DEST): Likewise.
66222         (SRC): Likewise.
66223         (LEN): Likewise.
66224         (memcpy): Likewise.  Do not use BP_SYM.
66225         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66226         "bp-asm.h".
66227         (PARMS): Do not use macros from bp-asm.h.
66228         (DEST): Likewise.
66229         (SRC): Likewise.
66230         (LEN): Likewise.
66231         (memmove): Likewise.  Do not use BP_SYM.
66232         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66233         "bp-asm.h".
66234         (PARMS): Do not use macros from bp-asm.h.
66235         (DEST): Likewise.
66236         (SRC): Likewise.
66237         (LEN): Likewise.
66238         (__mempcpy): Likewise.  Do not use BP_SYM.
66239         (mempcpy): Do not use BP_SYM in weak_alias.
66240         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66241         "bp-asm.h".
66242         (PARMS): Do not use macros from bp-asm.h.
66243         (DEST): Likewise.
66244         (LEN): Likewise.
66245         [!BZERO_P] (CHR): Likewise.
66246         (memset): Likewise.  Do not use BP_SYM.
66247         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66248         "bp-asm.h".
66249         (PARMS): Do not use macros from bp-asm.h.
66250         (STR2): Likewise.
66251         (strcmp): Do not use BP_SYM.
66252         * sysdeps/i386/i686/strtok.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         (DELIM): Likewise.
66257         [USE_AS_STRTOK_R] (SAVE): Likewise.
66258         (FUNCTION): Likewise.  Do not use BP_SYM.
66259         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66260         aliases.
66261         (strtok_r): Likewise.
66262         (__GI___strtok_r): Likewise.
66263         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66264         (PARMS): Do not use macros from bp-asm.h.
66265         (S): Likewise.
66266         (SIZE): Likewise.
66267         (__mpn_lshift): Do not use BP_SYM.
66268         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66269         (PARMS): Do not use macros from bp-asm.h.
66270         (STR): Likewise.
66271         (CHR): Likewise.
66272         (__memchr): Do not use BP_SYM.
66273         (memchr): Do not use BP_SYM in weak_alias.
66274         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66275         (PARMS): Do not use macros from bp-asm.h.
66276         (BLK2): Likewise.
66277         (LEN): Likewise.
66278         (memcmp): Do not use BP_SYM.
66279         (bcmp): Do not use BP_SYM in weak_alias.
66280         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66281         (PARMS): Do not use macros from bp-asm.h.
66282         (S1): Likewise.
66283         (SIZE): Likewise.
66284         (__mpn_mul_1): Do not use BP_SYM.
66285         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66286         "bp-asm.h".
66287         (PARMS): Do not use macros from bp-asm.h.
66288         (STR): Likewise.
66289         (CHR): Likewise.
66290         (__rawmemchr): Do not use BP_SYM.
66291         (rawmemchr): Do not use BP_SYM in weak_alias.
66292         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66293         (PARMS): Do not use macros from bp-asm.h.
66294         (S): Likewise.
66295         (SIZE): Likewise.
66296         (__mpn_rshift): Do not use BP_SYM.
66297         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66298         (PARMS): Do not use macros from bp-asm.h.
66299         (SIGMSK): Likewise.
66300         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66301         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66302         (_start): Do not use BP_SYM.
66303         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66304         (PARMS): Do not use macros from bp-asm.h.
66305         (DEST): Likewise.
66306         (SRC): Likewise.
66307         (__stpcpy): Likewise.  Do not use BP_SYM.
66308         (stpcpy): Do not use BP_SYM in weak_alias.
66309         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66310         "bp-asm.h".
66311         (PARMS): Do not use macros from bp-asm.h.
66312         (DEST): Likewise.
66313         (SRC): Likewise.
66314         (LEN): Likewise.
66315         (__stpncpy): Likewise.  Do not use BP_SYM.
66316         (stpncpy): Do not use BP_SYM in weak_alias.
66317         * sysdeps/i386/strchr.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         (CHR): Likewise.
66321         (strchr): Likewise.  Do not use BP_SYM.
66322         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66323         "bp-asm.h".
66324         (PARMS): Do not use macros from bp-asm.h.
66325         (STR): Likewise.
66326         (CHR): Likewise.
66327         (__strchrnul): Likewise.  Do not use BP_SYM.
66328         (strchrnul): Do not use BP_SYM in weak_alias.
66329         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66330         "bp-asm.h".
66331         (PARMS): Do not use macros from bp-asm.h.
66332         (STOP): Likewise.
66333         (strcspn): Do not use BP_SYM.
66334         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66335         "bp-asm.h".
66336         (PARMS): Do not use macros from bp-asm.h.
66337         (STR): Likewise.
66338         (STOP): Likewise.
66339         (strpbrk): Likewise.  Do not use BP_SYM.
66340         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66341         "bp-asm.h".
66342         (PARMS): Do not use macros from bp-asm.h.
66343         (STR): Likewise.
66344         (CHR): Likewise.
66345         (strrchr): Likewise.  Do not use BP_SYM.
66346         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66347         (PARMS): Do not use macros from bp-asm.h.
66348         (SKIP): Likewise.
66349         (strspn): Do not use BP_SYM.
66350         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66351         (PARMS): Do not use macros from bp-asm.h.
66352         (STR): Likewise.
66353         (DELIM): Likewise.
66354         (SAVE): Likewise.
66355         (FUNCTION): Likewise.  Do not use BP_SYM.
66356         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66357         aliases.
66358         (strtok_r): Likewise.
66359         (__GI___strtok_r): Likewise.
66360         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66361         (PARMS): Do not use macros from bp-asm.h.
66362         (S1): Likewise.
66363         (S2): Likewise.
66364         (SIZE): Likewise.
66365         (__mpn_sub_n): Do not use BP_SYM.
66366         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66367         "bp-asm.h".
66368         (PARMS): Do not use macros from bp-asm.h.
66369         (S1): Likewise.
66370         (SIZE): Likewise.
66371         (__mpn_submul_1): Do not use BP_SYM.
66372         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66373         <bp-sym.h>.
66374         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66375         and <bp-asm.h>.
66376         (PARMS): Do not use macros from bp-asm.h.
66377         (FLAGS): Likewise.
66378         (PTID): Likewise.
66379         (TLS): Likewise.
66380         (CTID): Likewise.
66381         (__clone): Do not use BP_SYM.
66382         (clone): Do not use BP_SYM in weak_alias.
66383         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66384         and <bp-asm.h>.
66385         (PARMS): Do not use macros from bp-asm.h.
66386         (LEN): Likewise.
66387         (__mmap64): Do not use BP_SYM.
66388         (mmap64): Do not use BP_SYM in weak_alias.
66389         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66390         <bp-sym.h> and <bp-asm.h>.
66391         (PARMS): Do not use macros from bp-asm.h.
66392         (__posix_fadvise64_l64): Do not use BP_SYM.
66393         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66394         (PARMS): Do not use macros from bp-asm.h.
66395         (NSOPS): Likewise.
66396         (semtimedop): Do not use BP_SYM.
66397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66398         and <bp-asm.h>.
66400 2013-02-21  Allan McRae  <allan@archlinux.org>
66402         * manual/message.texi (Charset conversion in gettext):
66403         Move @end statement to beginning of line.
66405 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66408         static.
66409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66410         Likewise.
66412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66413         (denorm): Likewise.
66414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66417 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66419         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66420         tail-call to the resolved function if pltexit isn't needed.
66422 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66425         or Y being zero as being unlikely.
66426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66427         Likewise.
66429 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66431         * manual/nss.texi (System Databases and Name Service Switch):
66432         Remove frobnicate @pxref.
66434 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66436         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66437         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66439 2013-02-20  Petr Machata  <pmachata@redhat.com>
66441         * elf/elf.h (R_ARM_TARGET1): New macro.
66442         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66443         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66444         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66445         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66446         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66447         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66448         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66449         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66450         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66451         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66452         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66453         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66454         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66455         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66456         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66457         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66458         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66459         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66460         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66461         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66462         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66463         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66464         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66465         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66466         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66467         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66468         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66469         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66470         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66471         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66472         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66473         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66474         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66475         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66476         (R_ARM_THM_GOT_BREL12): Likewise.
66477         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66478         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66479         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66480         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66481         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66482         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66483         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66484         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66485         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66487 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66489         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66490         __attribute_used__ to __attribute__ ((unused)).
66492 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66494         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66495         powerpc mpa.c.
66496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66497         comment formatting.
66498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66500 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
66502         [BZ #13550]
66503         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66504         Remove macro.
66505         (ENTER): Remove both macro definitions.
66506         (LEAVE): Likewise.
66507         (CHECK_BOUNDS_LOW): Likewise.
66508         (CHECK_BOUNDS_HIGH): Likewise.
66509         (CHECK_BOUNDS_BOTH): Likewise.
66510         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66511         (RETURN_BOUNDED_POINTER): Likewise.
66512         (RETURN_NULL_BOUNDED_POINTER): Likewise.
66513         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66514         (POP_ERRNO_LOCATION_RETURN): Likewise.
66515         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66517         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66518         macros.
66519         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66520         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66521         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66522         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66523         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66524         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66525         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66526         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66527         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66528         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66529         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66530         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66531         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66532         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66533         removed macros.
66534         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66535         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66536         macros.
66537         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66538         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66539         * sysdeps/i386/i586/memset.S (memset): Likewise.
66540         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66541         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66542         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66543         macros.
66544         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66545         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66546         Change uses of L(2) to L(out).
66547         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66548         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66549         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66550         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66551         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66552         removed macros.
66553         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66554         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66555         macros.
66556         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66557         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66558         (RETURN): Do not use macro LEAVE.
66559         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66560         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66561         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66562         * sysdeps/i386/i686/memset.S (memset): Likewise.
66563         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66564         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66565         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66566         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66567         Likewise.
66568         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66569         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66570         L(1_2) and L(1_3) into L(1).
66571         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66572         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66573         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66574         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66575         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66576         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66577         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66578         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66579         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66580         macros.
66581         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66582         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66583         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66584         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66585         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66586         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66587         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66588         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66589         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66590         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66591         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66592         * sysdeps/i386/strspn.S (strspn): Likewise.
66593         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66594         conditional code.
66595         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66596         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66597         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66598         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66599         L(1_3) into L(1_1).
66600         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66601         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66602         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66603         macros.
66604         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66606 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66608         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66609         macro.
66611 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66613         * math/atest-exp.c (exp_mpn): Remove ROUND.
66614         * math/atest-exp2.c (exp_mpn): Likewise.
66615         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66617         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66618         * stdlib/tst-tls-atexit-lib.c: Likewise.
66619         * stdlib/tst-tls-atexit.c: Likewise.
66621 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66623         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66624         and __attribute_alloc_size__.
66626 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66628         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66629         __attribute_alloc_size__.
66630         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66631         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66633 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66635         * include/programs/xmalloc.h: New file.
66636         * catgets/gencat.c: Include it.
66637         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66638         * elf/pldd.c: Likewise.
66639         * iconv/iconv_charmap.c: Likewise.
66640         * iconv/iconvconfig.c: Likewise.
66641         * iconv/strtab.c: Likewise.
66642         * locale/programs/locale.c: Likewise.
66643         * locale/programs/localedef.h: Likewise.
66644         * locale/programs/simple-hash.c: Likewise.
66645         * nscd/nscd.h: Likewise.
66646         * nss/makedb.c: Likewise.
66647         * sysdeps/generic/ldconfig.h: Likewise.
66649 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66651         * Versions.def: Add GLIBC_2.18.
66652         * include/link.h (struct link_map): New member l_tls_dtor_count.
66653         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66654         (__call_tls_dtors): Likewise.
66655         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66656         __cxa_thread_atexit_impl.
66657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66658         Likewise.
66659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66660         Likewise.
66661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66662         Likewise.
66663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66664         Likewise.
66665         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66667         Likewise.
66668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66669         Likewise.
66670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66672         Likewise.
66673         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66674         (tests): Add test case tst-tls-atexit.
66675         (modules-names): Add shared library for tst-tls-atexit.
66676         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66677         (GLIBC_PRIVATE): Add __call_tls_dtors.
66678         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66679         for libstdc++.
66680         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66681         * stdlib/tst-tls-atexit.c: New test case.
66682         * stdlib/tst-tls-atexit-lib.c: New test case.
66684         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66686         * elf/Versions (ld): Add _dl_find_dso_for_object.
66687         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66688         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66689         (dl_open_worker): Use _dl_find_dso_for_object.
66690         * elf/dl-sym.c (do_sym): Likewise.
66691         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66693 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66695         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66696         Syntactic changes only.
66697         (_dl_runtime_profile): Do a tail-call to the resolved function.
66699 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66701         [BZ #13550]
66702         * sysdeps/x86_64/bp-asm.h: Remove file.
66703         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66704         <bp-sym.h> and <bp-asm.h>.
66705         (__clone): Do not use BP_SYM.
66706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66707         <bp-sym.h> and <bp-asm.h>.
66708         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66709         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66710         "bp-asm.h".
66711         (_setjmp): Do not use BP_SYM.
66712         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66713         "bp-asm.h".
66714         (setjmp): Do not use BP_SYM.
66715         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66716         libc_hidden_def.
66717         (mempcpy): Do not use BP_SYM in weak_alias.
66718         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66719         "bp-asm.h".
66720         (strchr): Do not use BP_SYM.
66721         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66722         "bp-asm.h".
66723         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66724         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66725         (_start): Do not use BP_SYM.
66726         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66727         "bp-asm.h".
66728         (strcat): Do not use BP_SYM.
66729         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66730         "bp-asm.h".
66731         (STRCMP): Do not use BP_SYM.
66732         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66733         "bp-asm.h".
66734         (STRCPY): Do not use BP_SYM.
66735         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66736         "bp-asm.h".
66737         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66738         "bp-asm.h".
66739         (FUNCTION): Do not use BP_SYM.
66740         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66741         weak_alias.
66742         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66744 2013-02-17  Andreas Jaeger  <aj@suse.de>
66746         * time/Versions: Sort entries.
66747         * string/Versions: Likewise.
66748         * resolv/Versions: Likewise.
66749         * posix/Versions: Likewise.
66750         * iconv/Versions: Likewise.
66751         * elf/Versions: Likewise.
66752         * wcsmbs/Versions: Likewise.
66754 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66756         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66757         loop termination condition.
66759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66760         variable to calculate EZ.
66761         (__sqr): Likewise.
66763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66764         the lower precision input.
66766 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66768         [BZ #13550]
66769         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66770         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66771         (run-via-rtld-prefix): Do not handle %-bp tests.
66772         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66773         (all-object-suffixes): Remove .ob.
66774         (bppfx): Remove variable.
66775         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66776         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66777         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66778         [$(build-bounded) = yes] (libtype.ob): Likewise.
66779         * Makerules (elide-routines.ob): Remove variable.
66780         (do-tests-clean): Do not handle *-bp.out.
66781         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66782         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66783         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66784         (tests): Do not include $(tests-bp.out).
66785         (xtests): Do not include $(xtests-bp.out).
66786         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66787         [$(build-bounded) = yes] ($(addprefix
66788         $(objpfx),$(binaries-bounded))): Remove rule.
66789         ($(objpfx)%-bp.out): Remove rule.
66790         * config.make.in (build-bounded): Remove variable.
66791         * crypt/Makefile [$(build-bounded) = yes]
66792         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66793         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66794         append to variable.
66795         [$(build-bounded) = yes] (install-lib): Likewise.
66796         [$(build-bounded) = yes] (generated): Likewise.
66797         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66798         Remove rule.
66799         * intl/Makefile [$(build-bounded) = yes]
66800         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66801         * math/Makefile [$(build-bounded) = yes]
66802         ($(tests:%=$(objpfx)%-bp): Likewise.
66803         * misc/Makefile [$(build-bounded) = yes]
66804         ($(objpfx)tst-tsearch-bp): Likewise.
66805         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66806         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66807         Remove dependency.
66808         * string/Makefile (o-objects.ob): Remove variable.
66809         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66810         (CFLAGS-.ob): Remove variable.
66811         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66812         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66813         both definitions of variable.
66814         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66815         (ASFLAGS-.ob): Remove variable.
66817 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66819         [BZ #13550]
66820         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66821         Remove __BOUNDED_POINTERS__ from condition.
66822         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66823         * string/bits/string2.h [!__NO_STRING_INLINES &&
66824         !__BOUNDED_POINTERS__]: Likewise.
66825         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66826         Likewise.
66827         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66828         Remove conditional code.
66829         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66830         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66831         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66832         condition.
66834         [BZ #13550]
66835         * csu/libc-start.c: Do not include <bp-sym.h>.
66836         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66837         * elf/dl-open.c: Do not include <bp-sym.h>.
66838         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66839         * math/fegetenv.c: Do not include <bp-sym.h>.
66840         (fegetenv): Do not use BP_SYM in versioned symbols.
66841         * nptl/sysdeps/pthread/bits/libc-lockP.h
66842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66843         <bp-sym.h>.
66844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66845         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66847         (__pthread_mutex_destroy): Likewise.
66848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66849         (__pthread_mutex_lock): Likewise.
66850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66851         (__pthread_mutex_trylock): Likewise.
66852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66853         (__pthread_mutex_unlock): Likewise.
66854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66855         (__pthread_mutexattr_init): Likewise.
66856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66857         (__pthread_mutexattr_destroy): Likewise.
66858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66859         (__pthread_mutexattr_settype): Likewise.
66860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66861         (__pthread_rwlock_init): Likewise.
66862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66863         (__pthread_rwlock_destroy): Likewise.
66864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66865         (__pthread_rwlock_rdlock): Likewise.
66866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66867         (__pthread_rwlock_tryrdlock): Likewise.
66868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66869         (__pthread_rwlock_wrlock): Likewise.
66870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66871         (__pthread_rwlock_trywrlock): Likewise.
66872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66873         (__pthread_rwlock_unlock): Likewise.
66874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66875         (__pthread_key_create): Likewise.
66876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66877         (__pthread_setspecific): Likewise.
66878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66879         (__pthread_getspecific): Likewise.
66880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66881         Likewise.
66882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66883         (_pthread_cleanup_push_defer): Likewise.
66884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66885         (_pthread_cleanup_pop_restore): Likewise.
66886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66887         (pthread_setcancelstate): Likewise.
66888         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66889         <bp-sym.h>.
66890         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66891         (memchr): Do not use BP_SYM in weak_alias.
66892         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66893         (fegetenv): Do not use BP_SYM in versioned symbols.
66894         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66895         (fesetenv): Do not use BP_SYM in versioned symbols.
66896         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66897         (feupdateenv): Do not use BP_SYM in versioned symbols.
66898         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66899         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66900         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66901         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66902         (open64): Do not use BP_SYM in weak_alias.
66903         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66904         (fegetenv): Do not use BP_SYM in versioned symbols.
66905         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66906         (fesetenv): Do not use BP_SYM in versioned symbols.
66907         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66908         (feupdateenv): Do not use BP_SYM in versioned symbols.
66909         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66910         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66911         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66912         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66913         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66914         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66915         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66916         <bp-sym.h>.
66917         (__libc_start_main): Do not use BP_SYM.
66919 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66922         redundant return line.
66923         (norm): Likewise.
66924         (denorm): Likewise.
66925         (dbl_mp): Likewise.
66926         (sub_magnitudes): Likewise.
66927         (__add): Likewise.
66928         (__sub): Likewise.
66929         (__mul): Likewise.
66930         (__inv): Likewise.
66931         (__dvd): Likewise.
66932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66933         (norm): Likewise.
66934         (denorm): Likewise.
66935         (dbl_mp): Likewise.
66936         (sub_magnitudes): Likewise.
66937         (__add): Likewise.
66938         (__sub): Likewise.
66939         (__mul): Likewise.
66940         (__inv): Likewise.
66941         (__dvd): Likewise.
66943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66944         instead of __mul.
66945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66946         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66947         (cc32): Likewise.
66949         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66950         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66952         of __mul for squares.
66953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66954         function
66955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66956         Likewise.
66957         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66960 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66962         [BZ #13550]
66963         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66964         code.
66965         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66966         prototype or function definition.  Rename ubp_* variables and
66967         parameters.  Remove argv definitions conditional on
66968         [__BOUNDED_POINTERS__].
66969         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66970         * elf/dl-runtime.c (_dl_fixup): Likewise.
66971         * include/set-hooks.h (RUN_HOOK): Likewise.
66972         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66973         definition.
66974         * string/strcpy.c (strcpy): Do not use __unbounded.
66975         * sysdeps/generic/frame.h (struct layout): Likewise.
66976         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66977         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66978         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66979         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66980         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66981         (__backtrace): Likewise.
66982         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66983         use __ptrvalue.
66984         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66985         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66986         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66987         Likewise.
66988         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66989         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66990         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66991         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66992         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66993         Do not use __unbounded.
66994         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66995         Rename __unboundedrlimits parameter to rlimits in prototype.
66996         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66997         Do not use __unbounded.
66998         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66999         not use __ptrvalue.
67000         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67001         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67002         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67003         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67004         __ptrvalue or __unbounded.
67005         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67006         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67007         use __unbounded.
67008         (__new_msgctl): Do not use __ptrvalue.
67009         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67010         __unbounded.
67011         (__libc_msgrcv): Do not use __ptrvalue.
67012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67013         startup_info): Do not use __unbounded.
67014         (__libc_start_main): Likewise.  Rename ubp_* variables and
67015         parameters.  Remove argv definitions conditional on
67016         [__BOUNDED_POINTERS__].
67017         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67018         __ptrvalue.
67019         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67020         use __unbounded.
67021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67022         or __ptrvalue.
67023         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67024         use __unbounded.
67025         (__new_shmctl): Do not use __ptrvalue.
67026         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67027         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67028         Likewise.
67029         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67031         (__libc_sigaction): Likewise.
67032         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67033         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67034         Likewise.
67035         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67037 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67039         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67041         * string/mempcpy.c: Implement by calling memcpy.
67043 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67048         evaluation.
67050         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67051         values in the mantissa.
67053         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67054         minimize writes to Z.
67055         (sub_magnitudes): Simplify code a bit.
67057 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67059         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67060         from the message.  The linker prefixes all warnings with that already.
67062 2013-02-12  Andreas Schwab  <schwab@suse.de>
67064         [BZ #15078]
67065         * posix/regexec.c (extend_buffers): Add parameter min_len.
67066         (check_matching): Pass minimum needed length.
67067         (clean_state_log_if_needed): Likewise.
67068         (get_subexp): Likewise.
67069         * posix/Makefile (tests): Add bug-regex34.
67070         (bug-regex34-ENV): Define.
67071         * posix/bug-regex34.c: New file.
67073         [BZ #11561]
67074         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67075         elements compare against the byte sequence of it, not its name.
67076         * posix/Makefile (tests): Add bug-regex35.
67077         (bug-regex35-ENV): Define.
67078         * posix/bug-regex35.c: New file.
67080 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67082         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67083         comment.
67084         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67085         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67086         (CHECK_EOL): Add undef.
67088 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67090         * bits/stdlib-bsearch.h: New file.
67091         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67092         * stdlib/stdlib.h: Likewise.
67094 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67096         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67097         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67098         declaration.
67099         * manual/search.texi (Array Search Function): Add missing const in
67100         lfind prototype.
67101         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67102         declaration to use rlim_t.
67103         (Basic Scheduling Functions): Remove erroneous const from
67104         sched_getparam prototype.  Remove erroneous * from
67105         sched_get_priority_max and sched_get_priority_min prototypes.
67106         (Resource Usage): Fix summary @comment on vtimes to refer to
67107         sys/vtimes.h rather than vtimes.h.
67108         Add missing *s in vtimes prototype.
67109         (Limits on Resources): Fix ulimit prototype to return long int.
67110         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67111         prototypes to use long int rather than double.
67112         (BSD Random): Fix initstate and setstate to use char *, not void *.
67113         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67114         prototype to make second argument 'struct aiocb64 *const[]'.
67115         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67116         (Status of AIO Operations): Remove erroneous const in aio_return and
67117         aio_return64 prototypes.
67118         (Synchronizing I/O): Fix sync prototype to return void.
67119         * manual/startup.texi (Suboptions): Remove an erroneous const in
67120         getsubopt prototype.
67121         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67122         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67123         use size_t rather than int.
67124         (Scanning All Users): Likewise for getpwent_r.
67125         (Setting Groups): Add missing const to setgroups prototype.
67126         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67127         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67128         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67129         'const void *' rather than 'const char *'.
67130         (Host Address Functions): Likewise for inet_ntop.
67131         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67132         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67133         ssize_t for return value.
67134         (Sending Data): Likewise for send, sendto, sendmsg.
67135         (Socket Option Functions): Add a missing const in setsockopt prototype.
67136         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67137         use wchar_t for the argument.
67138         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67139         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67140         take no arguments.
67141         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67142         double/float/long double for second argument.
67143         Fix return types of significand, significandf, significandl.
67144         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67145         argument in fchmod prototype.
67146         (File Owner): Use uid_t and gid_t in fchown prototype.
67147         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67148         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67149         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67150         use 'const struct dirent **' as argument types to CMP function pointer
67151         argument.
67152         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67153         (File Times): Fix summary magic @comment for struct utimbuf and utime
67154         to refer to utime.h, not time.h.
67155         * manual/string.texi (Argz Functions): Add missing const in
67156         argz_extract and argz_next prototypes.
67157         (Finding Tokens in a String): Likewise for basename.
67158         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67159         (Copying and Concatenation): Fix typo in wmemmove prototype.
67160         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67161         (Signal Stack): Remove erroneous const in sigstack prototype.
67162         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67163         prototype.
67164         (Simple Calendar Time): Likewise for stime.
67165         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67166         prototype.
67167         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67168         say sys/sysctl.h instead.
67169         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67170         and vsyslog prototypes.
67172 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67174         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67175         Remove.
67177 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67179         * misc/sys/mman.h: Fix typo in mremap comment.
67181 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67183         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67184         the '\0' terminator.
67186 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67188         [BZ #13550]
67189         * debug/segfault.c: Don't include <bp-checks.h>.
67190         * sysdeps/generic/bp-checks.h: Remove file.
67191         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67192         (__GETDENTS): Don't use CHECK_N.
67193         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67194         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67195         (__getgroups): Don't use CHECK_N.
67196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67197         (setgroups): Don't use CHECK_N.
67198         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67199         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67200         (__libc_msgrcv): Don't use CHECK_N.
67201         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67202         (__libc_msgsnd): Don't use CHECK_N.
67203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67204         <bp-checks.h>.
67205         (__libc_pread): Don't use CHECK_N.
67206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67207         include <bp-checks.h>.
67208         (__libc_pread64): Don't use CHECK_N.
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67210         include <bp-checks.h>.
67211         (__libc_pwrite): Don't use CHECK_N.
67212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67213         include <bp-checks.h>.
67214         (__libc_pwrite64): Don't use CHECK_N.
67215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67216         <bp-checks.h>.
67217         (__libc_pread): Don't use CHECK_N.
67218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67219         include <bp-checks.h>.
67220         (__libc_pread64): Don't use CHECK_N.
67221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67222         include <bp-checks.h>.
67223         (__libc_pwrite): Don't use CHECK_N.
67224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67225         include <bp-checks.h>.
67226         (__libc_pwrite64): Don't use CHECK_N.
67227         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67228         (do_pread): Don't use CHECK_N.
67229         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67230         (do_pread64): Don't use CHECK_N.
67231         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67232         (do_pwrite): Don't use CHECK_N.
67233         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67234         (do_pwrite64): Don't use CHECK_N.
67235         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67236         (__libc_readv): Don't use CHECK_N.
67237         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67238         (semop): Don't use CHECK_N.
67239         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67240         <bp-checks.h>.
67241         (semtimedop): Don't use CHECK_N.
67242         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67243         (__libc_pread): Don't use CHECK_N.
67244         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67245         <bp-checks.h>.
67246         (__libc_pread64): Don't use CHECK_N.
67247         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67248         <bp-checks.h>.
67249         (__libc_pwrite): Don't use CHECK_N.
67250         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67251         <bp-checks.h>.
67252         (__libc_pwrite64): Don't use CHECK_N.
67253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67254         <bp-checks.h>.
67255         (__libc_msgrcv): Don't use CHECK_N.
67256         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67257         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67258         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67259         (__libc_writev): Don't use CHECK_N.
67261 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67263         * string/strcpy.c: Removed unused variable.
67265         * Makeconfig (+sysdep-includes): Define with := rather than =.
67266         Use an existing include/ subdir of each sysdeps dir before it.
67268 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67270         * nscd/connection.c (register_traced_file): Comment function.
67271         [HAVE_INOTIFY] (union __inev): Define.
67272         [HAVE_INOTIFY] (inotify_check_files): New function.
67273         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67274         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67275         clear_db_cache.
67276         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67278 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67280         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67281         loaded if not already and that a failure is permanent.
67283 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67285         [BZ #15006]
67286         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67287         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67289 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67291         [BZ #13550]
67292         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67293         (CHECK_1_NULL_OK): Likewise.
67294         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67295         (__fxstat): Do not use CHECK_1.
67296         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67297         <bp-checks.h>.
67298         (___fxstat64): Do not use CHECK_1.
67299         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67300         <bp-checks.h>.
67301         (__fxstatat): Do not use CHECK_1.
67302         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67303         <bp-checks.h>.
67304         (__fxstatat64): Do not use CHECK_1.
67305         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67306         <bp-checks.h>.
67307         (__fxstat): Do not use CHECK_1.
67308         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67309         <bp-checks.h>.
67310         (__fxstatat): Do not use CHECK_1.
67311         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67312         <bp-checks.h>.
67313         (__getresgid): Do not use CHECK_1.
67314         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67315         <bp-checks.h>.
67316         (__getresuid): Do not use CHECK_1.
67317         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67318         <bp-checks.h>.
67319         (__lxstat): Do not use CHECK_1.
67320         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67321         <bp-checks.h>.
67322         (__old_msgctl): Do not use CHECK_1.
67323         (__new_msgctl): Likewise.
67324         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67325         <bp-checks.h>.
67326         (__new_setrlimit): Do not use CHECK_1.
67327         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67328         <bp-checks.h>.
67329         (__old_shmctl): Do not use CHECK_1.
67330         (__new_shmctl): Likewise.
67331         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67332         <bp-checks.h>.
67333         (__xstat): Do not use CHECK_1.
67334         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67335         (__lxstat): Do not use CHECK_1.
67336         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67337         <bp-checks.h>.
67338         (___lxstat64): Do not use CHECK_1.
67339         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67340         (__old_msgctl): Do not use CHECK_1.
67341         (__new_msgctl): Likewise.
67342         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67343         <bp-checks.h>.
67344         (__gettimeofday): Do not use CHECK_1.
67345         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67346         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67347         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67348         <bp-checks.h>.
67349         (__gettimeofday): Do not use CHECK_1.
67350         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67351         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67352         (__new_shmctl): Do not use CHECK_1.
67353         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67354         <bp-checks.h>.
67355         (do_sigtimedwait): Do not use CHECK_1.
67356         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67357         <bp-checks.h>.
67358         (do_sigwaitinfo): Do not use CHECK_1.
67359         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67360         <bp-checks.h>.
67361         (msgctl): Do not use CHECK_1.
67362         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67363         <bp-checks.h>.
67364         (shmctl): Do not use CHECK_1.
67365         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67366         (ustat): Do not use CHECK_1.
67367         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67368         <bp-checks.h>.
67369         (__fxstat): Do not use CHECK_1.
67370         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67371         <bp-checks.h>.
67372         (__fxstatat): Do not use CHECK_1.
67373         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67374         <bp-checks.h>.
67375         (__lxstat): Do not use CHECK_1.
67376         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67377         <bp-checks.h>.
67378         (__xstat): Do not use CHECK_1.
67379         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67380         (__xstat): Do not use CHECK_1.
67381         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67382         (___xstat64): Do not use CHECK_1.
67384         [BZ #13550]
67385         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67386         definitions.
67387         (CHECK_BOUNDS_HIGH): Likewise.
67388         * string/strcpy.c: Do not include <bp-checks.h>.
67389         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67391 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67393         * nscd/nscd-client.h (__nscd_drop_map_ref):
67394         Add __attribute__ ((unused)).
67395         * nis/nss-nisplus.h (niserr2nss): Likewise.
67397         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67398         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67400         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67401         Remove inline keyword.
67402         * include/rounding-mode.h (round_away): Likewise.
67403         * libio/wfileops.c (adjust_wide_data): Likewise.
67404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67405         (__m128i_strloadu_tolower): Likewise.
67406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67407         (__m128i_strloadu_tolower): Likewise.
67408         * time/mktime.c (ydhms_diff): Likewise.
67409         * locale/elem-hash.h (elem_hash): Likewise.
67410         * locale/setlocale.c (setdata): Likewise.
67411         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67412         (re_string_wchar_at): Likewise.
67413         (bitset_not, bitset_merge, bitset_mask): Likewise.
67414         [!(__GNUC__ > 3)] (inline): Remove macro.
67415         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67416         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67417         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67418         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67419         * string/memcmp.c (memcmp_bytes): Likewise.
67420         * locale/programs/locarchive.c (compute_hashval): Likewise.
67421         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67422         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67423         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67424         * nss/getent.c (print_rpc, print_protocols): Likewise.
67425         (print_passwd, print_group, print_aliases): Likewise.
67426         * nis/nss-nisplus.h (niserr2nss): Likewise.
67427         * nscd/connections.c (restart_p): Likewise.
67428         Change return type to bool.
67430 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67432         * Makeconfig (all-Depend-files): Add existing
67433         $(sorted-subdirs:=/Depend) files.
67434         (all-subdirs): Remove nss.
67435         * sysdeps/unix/inet/Subdirs: Add it here instead.
67436         * hesiod/Depend: New file.
67438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67439         instead of calling alloca.
67441         * io/lseek.c (__lseek): Rename to __libc_lseek.
67442         Define __lseek as an alias.
67444         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67446 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67448         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67449         else clause and remove check for non-standard endianness.
67451 2013-02-04  David S. Miller  <davem@davemloft.net>
67453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67455 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67457         [BZ #13550]
67458         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67459         (__ubp_memchr): Remove prototype.
67460         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67461         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67462         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67463         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67464         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67465         Remove alias.
67466         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67467         (__ubp_memchr): Likewise.
67468         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67469         (__ubp_memchr): Likewise.
67470         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67471         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67472         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67473         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67474         CHECK_STRING.
67475         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67476         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67477         (__getcwd): Do not use CHECK_STRING.
67478         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67479         <bp-checks.h>.
67480         (__real_chown): Do not use CHECK_STRING.
67481         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67482         <bp-checks.h>.
67483         (fchownat): Do not use CHECK_STRING.
67484         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67485         CHECK_STRING.
67486         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67487         <bp-checks.h>.
67488         (__lchown): Do not use CHECK_STRING.
67489         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67490         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67491         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67492         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67494         include <bp-checks.h>.
67495         (truncate64): Do not use CHECK_STRING.
67496         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67497         <bp-checks.h>.
67498         (__real_chown): Do not use CHECK_STRING.
67499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67500         <bp-checks.h>.
67501         (__lchown): Do not use CHECK_STRING.
67502         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67503         <bp-checks.h>.
67504         (__chown): Do not use CHECK_STRING.
67505         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67506         <bp-checks.h>.
67507         (truncate64): Do not use CHECK_STRING.
67508         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67509         Likewise.
67510         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67511         (__xmknod): Do not use CHECK_STRING.
67512         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67513         <bp-checks.h>.
67514         (__xmknodat): Do not use CHECK_STRING.
67515         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67516         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67518 2013-02-04  Andreas Schwab  <schwab@suse.de>
67520         [BZ #14142]
67521         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67522         * include/netdb.h: Likewise for h_errno.
67523         * elf/tst-stackguard1.c: Include <tls.h>.
67525 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67527         * elf/link.h (struct link_map): Extend the l_addr comment.
67528         * include/link.h (struct link_map): Likewise.
67530 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67532         [BZ #13550]
67533         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67534         (BOUNDED_1): Remove macro.
67535         * debug/backtrace.c: Don't include <bp-checks.h>.
67536         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67537         (__backtrace): Likewise.
67538         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67539         <bp-checks.h>.
67540         (__backtrace): Don't use BOUNDED_1.
67541         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67542         <bp-checks.h>.
67543         (__backtrace): Don't use BOUNDED_1.
67544         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67545         (__backtrace): Don't use BOUNDED_1.
67546         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67547         (shmat): Don't use BOUNDED_N.
67549 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #13550]
67552         * sysdeps/generic/bp-start.h: Remove file.
67553         * csu/libc-start.c: Don't include <bp-start.h>.
67554         (LIBC_START_MAIN): Set up __environ directly instead of using
67555         INIT_ARGV_and_ENVIRON.
67556         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67557         <bp-start.h>.
67559         [BZ #13550]
67560         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67561         definitions.
67562         (CHECK_FCNTL): Likewise.
67563         (CHECK_N_PAGES): Likewise.
67565         [BZ #13550]
67566         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67567         definitions.
67568         (CHECK_SIGSET_NULL_OK): Likewise.
67569         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67570         <bp-checks.h>.
67571         (sigpending): Don't use CHECK_SIGSET.
67572         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67573         <bp-checks.h>.
67574         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67575         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67576         <bp-checks.h>.
67577         (do_sigsuspend): Don't use CHECK_SIGSET.
67578         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67579         use CHECK_SIGSET.
67580         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67581         (do_sigwait): Don't use CHECK_SIGSET.
67582         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67583         use CHECK_SIGSET.
67584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67585         include <bp-checks.h>.
67586         (sigpending): Don't use CHECK_SIGSET.
67587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67588         include <bp-checks.h>.
67589         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67590         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67591         <bp-checks.h>.
67592         (sigpending): Don't use CHECK_SIGSET.
67593         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67594         <bp-checks.h>.
67595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67597         [BZ #13550]
67598         * sysdeps/generic/bp-semctl.h: Remove file.
67599         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67600         <bp-checks.h> and <bp-semctl.h>.
67601         (__old_semctl): Don't use CHECK_SEMCTL.
67602         (__new_semctl): Likewise.
67603         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67604         and <bp-semctl.h>.
67605         (__old_semctl): Don't use CHECK_SEMCTL.
67606         (__new_semctl): Likewise.
67607         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67608         <bp-checks.h> and <bp-semctl.h>.
67609         (__old_semctl): Don't use CHECK_SEMCTL.
67610         (__new_semctl): Likewise.
67611         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67612         <bp-checks.h> and <bp-semctl.h>.
67613         (semctl): Don't use CHECK_SEMCTL.
67615         [BZ #13550]
67616         * Makerules (elide-bp-thunks): Remove variable.
67617         (elide-routines.oS): Don't use $(elide-bp-thunks).
67618         (elide-routines.os): Likewise.
67619         (elide-routines.o): Likewise.
67620         (elide-routines.op): Likewise.
67621         (elide-routines.og): Likewise.
67622         (objects): Don't use $(bp-thunks).
67623         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67624         include.
67625         (common-generated): Do not add s-proto-bp.d.
67626         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67627         (int): Likewise.
67628         (typ): Likewise.
67629         Do not generate makefile rules for bounded-pointer thunks.
67630         * sysdeps/generic/bp-thunks.h: Remove file.
67631         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67632         * sysdeps/unix/s-proto-bp.S: Likewise.
67634         [BZ #15062]
67635         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67636         parts of result separately when argument is not close to line from
67637         -i to i and one part of argument is small.
67638         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67639         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67640         * math/libm-test.inc (cacos_test): Add more tests.
67641         (casin_test): Likewise.
67642         (casinh_test): Likewise.
67643         * sysdeps/i386/fpu/libm-test-ulps: Update.
67644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67646 2013-01-31  David S. Miller  <davem@davemloft.net>
67648         * po/de.po: Update from translation team.
67650 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67652         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67654 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67656         * configure.in (_AC_PROG_CC_C89): New definition.
67657         * configure: Regenerate.
67659         * configure.in (AC_PROG_CPP): New definition.
67660         * configure: Regenerate.
67662 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67664         * debug/tst-backtrace.h: New file.
67665         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67666         (ret): Remove variable.
67667         (x): Likewise.
67668         (FAIL): Remove macro.
67669         (NO_INLINE): Likewise.
67670         (fn1): Use match function instead of strstr.
67671         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67672         (ret): Remove variable.
67673         (x): Likewise.
67674         (FAIL): Remove macro.
67675         (NO_INLINE): Likewise.
67676         (fn): Use match function instead of strstr.
67677         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67678         (ret): Remove variable.
67679         (x): Likewise.
67680         (FAIL): Remove macro.
67681         (NO_INLINE): Likewise.
67682         (handle_signal): Use match function instead of strstr.
67683         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67684         (ret): Remove variable.
67685         (x): Likewise.
67686         (FAIL): Remove macro.
67687         (NO_INLINE): Likewise.
67688         (handle_signal): Use match function instead of strstr.
67690 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67692         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67694 2013-01-23  David S. Miller  <davem@davemloft.net>
67696         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67697         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67698         argument of CAS if possible.
67699         * sysdeps/sparc/sparc64/bits/atomic.h
67700         (__arch_compare_and_exchange_val_32_acq): Likewise.
67701         (__arch_compare_and_exchange_val_64_acq): Likewise.
67703 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67705         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67706         * sysdeps/posix/ulimit.c: ... this.
67707         Include <limits.h>.
67708         * sysdeps/unix/bsd/ulimit.c: Remove file.
67710 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67712         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67713         (LDFLAGS-tst-array5): Likewise.
67715 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67717         [BZ #15036]
67718         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67719         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67720         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67721         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67723 2013-01-21  David S. Miller  <davem@davemloft.net>
67725         * sysdeps/sparc/backtrace.c: New file.
67726         * sysdeps/sparc/sparc32/backtrace.h: New file.
67727         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67728         * sysdeps/sparc/sparc64/backtrace.h: New file.
67729         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67730         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67731         -funwind-tables.
67733 2013-01-21  Andreas Schwab  <schwab@suse.de>
67735         [BZ #15020]
67736         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67737         closed its stdout.
67739 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67742         "mpa2.h".
67743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67745 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67746             Mark Mitchell  <mark@codesourcery.com>
67747             Tom de Vries  <tom@codesourcery.com>
67748             Paul Pluzhnikov  <ppluzhnikov@google.com>
67750         * debug/tst-backtrace2.c: New file.
67751         * debug/tst-backtrace3.c: Likewise.
67752         * debug/tst-backtrace4.c: Likewise.
67753         * debug/tst-backtrace5.c: Likewise.
67754         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67755         (CFLAGS-tst-backtrace3.c): Likewise.
67756         (CFLAGS-tst-backtrace4.c): Likewise.
67757         (CFLAGS-tst-backtrace5.c): Likewise.
67758         (LDFLAGS-tst-backtrace2): Likewise.
67759         (LDFLAGS-tst-backtrace3): Likewise.
67760         (LDFLAGS-tst-backtrace4): Likewise.
67761         (LDFLAGS-tst-backtrace5): Likewise.
67762         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67763         tst-backtrace4 and tst-backtrace5.
67765 2013-01-18  Anton Blanchard  <anton@samba.org>
67766             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67769         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67770         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67771         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67773         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67774         "+r" and remove output regs list as redundant.  Add explicit inline
67775         asm to specify register of return val to work around compiler codegen
67776         bug.  Remove (int) cast on return value.  Add return type parameter to
67777         use in macro so that this macro does not truncate return value for
67778         64-bit values.
67779         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67780         pass to INTERNAL_VSYSCALL_NCS.
67781         (INLINE_VSYSCALL): Add 'long int' as return type to
67782         INTERNAL_VSYSCALL_NCS macro invocation.
67783         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67784         INTERNAL_VSYSCALL_NCS macro invocation.
67785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67787 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67789         [BZ #14496]
67790         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67791         Fix application of SIMD FP exception mask.
67793         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67794         mp_no from a power of two.
67795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67796         __mpexp_twomm1.  Use __pow_mp.
67798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67799         multiplication.
67801 2013-01-17  David S. Miller  <davem@davemloft.net>
67803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67805 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67807         [BZ #15023]
67808         * include/complex.h: Condition contents on [!_COMPLEX_H].
67809         (__kernel_casinhf): New prototype.
67810         (__kernel_casinh): Likewise.
67811         (__kernel_casinhl): Likewise.
67812         * math/Makefile (libm_calls): Add k_casinh.
67813         * math/k_casinh.c: New file.
67814         * math/k_casinhf.c: Likewise.
67815         * math/k_casinhl.c: Likewise.
67816         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67817         finite nonzero arguments.
67818         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67819         finite nonzero arguments.
67820         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67821         finite nonzero arguments.
67822         * math/s_casinh.c: Do not include <float.h>.
67823         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67824         * math/s_casinhf.c: Do not include <float.h>.
67825         (__casinhf): Move code for finite nonzero arguments to
67826         k_casinhf.c.
67827         * math/s_casinhl.c: Do not include <float.h>.
67828         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67829         redefine.
67830         (__casinhl): Move code for finite nonzero arguments to
67831         k_casinhl.c.
67832         * math/libm-test.inc (cacos_test): Add more tests.
67833         * sysdeps/i386/fpu/libm-test-ulps: Update.
67834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67836 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67838         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67839         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67840         [!HAVE_MREMAP]: Remove [defined linux] case.
67841         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67843 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67845         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67847 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67849         * elf/elf.h (R_386_SIZE32): New relocation.
67850         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67851         R_386_SIZE32.
67852         (elf_machine_rela): Likewise.
67853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67854         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67856 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67858         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67859         (FP_FAST_FMA): Do not define.
67860         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67861         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67862         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67863         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67864         !_SOFT_FLOAT]: Likewise.
67865         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67866         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67867         value.
67868         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67869         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67872         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67873         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67874         file.
67876 2013-01-16  Andreas Schwab  <schwab@suse.de>
67878         [BZ #14327]
67879         * include/stdlib.h (__mktemp): Add declaration.
67880         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67881         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67883 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67885         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67886         definitions.
67887         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67888         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67889         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67890         definitions here.
67891         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67892         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67893         definitions.
67894         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67895         and ONE.
67896         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67897         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67898         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67899         definitions.
67900         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67901         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67902         definitions.
67903         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67905         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67907 2013-01-15  David S. Miller  <davem@davemloft.net>
67909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67910         trunc{,f} to libm-sysdep_routes.
67911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67913         file.
67914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67916         file.
67917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67918         file.
67919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67921         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67923         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67925         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67926         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67929         nearbyint{,f} to libm-sysdep_routes.
67930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67932         New file.
67933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67934         file.
67935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67936         New file.
67937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67938         file.
67939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67941         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67942         file.
67943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67945         file.
67946         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67947         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67948         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67950         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67951         libc_feholdexcept and libc_fesetenv.
67953 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67955         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67957 2013-01-14  David S. Miller  <davem@davemloft.net>
67959         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67960         (SPARC_ASM_VIS2_IFUNC): Likewise.
67961         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67963         use of 'siam' instruction.
67964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67965         Likewise.
67966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67967         Likewise.
67968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67969         Likewise.
67970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67975         file.
67976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67977         file.
67978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67979         file.
67980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67981         file.
67982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67987         new VIS2 routines.
67988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67991         Likewise.
67992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67997         routines to libm-sysdep_routines.
67998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68001         fdim/fdimf to libm-sysdep_routines.
68002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68003         file.
68004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68006         file.
68007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68010         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68011         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68012         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68013         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68015 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68018         to optimize copies.
68020         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68025         local variable MPTWO.
68026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68027         Likewise.
68029 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68031         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68032         GLOB_NOESCAPE.
68034 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68036         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68038 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68040         * manual/pattern.texi (glob_t): Document gl_flags.
68041         (glob64_t): Likewise.
68043 2013-01-11  David S. Miller  <davem@davemloft.net>
68045         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68046         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68047         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68048         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68049         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68050         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68051         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68052         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68053         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68054         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68056         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68057         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68059         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68060         sparc V9 rather than using V8 code.
68061         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68062         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68065         Move to...
68066         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68067         Here.
68069 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68071         [BZ #14941]
68072         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68073         not in the main loop.
68074         * configure: Regenerated.
68076 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68078         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68079         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68080         to just #else.
68081         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68082         [!__GLIBC_HAVE_LONG_LONG] case.
68083         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68084         condition to just #else.
68085         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68086         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68087         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68088         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68089         unconditional.
68090         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68091         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68092         #elif condition to just #else.
68093         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68094         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68095         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68096         #elif condition to just #else.
68098 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68100         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68101         (EF_MIPS_ARCH_64): Fix value.
68102         (EF_MIPS_ARCH_32R2): New.
68103         (EF_MIPS_ARCH_64R2): New.
68105 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68107         * Makeconfig (+link-pie-before-libc): New.
68108         (+link-pie-after-libc): Likewise.
68109         (+link-pie-tests): Likewise.
68110         (+link-pie): Rewritten.
68111         (link-before-libc): Remove $(config-LDFLAGS).
68112         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68113         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68114         (config-LDFLAGS): Renamed to ...
68115         (rtld-LDFLAGS): This.
68116         (rtld-tests-LDFLAGS): New macro.
68117         (link-libc-rpath-link): Likewise.
68118         (link-libc-tests-rpath-link): Likewise.
68119         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68120         (link-libc): Prepand $(link-libc-rpath-link).
68121         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68122         (test-program-prefix): New macro.
68123         (test-via-rtld-prefix): Likewise.
68124         (test-program-cmd): Likewise.
68125         (host-test-program-cmd): Likewise.
68126         * Makefile ($(common-objpfx)testrun.sh): Replace
68127         $(run-program-prefix) with $(test-program-prefix).
68128         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68129         $(rtld-LDFLAGS).
68130         ($(common-objpfx)shlib.lds): Likewise.
68131         (build-module-helper): Likewise.
68132         ($(common-objpfx)format.lds): Likewise.
68133         * Rules (binaries-pie-tests): New.
68134         (binaries-pie-notests): Likewise.
68135         (binaries-pie): Rewritten.
68136         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68137         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68138         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68139         (make-test-out): Replace $(host-built-program-cmd) with
68140         $(host-test-program-cmd).
68141         * config.make.in (build-hardcoded-path-in-tests): New variable.
68142         * configure.in (--enable-hardcoded-path-in-tests): New configure
68143         option.
68144         (hardcoded_path_in_tests): New AC_SUBST.
68145         * configure: Regenerated.
68146         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68147         $(built-program-cmd) with $(test-program-cmd).
68148         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68149         (test_program_cmd): This.
68150         * elf/Makefile ($(objpfx)order.out): Run test with
68151         $(test-program-prefix).
68152         ($(objpfx)order2.out): Likewise.
68153         ($(objpfx)tst-initorder.out): Likewise.
68154         ($(objpfx)tst-initorder2.out): Likewise.
68155         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68156         $(test-program-cmd).
68157         ($(objpfx)tst-array1-static.out): Likewise.
68158         ($(objpfx)tst-array2.out): Likewise.
68159         ($(objpfx)tst-array3.out): Likewise.
68160         ($(objpfx)tst-array4.out): Likewise.
68161         ($(objpfx)tst-array5.out): Likewise.
68162         ($(objpfx)tst-array5-static.out): Likewise.
68163         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68164         $(test-program-cmd).
68165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68166         $(run-program-prefix) with $(test-program-prefix).
68167         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68168         (test_program_prefix): This.
68169         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68170         $(run-program-prefix) with $(test-program-prefix).
68171         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68172         (test_program_prefix): This.
68173         * iconvdata/tst-tables.sh: Likewise.
68174         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68175         $(run-program-prefix) with $(test-program-prefix).
68176         ($(objpfx)tst-translit.out): Likewise.
68177         ($(objpfx)tst-gettext2.out): Likewise.
68178         ($(objpfx)tst-gettext4.out): Likewise.
68179         ($(objpfx)tst-gettext6.out): Likewise.
68180         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68181         (test_program_prefix): This.
68182         * intl/tst-gettext2.sh: Likewise.
68183         * intl/tst-gettext4.sh  Likewise.
68184         * intl/tst-gettext6.sh: Likewise.
68185         * intl/tst-translit.sh: Likewise.
68186         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68187         with $(test-program-cmd).
68188         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68189         $(run-program-prefix) with $(test-program-prefix).
68190         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68191         (test_program_prefix): This.
68192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68193         $(run-program-prefix) with $(test-program-prefix).
68194         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68195         (test_program_prefix): This.
68196         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68197         * posix/Makefile ($(objpfx)globtest.out): Replace
68198         $(run-via-rtld-prefix) and $(test-wrapper) with
68199         $(test-program-prefix) and $(test-via-rtld-prefix).
68200         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68201         $(test-program-prefix).
68202         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68203         $(host-test-program-cmd).
68204         (tst-spawn-ARGS): Likewise.
68205         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68206         $(test-program-prefix).
68207         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68208         (test_via_rtld_prefix): This.
68209         (test_wrapper): Renamed to ...
68210         (test_program_prefix): This.
68211         (run_program_prefix): Replaced by test_program_prefix.
68212         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68213         (test_program_prefix): This.
68214         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68215         with $(host-test-program-cmd).
68216         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68217         $(run-program-prefix) with $(test-program-prefix).
68218         ($(objpfx)tst-printf.out): Likewise.
68219         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68220         $(test-program-cmd).
68221         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68222         (test_program_prefix): This.
68223         * stdio-common/tst-unbputc.sh: Likewise.
68224         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68225         $(run-program-prefix) with $(test-program-prefix).
68226         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68227         (test_program_prefix): This.
68228         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68229         $(built-program-cmd) with $(test-program-cmd).
68231 2013-01-11  Andreas Jaeger  <aj@suse.de>
68233         [BZ #15003]
68234         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68235         value. Sync with Linux 3.7.
68237 2013-01-10  David S. Miller  <davem@davemloft.net>
68239         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68243 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68245         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68246         never set.
68247         * configure: Regenerated.
68249 2013-01-10  David S. Miller  <davem@davemloft.net>
68251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68252         sparc V9 rather than using V8 code.
68253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68256 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68258         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68259         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68260         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68261         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68262         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68263         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68264         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68265         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68266         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68267         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68268         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68269         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68270         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68271         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68272         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68273         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68274         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68275         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68276         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68277         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68278         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68279         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68280         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68281         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68282         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68283         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68284         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68286 2013-01-10  David S. Miller  <davem@davemloft.net>
68288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68290 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68292         * posix/Makefile (tests-static): New variable.
68293         (tests): Add $(tests-static).
68294         (tst-exec-static-ARGS): New variable.
68295         (tst-spawn-static-ARGS): Likewise.
68296         * posix/tst-exec-static.c: New file.
68297         * posix/tst-spawn-static.c: Likewise.
68298         * posix/tst-exec.c: Support run directly.
68299         * posix/tst-spawn.c: Likewise.
68301 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68303         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68304         long.
68305         * math/bits/mathcalls.h (llrint): Likewise.
68306         (llround): Likewise.
68307         * stdlib/stdlib.h (struct drand48_data): Likewise.
68308         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68309         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68310         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68311         Likewise.
68312         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68313         Likewise.
68314         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68315         (elf_greg_t): Likewise.
68316         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68317         (__jmp_buf): Likewise.
68318         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68319         definitions.
68320         (llrint): Likewise, for all definitions.
68321         (llrintl): Likewise.
68323         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68324         Remove [__GNUC__] condition.
68325         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68326         condition to just [__USE_ISOC99].
68327         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68329 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68331         [BZ #14200]
68332         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68333         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68334         defined.
68335         (_POSIX_V6_ILP32_OFF32): Likewise.
68336         (_XBS5_ILP32_OFF32): Likewise.
68337         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68338         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68340 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68342         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68345         doubles __mpexp_twomm1.  Adjust usage.
68346         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68347         Remove.
68349 2013-01-10  Andreas Schwab  <schwab@suse.de>
68351         [BZ #14964]
68352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68353         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68355 2013-01-09  David S. Miller  <davem@davemloft.net>
68357         [BZ #15003]
68358         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68359         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68360         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68361         (TCP_FASTOPEN): Define.
68362         (tcp_repair_opt): New structure.
68363         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68364         enum values.
68365         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68366         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68367         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68368         (tcp_cookie_transactions): New structure.
68370 2013-01-09  Anton Blanchard  <anton@samba.org>
68372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68373         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68375         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68377 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68379         * include/features.h (__USE_ANSI): Remove.
68381 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68383         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68385         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68387 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68389         * sysdeps/s390/fpu/libm-test-ulps: Update.
68391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68393         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68394         (__acr): Likewise.
68395         (__cpy): Likewise.
68396         (norm): Likewise.
68397         (denorm): Likewise.
68398         (__mp_dbl): Likewise.
68399         (__dbl_mp): Likewise.
68400         (add_magnitudes): Likewise.
68401         (sub_magnitudes): Likewise.
68402         (__add): Likewise.
68403         (__sub): Likewise.
68404         (__mul): Likewise.
68405         (__inv): Likewise.
68406         (__dvd): Likewise.
68407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68408         (__acr): Likewise.
68409         (__cpy): Likewise.
68410         (norm): Likewise.
68411         (denorm): Likewise.
68412         (__mp_dbl): Likewise.
68413         (__dbl_mp): Likewise.
68414         (add_magnitudes): Likewise.
68415         (sub_magnitudes): Likewise.
68416         (__add): Likewise.
68417         (__sub): Likewise.
68418         (__mul): Likewise.
68419         (__inv): Likewise.
68420         (__dvd): Likewise.
68421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68422         (__acr): Likewise.
68423         (__cpy): Likewise.
68424         (norm): Likewise.
68425         (denorm): Likewise.
68426         (__mp_dbl): Likewise.
68427         (__dbl_mp): Likewise.
68428         (add_magnitudes): Likewise.
68429         (sub_magnitudes): Likewise.
68430         (__add): Likewise.
68431         (__sub): Likewise.
68432         (__mul): Likewise.
68433         (__inv): Likewise.
68434         (__dvd): Likewise.
68436 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68438         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68439         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68440         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68441         2 && __USE_EXTERN_INLINES]: Likewise.
68443 2013-01-08  Andreas Jaeger  <aj@suse.de>
68445         [BZ #14985]
68446         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68447         Remove.
68448         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68449         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68451 2013-01-07  Anton Blanchard  <anton@samba.org>
68453         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68454         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68455         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68456         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68458         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68459         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68460         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68471         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68476         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68477         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68479         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68483         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68485         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68486         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68491         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68497 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
68499         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68500         (__MALLOC_PMT): Likewise.
68501         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68502         [__GNUC__], only on [_LIBC].
68503         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68504         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68505         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68506         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68507         forward declaration.
68508         (realloc_hook_ini): Likewise.
68509         (memalign_hook_ini): Likewise.
68510         (__libc_memalign): Do not use __MALLOC_PMT in variable
68511         declaration.
68512         (__libc_valloc): Likewise.
68513         (__libc_pvalloc): Likewise.
68514         (__libc_calloc): Likewise.
68515         (__posix_memalign): Likewise.
68517         [BZ #14996]
68518         * math/s_casinh.c: Include <float.h>.
68519         (__casinh): Do not do computation with squaring and square root
68520         for large arguments.
68521         * math/s_casinhf.c: Include <float.h>.
68522         (__casinhf): Do not do computation with squaring and square root
68523         for large arguments.
68524         * math/s_casinhl.c: Include <float.h>.
68525         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68526         (__casinhl): Do not do computation with squaring and square root
68527         for large arguments.
68528         * math/libm-test.inc (casin_test): Add more tests.
68529         (casinh_test): Likewise.
68530         * sysdeps/i386/fpu/libm-test-ulps: Update.
68531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68533 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68535         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68536         (__x86_64_raw_data_cache_size): Likewise.
68537         (__x86_64_data_cache_size_half): Likewise.
68538         (__x86_64_raw_data_cache_size_half): Likewise.
68539         (__x86_64_shared_cache_size): Likewise.
68540         (__x86_64_raw_shared_cache_size): Likewise.
68541         (__x86_64_shared_cache_size_half): Likewise.
68542         (__x86_64_raw_shared_cache_size_half): Likewise.
68543         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68544         to ...
68545         (__x86_data_cache_size): This.
68546         (__x86_64_raw_data_cache_size): Renamed to ...
68547         (__x86_raw_data_cache_size): This.
68548         (__x86_64_data_cache_size_half): Renamed to ...
68549         (__x86_data_cache_size_half): This.
68550         (__x86_64_raw_data_cache_size_half): Renamed to ...
68551         (__x86_raw_data_cache_size_half): This.
68552         (__x86_64_shared_cache_size): Renamed to ...
68553         (__x86_shared_cache_size): This.
68554         (__x86_64_raw_shared_cache_size): Renamed to ...
68555         (__x86_raw_shared_cache_size): This.
68556         (__x86_64_shared_cache_size_half): Renamed to ...
68557         (__x86_shared_cache_size_half): This.
68558         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68559         (__x86_raw_shared_cache_size_half): This.
68560         * sysdeps/x86_64/memcpy.S: Updated.
68561         * sysdeps/x86_64/memset.S: Likewise.
68562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68566 2013-01-04  David S. Miller  <davem@davemloft.net>
68568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68570 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68573         1 to avoid redefinition warning.
68574         (__USE_GNU): Don't define.
68575         (init_signaling_nan): Protoize.
68577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68579 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68581         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68583         (__cpymn): Likewise.
68584         (norm): Remove commented code.
68585         (denorm): Likewise.
68586         (__mp_dbl): Likewise.
68587         (__inv): Likewise.
68588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68589         (__cpymn): Likewise.
68590         (norm): Remove commented code.
68591         (denorm): Likewise.
68592         (__mp_dbl): Likewise.
68593         (__inv): Likewise.
68595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68596         mp_no value for 1.0 and 2.0.
68597         (norm): Use RADIXI instead of radixi.d.
68598         (denorm): Likewise.
68599         (__mul): Use 0.0 instead of zero.d.
68600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68601         mp_no value for 1.0 and 2.0.
68602         (norm): Use RADIXI instead of radixi.d.
68603         (denorm): Likewise.
68604         (__mul): Use 0.0 instead of zero.d.
68606 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68608         [BZ #14994]
68609         * math/s_casinh.c (__casinh): Reduce finite argument to first
68610         quadrant then set signs of results at the end.
68611         * math/s_casinhf.c (__casinhf): Likewise.
68612         * math/s_casinhl.c (__casinhl): Likewise.
68613         * math/libm-test.inc (casin_test): Add more tests.
68614         (casinh_test): Likewise.
68615         * sysdeps/i386/fpu/libm-test-ulps: Update.
68616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68618 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68620         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68622         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68624         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68625         declarations.
68626         (denorm): Likewise.
68627         (__mp_dbl): Likewise.
68628         (__inv): Likewise.
68630         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68631         and adjust the header comment.
68633         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68634         variable name from declaration.
68636 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68639         Initialize COMMON_CPUID_INDEX_7 element.
68640         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68641         (CPUID_RTM): Likewise.
68642         (HAS_RTM): Likewise.
68643         (COMMON_CPUID_INDEX_7): New enum.
68645 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68647         [BZ #14981]
68648         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68649         size is zero, record memory as freed.
68651 2013-01-03  Andreas Jaeger  <aj@suse.de>
68653         * po/ia.po: Add new Interlingua translation.
68655 2012-01-03  Allan McRae  <allan@archlinux.org>
68657         * locale/programs/localedef.c: Fix description of '--posix' flag.
68659 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68661         * NEWS: Update dates in second copyright notice.
68662         * README: Update copyright dates in example.
68663         * manual/libc.texinfo: Update copyright dates.
68664         * scripts/test-installation.pl: Update copyright date in --version
68665         output.
68667         * hurd/ctty-input.c: Fix copyright notice formatting.
68668         * hurd/ctty-output.c: Likewise.
68669         * hurd/dtable.c: Likewise.
68670         * hurd/hurd-raise.c: Likewise.
68671         * hurd/hurdprio.c: Likewise.
68672         * hurd/msgportdemux.c: Likewise.
68673         * misc/sys/file.h: Likewise.
68674         * misc/sys/ioctl.h: Likewise.
68675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68676         * sysdeps/mach/hurd/chdir.c: Likewise.
68677         * sysdeps/mach/hurd/fchdir.c: Likewise.
68678         * sysdeps/mach/hurd/rename.c: Likewise.
68679         * sysdeps/mach/hurd/rmdir.c: Likewise.
68680         * sysdeps/mach/hurd/seekdir.c: Likewise.
68681         * sysdeps/mach/hurd/setsid.c: Likewise.
68682         * sysdeps/posix/wait3.c: Likewise.
68684         * All files with FSF copyright notices: Update copyright dates
68685         using scripts/update-copyrights.
68686         * intl/plural.c: Regenerated.
68687         * locale/programs/charmap-kw.h: Likewise.
68688         * locale/programs/locfile-kw.h: Likewise.
68690 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68693         four values.
68695         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68696         calculation loop and add branch prediction.
68698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68699         check access beyond bounds of m1np.
68701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68702         MPTWO.
68703         (__inv): Remove local variable MPTWO to use the global
68704         constant.
68705         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68707         variable MPTWO.
68708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68709         MP3HALFS static const.
68711 2013-01-01  David S. Miller  <davem@davemloft.net>
68713         * po/ca.po: Update from translation team.
68715 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68717         * scripts/update-copyrights: New file.
68718         * Makeconfig: Reformat copyright notice.
68719         * ctype/ctype.h: Likewise.
68720         * debug/swprintf_chk.c: Likewise.
68721         * elf/dl-cache.c: Likewise.
68722         * elf/dl-debug.c: Likewise.
68723         * elf/dl-object.c: Likewise.
68724         * grp/initgroups.c: Likewise.
68725         * hurd/Makefile: Likewise.
68726         * hurd/hurd/signal.h: Likewise.
68727         * hurd/hurdfault.c: Likewise.
68728         * hurd/hurdioctl.c: Likewise.
68729         * hurd/hurdlookup.c: Likewise.
68730         * hurd/intr-msg.c: Likewise.
68731         * iconv/gconv_open.c: Likewise.
68732         * libio/swprintf.c: Likewise.
68733         * locale/lc-ctype.c: Likewise.
68734         * locale/nl_langinfo.c: Likewise.
68735         * mach/Machrules: Likewise.
68736         * mach/Makefile: Likewise.
68737         * malloc/obstack.h: Likewise.
68738         * manual/Makefile: Likewise.
68739         * manual/tsort.awk: Likewise.
68740         * misc/bits/stab.def: Likewise.
68741         * nis/nis_print_group_entry.c: Likewise.
68742         * nis/nis_table.c: Likewise.
68743         * nis/nss_compat/compat-pwd.c: Likewise.
68744         * nis/nss_compat/compat-spwd.c: Likewise.
68745         * po/Makefile: Likewise.
68746         * posix/fnmatch.c: Likewise.
68747         * posix/regex.h: Likewise.
68748         * resolv/Makefile: Likewise.
68749         * resolv/nss_dns/dns-network.c: Likewise.
68750         * resolv/res_hconf.c: Likewise.
68751         * scripts/gen-sorted.awk: Likewise.
68752         * soft-fp/soft-fp.h: Likewise.
68753         * stdio-common/printf.h: Likewise.
68754         * stdlib/monetary.h: Likewise.
68755         * stdlib/random.c: Likewise.
68756         * stdlib/random_r.c: Likewise.
68757         * sysdeps/generic/Makefile: Likewise.
68758         * sysdeps/gnu/Makefile: Likewise.
68759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68769         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68770         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68773         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68787         * sysdeps/mach/hurd/errnos.awk: Likewise.
68788         * sysdeps/mach/hurd/fork.c: Likewise.
68789         * sysdeps/mach/hurd/getcwd.c: Likewise.
68790         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68791         * sysdeps/mach/hurd/mmap.c: Likewise.
68792         * sysdeps/mach/hurd/utimes.c: Likewise.
68793         * sysdeps/mach/hurd/xmknod.c: Likewise.
68794         * sysdeps/posix/profil.c: Likewise.
68795         * sysdeps/posix/readdir_r.c: Likewise.
68796         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68797         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68799         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68801         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68803         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68805         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68807         * sysdeps/pthread/lio_listio.c: Likewise.
68808         * sysdeps/sparc/dl-procinfo.h: Likewise.
68809         * sysdeps/unix/i386/sysdep.S: Likewise.
68810         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68811         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68812         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68813         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68815         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68816         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68817         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68819         * sysdeps/wordsize-32/divdi3.c: Likewise.
68820         * time/sys/time.h: Likewise.
68821         * wcsmbs/Makefile: Likewise.
68823 2013-01-01  David S. Miller  <davem@davemloft.net>
68825         * po/fr.po: Update from translation team.
68827         * catgets/gencat.c: Update copyright year.
68828         * csu/version.c: Likewise.
68829         * debug/catchsegv.sh: Likewise.
68830         * debug/pcprofiledump.c: Likewise.
68831         * debug/xtrace.sh: Likewise.
68832         * elf/ldconfig.c: Likewise.
68833         * elf/ldd.bash.in: Likewise.
68834         * elf/pldd.c: Likewise.
68835         * elf/sotruss.ksh: Likewise.
68836         * elf/sprof.c: Likewise.
68837         * iconv/iconv_prog.c: Likewise.
68838         * iconv/iconvconfig.c: Likewise.
68839         * locale/programs/locale.c: Likewise.
68840         * locale/programs/localedef.c: Likewise.
68841         * login/programs/pt_chown.c: Likewise.
68842         * malloc/memusage.sh: Likewise.
68843         * malloc/memusagestat.c: Likewise.
68844         * malloc/mtrace.pl: Likewise.
68845         * nscd/nscd.c: Likewise.
68846         * nss/getent.c: Likewise.
68847         * nss/makedb.c: Likewise.
68848         * posix/getconf.c: Likewise.
68850 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68852         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68853         numbers.
68855 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68857         * math/bits/mathcalls.h (modf): Use __nonnull.
68859 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68861         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68862         (split): Use macro CN instead of the bare value.
68863         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68864         could be used.
68865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68866         instead of the bare value.
68867         (power1): Likewise.
68869 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68872         __ATAN_TWOM.
68873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68875         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68876         their values.
68877         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68879         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68880         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68882 2012-12-28  Andreas Jaeger  <aj@suse.de>
68884         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68885         values are from Linux 3.7.
68887         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68888         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68890 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68892         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68893         TRUE case.
68895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68896         (norm): Likewise.
68897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68898         variables with preprocessor constants.
68899         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68901         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68903 2012-12-27  Bruno Haible  <bruno@clisp.org>
68905         [BZ #14317]
68906         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68907         only if needed.
68909 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68912         and use variable directly.
68913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68915         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68916         MPONE.
68917         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68919         variable MPONE.
68920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68923         include directive.  Remove local variable MPONE.
68924         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68928 2012-12-25  David S. Miller  <davem@davemloft.net>
68930         * version.h (RELEASE): Set to "development".
68931         (VERSION): Set to "2.17.90".
68932         * NEWS: Add 2.18 section.
68934 2012-12-21  David S. Miller  <davem@davemloft.net>
68936         * po/hr.po: Update from translation team.
68938 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68940         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68942 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68944         * NEWS:  Mention new memcpy for MIPS.
68946 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68948         * manual/contrib.texi (Contributors): Spelling correction.
68950 2012-12-15  David S. Miller  <davem@davemloft.net>
68952         * po/ru.po: Update from translation team.
68954 2012-12-13  David S. Miller  <davem@davemloft.net>
68956         * NEWS: Mention IFUNC testsuite enhancements.
68958         * po/pl.po: Update from translation team.
68959         * po/bg.po: Likewise.
68961         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68962         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68964 2012-12-11  David S. Miller  <davem@davemloft.net>
68966         * po/sv.po: Update from translation team.
68968         * po/vi.po: Update from translation team.
68970         * po/cs.po: Update from translation team.
68972         * po/de.po: Update from translation team.
68973         * po/eo.po: Likewise.
68974         * po/nl.po: Likewise.
68976 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68978         [BZ #14246]
68979         * manual/argp.texi (Argp Helper Functions): Move node to follow
68980         Argp Parsing State.
68982         [BZ #14872]
68983         * manual/conf.texi (Limits on File System Capacity): Mention if
68984         terminating null is included in the max size.
68986 2012-12-10  Andreas Jaeger  <aj@suse.de>
68988         * po/cs.po: Update from translation team.
68990 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68992         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68993         void pointer and cast to uintptr_t.
68994         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68995         path.
68996         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68997         * sysdeps/s390/s390-64/memset.S: Likewise.
68999 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69001         [BZ #14833]
69002         * menual/message.texi (Message Translation): Fix typos.
69003         (Helper programs for gettext): Likewise.
69005 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69007         [BZ #14898]
69008         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69009         Change to -1.
69011 2012-12-07  David S. Miller  <davem@davemloft.net>
69013         * po/libc.pot: Update.
69015 2012-12-07  Richard Henderson  <rth@redhat.com>
69017         [BZ #10114]
69018         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69019         normal/normal case to before the switch.
69020         (_FP_DIV): Likewise.
69022 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69023             Mike Frysinger  <vapier@gentoo.org>
69025         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69026         check for __NR_fadvise64_64.
69028 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69030         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69031         0, not just to plain "0" as a statement.
69032         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69033         with cw.
69035 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69037         * NEWS: Use sourceware.org in Bugzilla URL.
69039 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69042         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69044         * stdio-common/tst-put-error.c (do_test): Add newline to the
69045         padded test to ensure flush.
69047 2012-12-05  Jeff Law  <law@redhat.com>
69049         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69051 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69053         * README: Don't refer to ports add-on as distributed separately.
69054         Mention AArch64 in list of systems supported in the ports add-on.
69056         * LICENSES: Add more non-FSF copyright and license notices.
69058         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69059         ((unused)).
69061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69063         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69064         10000 as width of padded output.
69066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69068         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69071         variable LX with __attribute__ ((unused)).
69072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69073         Likewise.
69074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69077         with __attribute__ ((unused)).
69079 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69081         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69083 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69085         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69086         (CFLAGS-nldbl-acos.c): New variable.
69087         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69088         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69089         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69090         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69091         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69092         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69093         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69094         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69095         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69096         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69097         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69098         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69099         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69100         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69101         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69102         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69103         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69104         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69105         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69106         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69107         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69108         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69109         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69110         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69111         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69112         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69113         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69114         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69115         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69116         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69117         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69118         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69119         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69120         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69121         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69122         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69123         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69124         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69125         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69126         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69127         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69128         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69129         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69130         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69131         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69132         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69133         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69134         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69135         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69136         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69137         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69138         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69139         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69140         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69141         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69142         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69143         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69144         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69145         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69146         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69147         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69148         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69149         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69150         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69151         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69152         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69153         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69154         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69155         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69156         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69157         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69158         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69159         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69160         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69161         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69162         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69163         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69164         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69165         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69166         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69167         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69168         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69169         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69170         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69171         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69172         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69173         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69174         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69175         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69176         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69177         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69178         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69179         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69180         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69181         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69182         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69183         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69186         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69188         [BZ #14914]
69189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69190         whole low double instead of just low 47 bits when splitting values
69191         into two parts.
69193 2012-12-03  Allan McRae  <allan@archlinux.org>
69195         * manual/stdio.texi (Predefined Printf Handlers): Remove
69196         @hsep and @vsep usage.
69198 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69200         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69201         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69203 2012-12-03  Jeff Law  <law@redhat.com>
69205         * time/sys/time.h (settimeofday): Do not mark TV argument
69206         as __nonnull.
69208 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69210         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69211         when currently writing and seek to current position when not.
69212         * libio/Makefile (tests): Remove bug-fclose1.
69213         * libio/bug-fclose1.c: Delete.
69215 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69217         * manual/arith.texi (feenableexcept): Fix typo.
69218         (fedisableexcept): Likewise.
69220 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69222         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69223         second, differently-typed declaration, rather than a cast.
69225 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69227         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69228         * include/rpc/svc.h: ... here.
69230 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69232         [BZ #13013]
69233         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69234         depending n and resplen2 to catch cases where answer
69235         equals answerp2.
69237 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69239         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69240         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69242 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69246 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69248         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69250 2012-11-28  Jeff Law  <law@redhat.com>
69252         [BZ #13761]
69253         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69254         dataset_temporary.  Track alloca usage into alloca_used.
69255         If dataset is large allocate and release it via malloc/free.
69257 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69259         [BZ #14197]
69260         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69262 2012-11-28  David S. Miller  <davem@davemloft.net>
69264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69266 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69268         [BZ #14803]
69269         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69270         of pi/2 rounded to nearest to 64 bits.
69271         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69272         nearest to 64 bits.
69273         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69274         bits.
69276 2012-11-28  Jeff Law <law@redhat.com>
69277             Martin Osvald <mosvald@redhat.com>
69279         [BZ #14889]
69280         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69281         * sunrpc/svc.c: Include time.h.
69282         (__svc_accept_failed): New function.
69283         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69284         any reason other than EINTR, call __svc_accept_failed.
69285         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69286         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69288 2012-11-28  Andreas Schwab  <schwab@suse.de>
69290         * scripts/abilist.awk: Also handle indirect functions in .opd
69291         section.
69293 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69295         [BZ #13881]
69296         * sysdeps/x86/fpu/powl_helper.c: New file.
69297         * sysdeps/x86/fpu/Makefile: Likewise.
69298         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69299         (p3): New object.
69300         (__ieee754_powl): Use __powl_helper for finite arguments except
69301         integer exponents below 8.
69302         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69303         (p3): New object.
69304         (__ieee754_powl): Use __powl_helper for finite arguments except
69305         integer exponents below 8.
69306         * math/libm-test.inc (pow_test): Add more tests and enable some
69307         previously disabled tests.
69308         * sysdeps/i386/fpu/libm-test-ulps: Update.
69309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69311 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69312             Carlos O'Donell  <carlos_odonell@mentor.com>
69314         * nss/makedb.c (is_prime): Assert that input is odd and greater
69315         than 4.  Note that fact in a comment too.
69316         (next_prime): Add 4 to input.
69318 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69320         [BZ #11741]
69321         * libio/Makefile (tests): Add test case tst-fwrite-error.
69322         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69323         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69324         * libio/tst-fwrite-error.c: New test case.
69326 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69328         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69329         before casting to void *.
69330         * include/libc-internal.h (__pointer_type): New macro.
69331         (__integer_if_pointer_type_sub): Likewise.
69332         (__integer_if_pointer_type): Likewise.
69333         (cast_to_integer): Likewise.
69334         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69335         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69336         before casting to atomic64_t.
69337         (atomic_exchange_acq): Likewise.
69338         (__arch_exchange_and_add_body): Likewise.
69339         (__arch_add_body): Likewise.
69340         (atomic_add_negative): Likewise.
69341         (atomic_add_zero): Likewise.
69343 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69345         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69346         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69347         (add_fdes): Likewise.
69348         (linear_search_fdes): Likewise.
69349         (binary_search_unencoded_fdes): Likewise.
69351 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69353         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69355 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69357         * configure.in: Autodetect C++ header directories.
69358         * configure: Regenerated.
69360 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69362         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69364 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69368 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69370         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69371         LDBL_MANT_DIG == 106]: Disable some tests.
69372         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69373         Likewise.
69374         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69375         Likewise.
69377         [BZ #14871]
69378         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69379         input for small inputs.  Return +/- pi/2 for large inputs.
69380         * math/libm-test.inc (atan_test): Add more tests.
69382         * sysdeps/generic/unwind-dw2-fde-glibc.c
69383         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69384         __attribute__ ((unused)).
69386         [BZ #14645]
69387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69388         x * y if x and y are nonzero and z is zero.
69390         [BZ #14811]
69391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69392         nonzero exponents with absolute value below 0x1p-117 to +/-
69393         0x1p-117.
69395         [BZ #14869]
69396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69397         up arguments below 2**-450, not just those below 2**-500.
69398         * math/libm-test.inc (hypot_test): Add another test.
69400         [BZ #14868]
69401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69402         Return a+b for ratio over 2**120, not 2**60.
69403         * math/libm-test.inc (hypot_test): Add another test.
69405         * math/libm-test.inc (clog_test): Use
69406         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69407         (clog10_test): Likewise.
69409         [BZ #6778]
69410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69412 2012-11-22  Andreas Schwab  <schwab@suse.de>
69414         * sysdeps/i386/fpu/libm-test-ulps: Update.
69416 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69418         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69419         printf output with newline.
69421 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69423         [BZ #14865]
69424         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69425         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69426         -z nodlopen, -z initfirst and -z execstack support.
69427         * configure: Regenerated.
69429         * elf/elf.h (DF_1_NODIRECT): New macro.
69430         (DF_1_IGNMULDEF): Likewise.
69431         (DF_1_NOKSYMS): Likewise.
69432         (DF_1_NOHDR): Likewise.
69433         (DF_1_EDITED): Likewise.
69434         (DF_1_NORELOC): Likewise.
69435         (DF_1_SYMINTPOSE): Likewise.
69436         (DF_1_GLOBAUDIT): Likewise.
69437         (DF_1_SINGLETON): Likewise.
69438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69439         DT_1_SUPPORTED_MASK bits.
69440         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69442 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69444         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69446 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69448         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69449         macro.
69451         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69452         (sendmmsg): Move declarations...
69453         * socket/sys/socket.h: ... here.
69454         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69455         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69456         include it from...
69457         * socket/recvmmsg.c: ... this new file.
69458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69459         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69460         definition of __sendmmsg hidden.
69461         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69462         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69463         Move ENOSYS stub into and include it from...
69464         * socket/sendmmsg.c: ... this new file.
69465         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69466         (sysdep_routines): Move recvmmsg and sendmmsg...
69467         * socket/Makefile (routines): ... here.
69468         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69469         (GLIBC_PRIVATE): Add __sendmmsg.
69470         * include/sys/socket.h (__sendmmsg): Add declarations.
69471         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69472         sendmmsg.
69474 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
69476         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69477         variable I1 with __attribute__ ((unused)).
69478         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69480 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69482         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69483         DUMMY variables with __attribute__ ((unused)).
69485         * bits/byteswap.h: Include <bits/types.h>.
69486         (__bswap_64): Use __uint64_t instead of unsigned long long int.
69488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69490         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69491         string_t.  Do not manually set errno.
69492         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69493         length with __strnlen.  Make sure to both set errno and return it on
69494         failure.
69496 2012-11-19  David S. Miller  <davem@davemloft.net>
69498         With help from Joseph Myers.
69499         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69500         very large arguments properly.
69501         * math/libm-test.inc (atan_test): New tests.
69502         (atan2_test): New tests.
69503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69506 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69508         [BZ #14856]
69509         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69510         Define to 3.
69512         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69513         [POSIX] (EADDRNOTAVAIL): Likewise.
69514         [POSIX] (EAFNOSUPPORT): Likewise.
69515         [POSIX] (EALREADY): Likewise.
69516         [POSIX] (ECONNABORTED): Likewise.
69517         [POSIX] (ECONNREFUSED): Likewise.
69518         [POSIX] (ECONNRESET): Likewise.
69519         [POSIX] (EDESTADDRREQ): Likewise.
69520         [POSIX] (EDQUOT): Likewise.
69521         [POSIX] (EHOSTUNREACH): Likewise.
69522         [POSIX] (EIDRM): Likewise.
69523         [POSIX] (EISCONN): Likewise.
69524         [POSIX] (ELOOP): Likewise.
69525         [POSIX] (EMULTIHOP): Likewise.
69526         [POSIX] (ENETDOWN): Likewise.
69527         [POSIX] (ENETUNREACH): Likewise.
69528         [POSIX] (ENOBUFS): Likewise.
69529         [POSIX] (ENODATA): Likewise.
69530         [POSIX] (ENOLINK): Likewise.
69531         [POSIX] (ENOMSG): Likewise.
69532         [POSIX] (ENOPROTOOPT): Likewise.
69533         [POSIX] (ENOSR): Likewise.
69534         [POSIX] (ENOSTR): Likewise.
69535         [POSIX] (ENOTCONN): Likewise.
69536         [POSIX] (ENOTSOCK): Likewise.
69537         [POSIX] (EOPNOTSUPP): Likewise.
69538         [POSIX] (EOVERFLOW): Likewise.
69539         [POSIX] (EPROTO): Likewise.
69540         [POSIX] (EPROTONOSUPPORT): Likewise.
69541         [POSIX] (EPROTOTYPE): Likewise.
69542         [POSIX] (ESTALE): Likewise.
69543         [POSIX] (ETIME): Likewise.
69544         [POSIX] (ETXTBSY): Likewise.
69545         [POSIX] (EWOULDBLOCK): Likewise.
69546         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69547         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69548         [POSIX] (SEEK_CUR): Likewise.
69549         [POSIX] (SEEK_END): Likewise.
69550         [POSIX || UNIX98] (mode_t): Do not require.
69551         [POSIX] (off_t): Likewise.
69552         [POSIX] (pid_t): Likewise.
69553         [POSIX] (sys/stat.h): Do not allow header.
69554         [POSIX] (unistd.h): Likewise.
69555         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69556         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69557         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69558         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69559         require.
69560         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69561         sigevent): Specify elements.
69562         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69563         entry.
69564         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69565         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69567         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69568         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69569         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69570         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69571         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69572         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69573         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69574         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69575         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69576         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69577         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69578         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69579         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69581         Likewise.
69582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69583         Likewise.
69584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69585         Likewise.
69586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69587         Likewise.
69588         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69592         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69593         Specify lower bound on value.
69594         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69595         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69596         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69597         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69598         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69599         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69600         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69601         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69602         value.
69603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69604         as optional.
69605         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69606         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69607         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69608         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69609         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69610         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69615         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69616         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69617         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69618         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69619         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69620         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69621         entry.
69622         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69623         optional.
69624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69626         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69627         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69628         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69630         Likewise.
69631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69633         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69634         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69635         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69636         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69638         as optional.
69639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69642         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69643         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69644         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69645         specify as optional.
69646         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69647         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69648         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69650         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69651         [XPG3] (NL_LANGMAX): Likewise.
69652         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69653         [POSIX || XPG3] (NL_NMAX): Likewise.
69654         [POSIX || XPG3] (NL_SETMAX): Likewise.
69655         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69656         [XPG3] (NZERO): Likewise.
69657         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69658         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69659         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69660         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69661         (REG_ERANGE): Expect.
69662         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69663         optional-constant.
69664         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69665         Use (void) in prototype.
69666         [POSIX] (*_t): Allow.
69667         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69668         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69669         (WRDE_BADVAL): Expect.
69671         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69672         expect.
69673         [XPG3 || XPG4] (O_RSYNC): Likewise.
69674         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69675         Likewise.
69676         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69677         [XPG3 || XPG4] (sigqueue): Likewise.
69678         [XPG3 || XPG4] (sigtimedwait): Likewise.
69679         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69680         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69681         [XPG3 || XPG4] (vsnprintf): Likewise.
69682         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69683         Likewise.
69684         [XPG3 || XPG4] (blksize_t): Likewise.
69685         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69686         Likewise.
69687         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69688         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69689         [XPG3 || XPG4] (struct itimerspec): Likewise.
69690         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69691         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69692         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69693         [XPG3 || XPG4] (clockid_t): Likewise.
69694         [XPG3 || XPG4] (timer_t): Likewise.
69695         [XPG3 || XPG4] (clock_getres): Likewise.
69696         [XPG3 || XPG4] (clock_gettime): Likewise.
69697         [XPG3 || XPG4] (clock_settime): Likewise.
69698         [XPG3 || XPG4] (nanosleep): Likewise.
69699         [XPG3 || XPG4] (timer_create): Likewise.
69700         [XPG3 || XPG4] (timer_delete): Likewise.
69701         [XPG3 || XPG4] (timer_gettime): Likewise.
69702         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69703         [XPG3 || XPG4] (timer_settime): Likewise.
69704         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69705         [XPG3 || XPG4] (getlogin_r): Likewise.
69706         [XPG3 || XPG4] (pread): Likewise.
69707         [XPG3 || XPG4] (pthread_atfork): Likewise.
69708         [XPG3 || XPG4] (pwrite): Likewise.
69710         [BZ #14835]
69711         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69712         <bits/siginfo.h>.
69714 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69716         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69717         finalizing MALLSTREAM.
69719         * sysdeps/mach/hurd/syncfs.c: New file.
69721 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69723         [BZ #14719]
69724         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69725         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69727         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69728         (_nss_dns_gethostbyname4_r): Likewise.
69729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69730         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69732 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69734         [BZ #13763]
69735         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69737 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69739         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69740         * elf/cache.c (print_entry): Print ",AArch64" for
69741         FLAG_AARCH64_LIB64
69743         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69744         * elf/cache.c (print_entry): Print ",hard-float" for
69745         FLAG_ARM_LIBHF.
69747 2012-11-18  David S. Miller  <davem@davemloft.net>
69749         With help from Joseph Myers.
69750         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69751         cutoff to 2**-13.
69752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69753         cutoff to 2**-25.
69754         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69755         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69756         small.
69757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69758         * math/libm-test.inc (y0_test): New tests.
69759         (y1_test): New tests.
69760         * sysdeps/i386/fpu/libm-test-ulps: Update.
69761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69764 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69766         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69767         64-bit targets.
69768         * configure: Regenerated.
69770 2012-11-17  David S. Miller  <davem@davemloft.net>
69772         [BZ #14811]
69773         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69774         nonzero exponents with absolute value below 0x1p-128 to +/-
69775         0x1p-128.
69777 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69779         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69781         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69783         * posix/getconf-speclist.c: New file.
69784         * posix/posix-envs.def: Likewise.
69785         * posix/confstr.c (START_ENV_GROUP): New macro.
69786         (END_ENV_GROUP): Likewise.
69787         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69788         (KNOWN_PRESENT_ENV_STRING): Likewise.
69789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69790         (UNKNOWN_ENVIRONMENT): Likewise.
69791         (confstr): Include posix-envs.def instead of handling
69792         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69793         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69794         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69795         (END_ENV_GROUP): Likewise.
69796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69797         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69798         (UNKNOWN_ENVIRONMENT): Likewise.
69799         (__sysconf): Include posix-envs.def instead of handling associated
69800         cases directly here.
69801         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69802         preprocessing getconf-speclist.c rather than running getconf or
69803         generating empty file.
69805 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69807         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69809 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69811         [BZ #14672]
69812         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69814 2012-11-16  David S. Miller  <davem@davemloft.net>
69816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69817         smaller than LDBL_EPSILON/2.0L, just return xm1.
69819 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69821         * elf/tst-array1.c (init): Set constructor priority to 1000.
69822         (fini): Set destructor priority to 1000.
69823         * elf/tst-array2dep.c: Likewise.
69825 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69827         [BZ #11741]
69828         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69829         (_IO_new_file_xsputn): Also return EOF if none of the input
69830         data was written when overflow failed.
69831         * libio/iopadn.c (_IO_padn): Likewise.
69832         * libio/iowpadn.c (_IO_wpadn): Likewise.
69833         * stdio-common/tst-put-error.c: Add copyright notice.
69834         (do_test): Add case for printing padded string.
69835         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69836         _IO_padn returned error.
69837         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69838         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69839         return EOF.
69841 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69843         * libio/libioP.h: Add comment note that the references to C++
69844         bits are now obsolete.
69846 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69848         * math/libm-test.inc (check_complex): Use asprintf.
69850 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69852         * debug/pcprofiledump.c (print_version): Update copyright year.
69853         * malloc/memusagestat.c (print_version): Likewise.
69855 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69857         [BZ #14831]
69858         * elf/Makefile (tests): Add tst-audit8.
69859         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69860         ($(objpfx)tst-audit8.out): New target.
69861         (tst-audit8-ENV): New variable.
69862         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69863         audit if l_reloc_result is NULL.
69864         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69865         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69866         * elf/tst-audit8.c: New file.
69868 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69870         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69871         * misc/Makefile (CFLAGS-select.c): Define.
69872         * posix/Makefile (CFLAGS-pause.c): Define.
69874 2012-11-13  David S. Miller  <davem@davemloft.net>
69876         * crypt/Makefile: Move test targets after toplevel Rules
69877         inclusion.  Grab any necessary sysdep routines when linking.
69878         * crypt/md5.c (md5_process_block): Remove define, we will always
69879         name it __md5_process_block.
69880         (md5_finish_ctx): Update md5_process_block call.
69881         (md5_stream): Likewise.
69882         (md5_process_bytes): Likewise.
69883         (md5_process_block): Rename to __md5_process_block and move to ...
69884         * crypt/md5-block.c: ... here.
69885         * crypt/sha256.c (sha256_process_block): Move to ...
69886         * crypt/sha256-block.c: ... here.
69887         * crypt/sha512.c (sha512_process_block): Move to ...
69888         * crypt/sha512-block.c: ... here.
69889         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69890         path.
69891         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69892         * sysdeps/sparc/sparc64/multiarch/Makefile
69893         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69894         crypt subdir.
69895         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69896         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69897         multiarch changes.
69898         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69899         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69900         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69901         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69902         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69903         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69907         file.
69908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69910         file.
69911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69913 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69915         * timezone/tzselect.ksh: Update from tzcode git revision
69916         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69917         * timezone/zdump.c: Likewise.
69918         * timezone/zic.c: Likewise.
69919         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69920         in TZVERSION setting, not $(PKGVERSION).
69921         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69922         REPORT_BUGS_TO settings.
69924         [BZ #14838]
69925         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69926         macro.
69928 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69931         detection to immediately after _FP_ROUND().
69932         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69933         bits are 0.
69935 2012-11-11  David S. Miller  <davem@davemloft.net>
69937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69938         inttypes.h
69939         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69940         __close rather than their public counterparts.
69942 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69944         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69945         file.
69946         [UNIX98] (sem_timedwait): Do not expect.
69947         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69948         [XPG4 || UNIX98] (sockatmark): Do not expect.
69949         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69950         (clock_getcpuclockid): Do not expect.
69951         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69952         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69953         Do not expect.
69954         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69955         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69956         [UNIX98] (vwscanf): Likewise.
69957         [UNIX98] (vswscanf): Likewise.
69959 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69961         * timezone/version.h: Remove file.
69962         * timezone/README: Do not refer to version.h.
69963         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69964         $(objpfx)version.h.
69965         ($(objpfx)zdump.o): Likewise.
69966         ($(objpfx)version.h): New target.
69968         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69969         2012i.
69970         * timezone/README: Don't mention modification to tzselect.ksh.
69971         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69972         work on unmodified tzselect.ksh.  Substitute version numbers in
69973         tzselect.ksh.
69975         * Makefile (format-me): Remove.
69976         (INSTALL): Adjust indentation.  Use commands directly instead of
69977         using $(format-me).
69979         * aclocal.m4 (ACX_PKGVERSION): New macro.
69980         (ACX_BUGURL): Likewise.
69981         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69982         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69983         (REPORT_BUGS_TO): Likewise.
69984         * configure: Regenerated.
69985         * config.h.in (PKGVERSION): New macro.
69986         (REPORT_BUGS_TO): Likewise.
69987         * config.make.in (PKGVERSION): New variable.
69988         (PKGVERSION_TEXI): Likewise.
69989         (REPORT_BUGS_TO): Likewise.
69990         (REPORT_BUGS_TEXI): Likewise.
69991         * Makefile (format-me): Use -I$(common-objpfx)manual.
69992         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69993         ($(common-objpfx)manual/%): New target.
69994         (manual/%): Remove target.
69995         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69996         (print_version): Use PKGVERSION.
69997         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69998         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69999         and REPORT_BUGS_TO.
70000         ($(objpfx)xtrace): Likewise.
70001         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70002         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70003         (print_version): Use PKGVERSION.
70004         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70005         (do_version): Use PKGVERSION.
70006         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70007         REPORT_BUGS_TO.
70008         (common-ldd-rewrite): Likewise.
70009         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70010         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70011         (print_version): Use PKGVERSION.
70012         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70013         * elf/pldd.c (argp_program_bug_address): Remove variable.
70014         (more_help): New function.
70015         (argp): Use more_help.
70016         (print_version): Use PKGVERSION.
70017         * elf/sln.c (main): Use PKGVERSION.
70018         (usage): Use REPORT_BUGS_TO.
70019         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70020         (top level): Use PKGVERSION.
70021         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70022         (print_version): Use PKGVERSION.
70023         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70024         (print_version): Use PKGVERSION.
70025         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70026         (print_version): Use PKGVERSION.
70027         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70028         (print_version): Use PKGVERSION.
70029         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70030         (print_version): Use PKGVERSION.
70031         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70032         (print_version): Use PKGVERSION.
70033         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70034         and BUGURL.
70035         ($(objpfx)memusage): Likewise.
70036         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70037         (do_version): Use PKGVERSION.
70038         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70039         (print_version): Use PKGVERSION.
70040         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70041         ($PKGVERSION): New variable.
70042         ($REPORT_BUGS_TO): Likewise.
70043         (usage): Use $REPORT_BUGS_TO.
70044         (top level): Use $PKGVERSION.
70045         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70046         ($(objpfx)pkgvers.texi): New rule.
70047         ($(objpfx)stamp-pkgvers): Likewise.
70048         * manual/install.texi: Include pkgvers.texi.
70049         (--with-pkgversion): Document new configure option.
70050         (--with-bugurl): Likewise.
70051         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70052         than necessarily for this particular distribution.  Use
70053         REPORT_BUGS_TO for where to report bugs.
70054         * INSTALL: Regenerated.
70055         * manual/libc.texinfo: Include pkgvers.texi.
70056         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70057         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70058         (print_version): Use PKGVERSION.
70059         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70060         (print_version): Use PKGVERSION.
70061         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70062         (print_version): Use PKGVERSION.
70063         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70064         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70065         macro.
70066         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70067         (print_version): Use PKGVERSION.
70068         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70069         (print_version): Use PKGVERSION.
70070         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70071         and PKGVERSION.
70073         * timezone/checktab.awk: Update from tzcode 2012i.
70074         * timezone/ialloc.c: Likewise.
70075         * timezone/private.h: Likewise.
70076         * timezone/scheck.c: Likewise.
70077         * timezone/tzfile.h: Likewise.
70078         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70079         (TZVERSION): Hardcode tzcode version number.
70080         * timezone/zdump.c: Update from tzcode 2012i.
70081         * timezone/zic.c: Likewise.
70082         * timezone/version.h: New file.
70083         * timezone/README: Describe version.h.  Update upstream location.
70085         [BZ #14824]
70086         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70087         (mktemp): Enable declaration.
70088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70092         Likewise.
70093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70094         Likewise.
70095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70096         Likewise.
70097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70098         Likewise.
70099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70100         Likewise.
70101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70102         Likewise.
70104         [BZ #14821]
70105         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70106         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70107         for copies of such integer values.
70108         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70109         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70111 2012-11-09  Andreas Jaeger  <aj@suse.de>
70113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70114         definitions and declarations that are provided by
70115         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70117 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70119         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70120         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70121         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70122         definition.
70124 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70126         * elf/elf.h: Update comment before AArch64 relocations.
70128 2012-11-07  David S. Miller  <davem@davemloft.net>
70130         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70132         (__start_context): Declare.
70133         (__makecontext_ret): Delete.
70134         (__makecontext): Hook up __start_context instead of
70135         __makecontext_ret.
70136         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70137         (sysdep_routines): Add __start_context when in stdlib.
70139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70141         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70142         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70143         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70144         hardcoded "nm".
70145         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70146         (READELF): New variable.  Use it instead of hardcoded "readelf".
70148 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70150         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70151         * sysdeps/x86/Makefile: Here.
70152         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70153         * sysdeps/x86/tst-xmmymm.sh: This.
70155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70157         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70158         expectations.
70159         [UNIX98] (pthread_barrier_t): Do not expect.
70160         [UNIX98] (pthread_barrierattr_t): Likewise.
70161         [UNIX98] (pthread_spinlock_t): Likewise.
70162         [UNIX98] (pthread_barrier_destroy): Likewise.
70163         [UNIX98] (pthread_barrier_init): Likewise.
70164         [UNIX98] (pthread_barrier_wait): Likewise.
70165         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70166         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70167         [UNIX98] (pthread_barrierattr_init): Likewise.
70168         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70169         [UNIX98] (pthread_getcpuclockid): Likewise.
70170         [UNIX98] (pthread_mutex_timedlock): Likewise.
70171         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70172         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70173         [UNIX98] (pthread_sigmask): Likewise.
70174         [UNIX98] (pthread_spin_destroy): Likewise.
70175         [UNIX98] (pthread_spin_init): Likewise.
70176         [UNIX98] (pthread_spin_lock): Likewise.
70177         [UNIX98] (pthread_spin_trylock): Likewise.
70178         [UNIX98] (pthread_spin_unlock): Likewise.
70179         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70180         Do not expect.
70181         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70182         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70183         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70184         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70185         [XPG3 || XPG4] (pthread_key_t): Likewise.
70186         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70187         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70188         [XPG3 || XPG4] (pthread_once_t): Likewise.
70189         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70190         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70191         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70192         [XPG3 || XPG4] (pthread_t): Likewise.
70194         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70195         not expect.
70196         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70198         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70199         Change function return type to int.
70201         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70202         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70203         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70204         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70205         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70206         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70207         [!POSIX] (posix_madvise): Likewise.
70208         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70209         && !UNIX98].
70210         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70211         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70212         (mode_t): Likewise.
70213         (posix_mem_offset): Likewise.
70214         (posix_typed_mem_get_info): Likewise.
70215         (posix_typed_mem_open): Likewise.
70217         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70218         Change condition to [XOPEN2K8].
70220         * conform/conformtest.pl: Preprocess allow-header data with -x c
70221         instead of from stdin.
70222         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70223         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70224         [C99-based standards] (cerfc): Likewise.
70225         [C99-based standards] (cexp2): Likewise.
70226         [C99-based standards] (cexpm1): Likewise.
70227         [C99-based standards] (clog10): Likewise.
70228         [C99-based standards] (clog1p): Likewise.
70229         [C99-based standards] (clog2): Likewise.
70230         [C99-based standards] (clgamma): Likewise.
70231         [C99-based standards] (ctgamma): Likewise.
70232         [C99-based standards] (cerff): Likewise.
70233         [C99-based standards] (cerfcf): Likewise.
70234         [C99-based standards] (cexp2f): Likewise.
70235         [C99-based standards] (cexpm1f): Likewise.
70236         [C99-based standards] (clog10f): Likewise.
70237         [C99-based standards] (clog1pf): Likewise.
70238         [C99-based standards] (clog2f): Likewise.
70239         [C99-based standards] (clgammaf): Likewise.
70240         [C99-based standards] (ctgammaf): Likewise.
70241         [C99-based standards] (cerfl): Likewise.
70242         [C99-based standards] (cerfcl): Likewise.
70243         [C99-based standards] (cexp2l): Likewise.
70244         [C99-based standards] (cexpm1l): Likewise.
70245         [C99-based standards] (clog10l): Likewise.
70246         [C99-based standards] (clog1pl): Likewise.
70247         [C99-based standards] (clog2l): Likewise.
70248         [C99-based standards] (clgammal): Likewise.
70249         [C99-based standards] (ctgammal): Likewise.
70250         * conform/data/inttypes.h-data [C99-based standards]: Include
70251         stdint.h-data.  Remove all expectations for stdint.h contents.
70252         [C99-based standards] (PRI*): Do not allow.
70253         [C99-based standards] (SCN*): Likewise.
70254         [C99-based standards] (*_t): Likewise.
70255         [C99-based-standards] (PRId8): Expect macro.
70256         [C99-based-standards] (PRIi8): Likewise.
70257         [C99-based-standards] (PRIo8): Likewise.
70258         [C99-based-standards] (PRIu8): Likewise.
70259         [C99-based-standards] (PRIx8): Likewise.
70260         [C99-based-standards] (PRIX8): Likewise.
70261         [C99-based-standards] (SCNd8): Likewise.
70262         [C99-based-standards] (SCNi8): Likewise.
70263         [C99-based-standards] (SCNo8): Likewise.
70264         [C99-based-standards] (SCNu8): Likewise.
70265         [C99-based-standards] (SCNx8): Likewise.
70266         [C99-based-standards] (PRIdLEAST8): Likewise.
70267         [C99-based-standards] (PRIiLEAST8): Likewise.
70268         [C99-based-standards] (PRIoLEAST8): Likewise.
70269         [C99-based-standards] (PRIuLEAST8): Likewise.
70270         [C99-based-standards] (PRIxLEAST8): Likewise.
70271         [C99-based-standards] (PRIXLEAST8): Likewise.
70272         [C99-based-standards] (SCNdLEAST8): Likewise.
70273         [C99-based-standards] (SCNiLEAST8): Likewise.
70274         [C99-based-standards] (SCNoLEAST8): Likewise.
70275         [C99-based-standards] (SCNuLEAST8): Likewise.
70276         [C99-based-standards] (SCNxLEAST8): Likewise.
70277         [C99-based-standards] (PRIdFAST8): Likewise.
70278         [C99-based-standards] (PRIiFAST8): Likewise.
70279         [C99-based-standards] (PRIoFAST8): Likewise.
70280         [C99-based-standards] (PRIuFAST8): Likewise.
70281         [C99-based-standards] (PRIxFAST8): Likewise.
70282         [C99-based-standards] (PRIXFAST8): Likewise.
70283         [C99-based-standards] (SCNdFAST8): Likewise.
70284         [C99-based-standards] (SCNiFAST8): Likewise.
70285         [C99-based-standards] (SCNoFAST8): Likewise.
70286         [C99-based-standards] (SCNuFAST8): Likewise.
70287         [C99-based-standards] (SCNxFAST8): Likewise.
70288         [C99-based-standards] (PRId16): Likewise.
70289         [C99-based-standards] (PRIi16): Likewise.
70290         [C99-based-standards] (PRIo16): Likewise.
70291         [C99-based-standards] (PRIu16): Likewise.
70292         [C99-based-standards] (PRIx16): Likewise.
70293         [C99-based-standards] (PRIX16): Likewise.
70294         [C99-based-standards] (SCNd16): Likewise.
70295         [C99-based-standards] (SCNi16): Likewise.
70296         [C99-based-standards] (SCNo16): Likewise.
70297         [C99-based-standards] (SCNu16): Likewise.
70298         [C99-based-standards] (SCNx16): Likewise.
70299         [C99-based-standards] (PRIdLEAST16): Likewise.
70300         [C99-based-standards] (PRIiLEAST16): Likewise.
70301         [C99-based-standards] (PRIoLEAST16): Likewise.
70302         [C99-based-standards] (PRIuLEAST16): Likewise.
70303         [C99-based-standards] (PRIxLEAST16): Likewise.
70304         [C99-based-standards] (PRIXLEAST16): Likewise.
70305         [C99-based-standards] (SCNdLEAST16): Likewise.
70306         [C99-based-standards] (SCNiLEAST16): Likewise.
70307         [C99-based-standards] (SCNoLEAST16): Likewise.
70308         [C99-based-standards] (SCNuLEAST16): Likewise.
70309         [C99-based-standards] (SCNxLEAST16): Likewise.
70310         [C99-based-standards] (PRIdFAST16): Likewise.
70311         [C99-based-standards] (PRIiFAST16): Likewise.
70312         [C99-based-standards] (PRIoFAST16): Likewise.
70313         [C99-based-standards] (PRIuFAST16): Likewise.
70314         [C99-based-standards] (PRIxFAST16): Likewise.
70315         [C99-based-standards] (PRIXFAST16): Likewise.
70316         [C99-based-standards] (SCNdFAST16): Likewise.
70317         [C99-based-standards] (SCNiFAST16): Likewise.
70318         [C99-based-standards] (SCNoFAST16): Likewise.
70319         [C99-based-standards] (SCNuFAST16): Likewise.
70320         [C99-based-standards] (SCNxFAST16): Likewise.
70321         [C99-based-standards] (PRId32): Likewise.
70322         [C99-based-standards] (PRIi32): Likewise.
70323         [C99-based-standards] (PRIo32): Likewise.
70324         [C99-based-standards] (PRIu32): Likewise.
70325         [C99-based-standards] (PRIx32): Likewise.
70326         [C99-based-standards] (PRIX32): Likewise.
70327         [C99-based-standards] (SCNd32): Likewise.
70328         [C99-based-standards] (SCNi32): Likewise.
70329         [C99-based-standards] (SCNo32): Likewise.
70330         [C99-based-standards] (SCNu32): Likewise.
70331         [C99-based-standards] (SCNx32): Likewise.
70332         [C99-based-standards] (PRIdLEAST32): Likewise.
70333         [C99-based-standards] (PRIiLEAST32): Likewise.
70334         [C99-based-standards] (PRIoLEAST32): Likewise.
70335         [C99-based-standards] (PRIuLEAST32): Likewise.
70336         [C99-based-standards] (PRIxLEAST32): Likewise.
70337         [C99-based-standards] (PRIXLEAST32): Likewise.
70338         [C99-based-standards] (SCNdLEAST32): Likewise.
70339         [C99-based-standards] (SCNiLEAST32): Likewise.
70340         [C99-based-standards] (SCNoLEAST32): Likewise.
70341         [C99-based-standards] (SCNuLEAST32): Likewise.
70342         [C99-based-standards] (SCNxLEAST32): Likewise.
70343         [C99-based-standards] (PRIdFAST32): Likewise.
70344         [C99-based-standards] (PRIiFAST32): Likewise.
70345         [C99-based-standards] (PRIoFAST32): Likewise.
70346         [C99-based-standards] (PRIuFAST32): Likewise.
70347         [C99-based-standards] (PRIxFAST32): Likewise.
70348         [C99-based-standards] (PRIXFAST32): Likewise.
70349         [C99-based-standards] (SCNdFAST32): Likewise.
70350         [C99-based-standards] (SCNiFAST32): Likewise.
70351         [C99-based-standards] (SCNoFAST32): Likewise.
70352         [C99-based-standards] (SCNuFAST32): Likewise.
70353         [C99-based-standards] (SCNxFAST32): Likewise.
70354         [C99-based-standards] (PRId64): Likewise.
70355         [C99-based-standards] (PRIi64): Likewise.
70356         [C99-based-standards] (PRIo64): Likewise.
70357         [C99-based-standards] (PRIu64): Likewise.
70358         [C99-based-standards] (PRIx64): Likewise.
70359         [C99-based-standards] (PRIX64): Likewise.
70360         [C99-based-standards] (SCNd64): Likewise.
70361         [C99-based-standards] (SCNi64): Likewise.
70362         [C99-based-standards] (SCNo64): Likewise.
70363         [C99-based-standards] (SCNu64): Likewise.
70364         [C99-based-standards] (SCNx64): Likewise.
70365         [C99-based-standards] (PRIdLEAST64): Likewise.
70366         [C99-based-standards] (PRIiLEAST64): Likewise.
70367         [C99-based-standards] (PRIoLEAST64): Likewise.
70368         [C99-based-standards] (PRIuLEAST64): Likewise.
70369         [C99-based-standards] (PRIxLEAST64): Likewise.
70370         [C99-based-standards] (PRIXLEAST64): Likewise.
70371         [C99-based-standards] (SCNdLEAST64): Likewise.
70372         [C99-based-standards] (SCNiLEAST64): Likewise.
70373         [C99-based-standards] (SCNoLEAST64): Likewise.
70374         [C99-based-standards] (SCNuLEAST64): Likewise.
70375         [C99-based-standards] (SCNxLEAST64): Likewise.
70376         [C99-based-standards] (PRIdFAST64): Likewise.
70377         [C99-based-standards] (PRIiFAST64): Likewise.
70378         [C99-based-standards] (PRIoFAST64): Likewise.
70379         [C99-based-standards] (PRIuFAST64): Likewise.
70380         [C99-based-standards] (PRIxFAST64): Likewise.
70381         [C99-based-standards] (PRIXFAST64): Likewise.
70382         [C99-based-standards] (SCNdFAST64): Likewise.
70383         [C99-based-standards] (SCNiFAST64): Likewise.
70384         [C99-based-standards] (SCNoFAST64): Likewise.
70385         [C99-based-standards] (SCNuFAST64): Likewise.
70386         [C99-based-standards] (SCNxFAST64): Likewise.
70387         [C99-based-standards] (PRIdMAX): Likewise.
70388         [C99-based-standards] (PRIiMAX): Likewise.
70389         [C99-based-standards] (PRIoMAX): Likewise.
70390         [C99-based-standards] (PRIuMAX): Likewise.
70391         [C99-based-standards] (PRIxMAX): Likewise.
70392         [C99-based-standards] (PRIXMAX): Likewise.
70393         [C99-based-standards] (SCNdMAX): Likewise.
70394         [C99-based-standards] (SCNiMAX): Likewise.
70395         [C99-based-standards] (SCNoMAX): Likewise.
70396         [C99-based-standards] (SCNuMAX): Likewise.
70397         [C99-based-standards] (SCNxMAX): Likewise.
70398         [C99-based-standards] (PRIdPTR): Likewise.
70399         [C99-based-standards] (PRIiPTR): Likewise.
70400         [C99-based-standards] (PRIoPTR): Likewise.
70401         [C99-based-standards] (PRIuPTR): Likewise.
70402         [C99-based-standards] (PRIxPTR): Likewise.
70403         [C99-based-standards] (PRIXPTR): Likewise.
70404         [C99-based-standards] (SCNdPTR): Likewise.
70405         [C99-based-standards] (SCNiPTR): Likewise.
70406         [C99-based-standards] (SCNoPTR): Likewise.
70407         [C99-based-standards] (SCNuPTR): Likewise.
70408         [C99-based-standards] (SCNxPTR): Likewise.
70409         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70410         allow.
70411         * conform/data/stdint.h-data: Update comments to clarify
70412         requirements.
70413         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70414         type.
70415         [C99-based standards] (INT8_MAX): Likewise.
70416         [C99-based standards] (INT16_MIN): Likewise.
70417         [C99-based standards] (INT16_MAX): Likewise.
70418         [C99-based standards] (INT32_MIN): Likewise.
70419         [C99-based standards] (INT32_MAX): Likewise.
70420         [C99-based standards] (INT64_MIN): Likewise.
70421         [C99-based standards] (INT64_MAX): Likewise.
70422         [C99-based standards] (UINT8_MAX): Likewise.
70423         [C99-based standards] (UINT16_MAX): Likewise.
70424         [C99-based standards] (UINT32_MAX): Likewise.
70425         [C99-based standards] (UINT64_MAX): Likewise.
70426         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70427         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70428         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70429         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70430         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70431         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70432         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70433         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70434         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70435         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70436         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70437         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70438         [C99-based standards] (INT_FAST8_MIN): Likewise.
70439         [C99-based standards] (INT_FAST8_MAX): Likewise.
70440         [C99-based standards] (INT_FAST16_MIN): Likewise.
70441         [C99-based standards] (INT_FAST16_MAX): Likewise.
70442         [C99-based standards] (INT_FAST32_MIN): Likewise.
70443         [C99-based standards] (INT_FAST32_MAX): Likewise.
70444         [C99-based standards] (INT_FAST64_MIN): Likewise.
70445         [C99-based standards] (INT_FAST64_MAX): Likewise.
70446         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70447         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70448         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70449         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70450         [C99-based standards] (INTPTR_MIN): Likewise.
70451         [C99-based standards] (INTPTR_MAX): Likewise.
70452         [C99-based standards] (UINTPTR_MAX): Likewise.
70453         [C99-based standards] (INTMAX_MIN): Likewise.
70454         [C99-based standards] (INTMAX_MAX): Likewise.
70455         [C99-based standards] (UINTMAX_MAX): Likewise.
70456         [C99-based standards] (PTRDIFF_MIN): Likewise.
70457         [C99-based standards] (PTRDIFF_MAX): Likewise.
70458         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70459         [C99-based standards] (SIZE_MAX): Likewise.
70460         [C99-based standards] (WCHAR_MAX): Likewise.
70461         [C99-based standards] (WINT_MAX): Likewise.
70462         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70463         constraint on value.
70464         [C99-based standards] (WCHAR_MIN): Likewise.
70465         [C99-based standards] (WINT_MIN): Likewise.
70466         [C99-based standards] (*_t): Allow.
70467         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70468         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70469         Include math.h-data and complex.h-data.  Remove all expectations
70470         of math.h and complex.h contents.
70471         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70472         at end of line.
70473         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70474         (struct tm): Expect tag.
70475         [C99-based-standards] (wcstof): Expect function.
70476         [C99-based-standards] (wcstold): Likewise.
70477         [C99-based-standards] (wcstoll): Likewise.
70478         [C99-based-standards] (wcstoull): Likewise.
70479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70480         macro-int-constant.  Specify type.
70481         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
70482         constraint on value.
70483         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70484         Specify type.
70485         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70486         Specify value.
70487         [ISO C standards]: Do not allow headers.
70488         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70489         wcs[abcdefghijklmnopqrstuvwxyz]*.
70490         [ISO C standards] (*_t): Do not allow.
70491         * conform/data/wctype.h-data [C99-based standards] (iswblank):
70492         Expect function.
70493         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70494         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70495         Specify type.
70496         [ISO C standards]: Do not allow headers.
70497         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70498         is[abcdefghijklmnopqrstuvwxyz]*.
70499         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70500         to[abcdefghijklmnopqrstuvwxyz]*.
70501         [ISO C standards] (*_t): Do not allow.
70502         * conform/data/stdalign.h-data: New file.
70503         * conform/data/stdbool.h-data: Likewise.
70504         * conform/data/stdnoreturn.h-data: Likewise.
70506 2012-11-07  Roland McGrath  <roland@hack.frob.com>
70508         [BZ #14815]
70509         * manual/filesys.texi (Directory Entries): Typo fix.
70510         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70512 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70514         * elf/elf.h (EM_AARCH64): New macro.
70515         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70516         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70517         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70518         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70519         (R_AARCH64_TLSDESC): Likewise.
70520         (NT_ARM_TLS): Likewise.
70521         (NT_ARM_HW_BREAK): Likewise.
70522         (NT_ARM_HW_WATCH): Likewise.
70524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70526         [BZ #14811]
70527         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70528         (__ieee754_powl): Saturate nonzero exponents with absolute value
70529         below 0x1p-79 to +/- 0x1p-79.
70530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70531         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70532         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70533         nonzero exponents with absolute value below 0x1p-32 to +/-
70534         0x1p-32.
70535         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70536         (__ieee754_powl): Saturate nonzero exponents with absolute value
70537         below 0x1p-79 to +/- 0x1p-79.
70538         * math/libm-test.inc (pow_test): Add more tests.
70540 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70542         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70543         _dl_s390_cap_flags with kernel. Increase string length.
70544         (_dl_s390_platforms): Add z196 and zEC12.
70546 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70548         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70549         Change XOPEN21K to XOPEN2K.
70551 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70553         * string/memmove.c: Use memcpy when possible.
70555 2012-11-06  Andreas Jaeger  <aj@suse.de>
70557         * po/eo.po: Update from translation team.
70559 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70561         [BZ #14793]
70562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70563         exponent and small x and y exponents, scale x or y up.  Increase
70564         by 2 the exponent used in scaling up.
70565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70567         * math/libm-test.inc (fma_test): Add more tests.
70568         (fma_test_towardzero): Likewise.
70569         (fma_test_downward): Likewise.
70570         (fma_test_upward): Likewise.
70572 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70574         [BZ #14805]
70575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70576         fenv_t *.
70578         [BZ #14801]
70579         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70580         namespace for names of struct fields.
70581         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70582         fenv_t fields.
70583         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70584         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70586 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70588         [BZ #3665]
70589         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70591 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70593         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70594         PTR_DEMANGLE.
70596         [BZ #5246]
70597         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70598         PTR_DEMANGLE.
70600 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70602         [BZ #14797]
70603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70604         definitely overflow as x * y not x * y + z.
70605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70607         * math/libm-test.inc (fma_test): Add more tests.
70608         (fma_test_towardzero): Likewise.
70609         (fma_test_downward): Likewise.
70610         (fma_test_upward): Likewise.
70612 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70614         [BZ #157]
70616         * include/stub-tag.h: Remove file.
70617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70618         '#include' of it.
70619         * manual/maint.texi (Porting): Don't reference it.
70620         * Makerules ($(objpfx)stubs): Likewise.
70621         * dirent/closedir.c: Don't include <stub-tag.h>.
70622         * dirent/dirfd.c: Likewise.
70623         * dirent/fdopendir.c: Likewise.
70624         * dirent/getdents.c: Likewise.
70625         * dirent/getdents64.c: Likewise.
70626         * dirent/opendir.c: Likewise.
70627         * dirent/readdir.c: Likewise.
70628         * dirent/readdir64.c: Likewise.
70629         * dirent/readdir64_r.c: Likewise.
70630         * dirent/readdir_r.c: Likewise.
70631         * dirent/rewinddir.c: Likewise.
70632         * dirent/seekdir.c: Likewise.
70633         * dirent/telldir.c: Likewise.
70634         * gmon/profil.c: Likewise.
70635         * grp/setgroups.c: Likewise.
70636         * inet/if_index.c: Likewise.
70637         * io/access.c: Likewise.
70638         * io/chdir.c: Likewise.
70639         * io/chmod.c: Likewise.
70640         * io/chown.c: Likewise.
70641         * io/close.c: Likewise.
70642         * io/dup.c: Likewise.
70643         * io/dup2.c: Likewise.
70644         * io/dup3.c: Likewise.
70645         * io/euidaccess.c: Likewise.
70646         * io/faccessat.c: Likewise.
70647         * io/fchdir.c: Likewise.
70648         * io/fchmod.c: Likewise.
70649         * io/fchmodat.c: Likewise.
70650         * io/fchown.c: Likewise.
70651         * io/fchownat.c: Likewise.
70652         * io/fcntl.c: Likewise.
70653         * io/flock.c: Likewise.
70654         * io/fstatfs.c: Likewise.
70655         * io/fstatfs64.c: Likewise.
70656         * io/fstatvfs.c: Likewise.
70657         * io/fstatvfs64.c: Likewise.
70658         * io/futimens.c: Likewise.
70659         * io/fxstat.c: Likewise.
70660         * io/fxstat64.c: Likewise.
70661         * io/fxstatat.c: Likewise.
70662         * io/fxstatat64.c: Likewise.
70663         * io/getcwd.c: Likewise.
70664         * io/isatty.c: Likewise.
70665         * io/lchmod.c: Likewise.
70666         * io/lchown.c: Likewise.
70667         * io/link.c: Likewise.
70668         * io/linkat.c: Likewise.
70669         * io/lseek.c: Likewise.
70670         * io/lseek64.c: Likewise.
70671         * io/lxstat64.c: Likewise.
70672         * io/mkdir.c: Likewise.
70673         * io/mkdirat.c: Likewise.
70674         * io/mkfifo.c: Likewise.
70675         * io/mkfifoat.c: Likewise.
70676         * io/open.c: Likewise.
70677         * io/open64.c: Likewise.
70678         * io/openat.c: Likewise.
70679         * io/openat64.c: Likewise.
70680         * io/pipe.c: Likewise.
70681         * io/pipe2.c: Likewise.
70682         * io/poll.c: Likewise.
70683         * io/posix_fadvise.c: Likewise.
70684         * io/posix_fadvise64.c: Likewise.
70685         * io/posix_fallocate.c: Likewise.
70686         * io/posix_fallocate64.c: Likewise.
70687         * io/read.c: Likewise.
70688         * io/readlink.c: Likewise.
70689         * io/readlinkat.c: Likewise.
70690         * io/rmdir.c: Likewise.
70691         * io/sendfile.c: Likewise.
70692         * io/sendfile64.c: Likewise.
70693         * io/statfs.c: Likewise.
70694         * io/statfs64.c: Likewise.
70695         * io/statvfs.c: Likewise.
70696         * io/statvfs64.c: Likewise.
70697         * io/symlink.c: Likewise.
70698         * io/symlinkat.c: Likewise.
70699         * io/ttyname.c: Likewise.
70700         * io/ttyname_r.c: Likewise.
70701         * io/umask.c: Likewise.
70702         * io/unlink.c: Likewise.
70703         * io/unlinkat.c: Likewise.
70704         * io/utime.c: Likewise.
70705         * io/utimensat.c: Likewise.
70706         * io/write.c: Likewise.
70707         * io/xmknod.c: Likewise.
70708         * io/xmknodat.c: Likewise.
70709         * io/xstat.c: Likewise.
70710         * io/xstat64.c: Likewise.
70711         * login/getpt.c: Likewise.
70712         * login/grantpt.c: Likewise.
70713         * login/unlockpt.c: Likewise.
70714         * math/e_acoshl.c: Likewise.
70715         * math/e_acosl.c: Likewise.
70716         * math/e_asinl.c: Likewise.
70717         * math/e_atan2l.c: Likewise.
70718         * math/e_atanhl.c: Likewise.
70719         * math/e_coshl.c: Likewise.
70720         * math/e_expl.c: Likewise.
70721         * math/e_fmodl.c: Likewise.
70722         * math/e_gammal_r.c: Likewise.
70723         * math/e_hypotl.c: Likewise.
70724         * math/e_j0l.c: Likewise.
70725         * math/e_j1l.c: Likewise.
70726         * math/e_jnl.c: Likewise.
70727         * math/e_lgammal_r.c: Likewise.
70728         * math/e_log10l.c: Likewise.
70729         * math/e_log2l.c: Likewise.
70730         * math/e_logl.c: Likewise.
70731         * math/e_powl.c: Likewise.
70732         * math/e_rem_pio2l.c: Likewise.
70733         * math/e_sinhl.c: Likewise.
70734         * math/e_sqrtl.c: Likewise.
70735         * math/fclrexcpt.c: Likewise.
70736         * math/fedisblxcpt.c: Likewise.
70737         * math/feenablxcpt.c: Likewise.
70738         * math/fegetenv.c: Likewise.
70739         * math/fegetexcept.c: Likewise.
70740         * math/fegetround.c: Likewise.
70741         * math/feholdexcpt.c: Likewise.
70742         * math/fesetenv.c: Likewise.
70743         * math/fesetround.c: Likewise.
70744         * math/feupdateenv.c: Likewise.
70745         * math/fgetexcptflg.c: Likewise.
70746         * math/fraiseexcpt.c: Likewise.
70747         * math/fsetexcptflg.c: Likewise.
70748         * math/ftestexcept.c: Likewise.
70749         * math/k_cosl.c: Likewise.
70750         * math/k_rem_pio2l.c: Likewise.
70751         * math/k_sinl.c: Likewise.
70752         * math/k_tanl.c: Likewise.
70753         * math/s_asinhl.c: Likewise.
70754         * math/s_atanl.c: Likewise.
70755         * math/s_cbrtl.c: Likewise.
70756         * math/s_erfl.c: Likewise.
70757         * math/s_expm1l.c: Likewise.
70758         * math/s_log1pl.c: Likewise.
70759         * math/s_tanhl.c: Likewise.
70760         * misc/acct.c: Likewise.
70761         * misc/brk.c: Likewise.
70762         * misc/chflags.c: Likewise.
70763         * misc/chroot.c: Likewise.
70764         * misc/fchflags.c: Likewise.
70765         * misc/fgetxattr.c: Likewise.
70766         * misc/flistxattr.c: Likewise.
70767         * misc/fremovexattr.c: Likewise.
70768         * misc/fsetxattr.c: Likewise.
70769         * misc/fsync.c: Likewise.
70770         * misc/ftruncate.c: Likewise.
70771         * misc/futimes.c: Likewise.
70772         * misc/futimesat.c: Likewise.
70773         * misc/getdomain.c: Likewise.
70774         * misc/getdtsz.c: Likewise.
70775         * misc/gethostid.c: Likewise.
70776         * misc/gethostname.c: Likewise.
70777         * misc/getloadavg.c: Likewise.
70778         * misc/getpagesize.c: Likewise.
70779         * misc/getsysstats.c: Likewise.
70780         * misc/getxattr.c: Likewise.
70781         * misc/gtty.c: Likewise.
70782         * misc/ioctl.c: Likewise.
70783         * misc/lgetxattr.c: Likewise.
70784         * misc/listxattr.c: Likewise.
70785         * misc/llistxattr.c: Likewise.
70786         * misc/lremovexattr.c: Likewise.
70787         * misc/lsetxattr.c: Likewise.
70788         * misc/lutimes.c: Likewise.
70789         * misc/madvise.c: Likewise.
70790         * misc/mincore.c: Likewise.
70791         * misc/mlock.c: Likewise.
70792         * misc/mlockall.c: Likewise.
70793         * misc/mmap.c: Likewise.
70794         * misc/mprotect.c: Likewise.
70795         * misc/msync.c: Likewise.
70796         * misc/munlock.c: Likewise.
70797         * misc/munlockall.c: Likewise.
70798         * misc/munmap.c: Likewise.
70799         * misc/preadv.c: Likewise.
70800         * misc/preadv64.c: Likewise.
70801         * misc/ptrace.c: Likewise.
70802         * misc/pwritev.c: Likewise.
70803         * misc/pwritev64.c: Likewise.
70804         * misc/readv.c: Likewise.
70805         * misc/reboot.c: Likewise.
70806         * misc/remap_file_pages.c: Likewise.
70807         * misc/removexattr.c: Likewise.
70808         * misc/revoke.c: Likewise.
70809         * misc/select.c: Likewise.
70810         * misc/setdomain.c: Likewise.
70811         * misc/setegid.c: Likewise.
70812         * misc/seteuid.c: Likewise.
70813         * misc/sethostid.c: Likewise.
70814         * misc/sethostname.c: Likewise.
70815         * misc/setregid.c: Likewise.
70816         * misc/setreuid.c: Likewise.
70817         * misc/setxattr.c: Likewise.
70818         * misc/sstk.c: Likewise.
70819         * misc/stty.c: Likewise.
70820         * misc/swapoff.c: Likewise.
70821         * misc/swapon.c: Likewise.
70822         * misc/sync.c: Likewise.
70823         * misc/syncfs.c: Likewise.
70824         * misc/syscall.c: Likewise.
70825         * misc/truncate.c: Likewise.
70826         * misc/ualarm.c: Likewise.
70827         * misc/usleep.c: Likewise.
70828         * misc/ustat.c: Likewise.
70829         * misc/utimes.c: Likewise.
70830         * misc/vhangup.c: Likewise.
70831         * misc/writev.c: Likewise.
70832         * posix/_exit.c: Likewise.
70833         * posix/alarm.c: Likewise.
70834         * posix/execve.c: Likewise.
70835         * posix/fexecve.c: Likewise.
70836         * posix/fork.c: Likewise.
70837         * posix/fpathconf.c: Likewise.
70838         * posix/getaddrinfo.c: Likewise.
70839         * posix/getegid.c: Likewise.
70840         * posix/geteuid.c: Likewise.
70841         * posix/getgid.c: Likewise.
70842         * posix/getgroups.c: Likewise.
70843         * posix/getlogin.c: Likewise.
70844         * posix/getlogin_r.c: Likewise.
70845         * posix/getpgid.c: Likewise.
70846         * posix/getpid.c: Likewise.
70847         * posix/getppid.c: Likewise.
70848         * posix/getresgid.c: Likewise.
70849         * posix/getresuid.c: Likewise.
70850         * posix/getsid.c: Likewise.
70851         * posix/getuid.c: Likewise.
70852         * posix/glob64.c: Likewise.
70853         * posix/nanosleep.c: Likewise.
70854         * posix/pathconf.c: Likewise.
70855         * posix/pause.c: Likewise.
70856         * posix/posix_madvise.c: Likewise.
70857         * posix/pread.c: Likewise.
70858         * posix/pread64.c: Likewise.
70859         * posix/pwrite.c: Likewise.
70860         * posix/pwrite64.c: Likewise.
70861         * posix/sched_getaffinity.c: Likewise.
70862         * posix/sched_getp.c: Likewise.
70863         * posix/sched_gets.c: Likewise.
70864         * posix/sched_primax.c: Likewise.
70865         * posix/sched_primin.c: Likewise.
70866         * posix/sched_rr_gi.c: Likewise.
70867         * posix/sched_setaffinity.c: Likewise.
70868         * posix/sched_setp.c: Likewise.
70869         * posix/sched_sets.c: Likewise.
70870         * posix/sched_yield.c: Likewise.
70871         * posix/setgid.c: Likewise.
70872         * posix/setlogin.c: Likewise.
70873         * posix/setpgid.c: Likewise.
70874         * posix/setresgid.c: Likewise.
70875         * posix/setresuid.c: Likewise.
70876         * posix/setsid.c: Likewise.
70877         * posix/setuid.c: Likewise.
70878         * posix/sleep.c: Likewise.
70879         * posix/spawni.c: Likewise.
70880         * posix/sysconf.c: Likewise.
70881         * posix/times.c: Likewise.
70882         * posix/wait.c: Likewise.
70883         * posix/wait3.c: Likewise.
70884         * posix/wait4.c: Likewise.
70885         * posix/waitpid.c: Likewise.
70886         * resolv/gai_sigqueue.c: Likewise.
70887         * resource/getpriority.c: Likewise.
70888         * resource/getrlimit.c: Likewise.
70889         * resource/getrusage.c: Likewise.
70890         * resource/nice.c: Likewise.
70891         * resource/setpriority.c: Likewise.
70892         * resource/setrlimit.c: Likewise.
70893         * resource/ulimit.c: Likewise.
70894         * rt/aio_cancel.c: Likewise.
70895         * rt/aio_fsync.c: Likewise.
70896         * rt/aio_read.c: Likewise.
70897         * rt/aio_sigqueue.c: Likewise.
70898         * rt/aio_suspend.c: Likewise.
70899         * rt/aio_write.c: Likewise.
70900         * rt/clock_getres.c: Likewise.
70901         * rt/clock_gettime.c: Likewise.
70902         * rt/clock_nanosleep.c: Likewise.
70903         * rt/clock_settime.c: Likewise.
70904         * rt/lio_listio.c: Likewise.
70905         * rt/mq_close.c: Likewise.
70906         * rt/mq_getattr.c: Likewise.
70907         * rt/mq_notify.c: Likewise.
70908         * rt/mq_open.c: Likewise.
70909         * rt/mq_receive.c: Likewise.
70910         * rt/mq_send.c: Likewise.
70911         * rt/mq_setattr.c: Likewise.
70912         * rt/mq_timedreceive.c: Likewise.
70913         * rt/mq_timedsend.c: Likewise.
70914         * rt/mq_unlink.c: Likewise.
70915         * rt/shm_open.c: Likewise.
70916         * rt/shm_unlink.c: Likewise.
70917         * rt/timer_create.c: Likewise.
70918         * rt/timer_delete.c: Likewise.
70919         * rt/timer_getoverr.c: Likewise.
70920         * rt/timer_gettime.c: Likewise.
70921         * rt/timer_settime.c: Likewise.
70922         * setjmp/__longjmp.c: Likewise.
70923         * setjmp/setjmp.c: Likewise.
70924         * signal/kill.c: Likewise.
70925         * signal/killpg.c: Likewise.
70926         * signal/raise.c: Likewise.
70927         * signal/sigaction.c: Likewise.
70928         * signal/sigaltstack.c: Likewise.
70929         * signal/sigblock.c: Likewise.
70930         * signal/sigignore.c: Likewise.
70931         * signal/sigintr.c: Likewise.
70932         * signal/signal.c: Likewise.
70933         * signal/sigpause.c: Likewise.
70934         * signal/sigpending.c: Likewise.
70935         * signal/sigqueue.c: Likewise.
70936         * signal/sigreturn.c: Likewise.
70937         * signal/sigset.c: Likewise.
70938         * signal/sigsetmask.c: Likewise.
70939         * signal/sigstack.c: Likewise.
70940         * signal/sigsuspend.c: Likewise.
70941         * signal/sigtimedwait.c: Likewise.
70942         * signal/sigvec.c: Likewise.
70943         * signal/sigwait.c: Likewise.
70944         * signal/sigwaitinfo.c: Likewise.
70945         * signal/sysv_signal.c: Likewise.
70946         * socket/accept.c: Likewise.
70947         * socket/accept4.c: Likewise.
70948         * socket/bind.c: Likewise.
70949         * socket/connect.c: Likewise.
70950         * socket/getpeername.c: Likewise.
70951         * socket/getsockname.c: Likewise.
70952         * socket/getsockopt.c: Likewise.
70953         * socket/isfdtype.c: Likewise.
70954         * socket/listen.c: Likewise.
70955         * socket/recv.c: Likewise.
70956         * socket/recvfrom.c: Likewise.
70957         * socket/recvmsg.c: Likewise.
70958         * socket/send.c: Likewise.
70959         * socket/sendmsg.c: Likewise.
70960         * socket/sendto.c: Likewise.
70961         * socket/setsockopt.c: Likewise.
70962         * socket/shutdown.c: Likewise.
70963         * socket/sockatmark.c: Likewise.
70964         * socket/socket.c: Likewise.
70965         * socket/socketpair.c: Likewise.
70966         * stdio-common/ctermid.c: Likewise.
70967         * stdio-common/cuserid.c: Likewise.
70968         * stdio-common/remove.c: Likewise.
70969         * stdio-common/rename.c: Likewise.
70970         * stdio-common/renameat.c: Likewise.
70971         * stdio-common/tempname.c: Likewise.
70972         * stdlib/getcontext.c: Likewise.
70973         * stdlib/makecontext.c: Likewise.
70974         * stdlib/setcontext.c: Likewise.
70975         * stdlib/swapcontext.c: Likewise.
70976         * stdlib/system.c: Likewise.
70977         * streams/fattach.c: Likewise.
70978         * streams/fdetach.c: Likewise.
70979         * streams/getmsg.c: Likewise.
70980         * streams/getpmsg.c: Likewise.
70981         * streams/putmsg.c: Likewise.
70982         * streams/putpmsg.c: Likewise.
70983         * sysdeps/unix/bsd/getpt.c: Likewise.
70984         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70985         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70988         Likewise.
70989         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70990         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70991         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70992         * sysvipc/msgctl.c: Likewise.
70993         * sysvipc/msgget.c: Likewise.
70994         * sysvipc/msgrcv.c: Likewise.
70995         * sysvipc/msgsnd.c: Likewise.
70996         * sysvipc/semctl.c: Likewise.
70997         * sysvipc/semget.c: Likewise.
70998         * sysvipc/semop.c: Likewise.
70999         * sysvipc/semtimedop.c: Likewise.
71000         * sysvipc/shmat.c: Likewise.
71001         * sysvipc/shmctl.c: Likewise.
71002         * sysvipc/shmdt.c: Likewise.
71003         * sysvipc/shmget.c: Likewise.
71004         * termios/tcdrain.c: Likewise.
71005         * termios/tcflow.c: Likewise.
71006         * termios/tcflush.c: Likewise.
71007         * termios/tcgetattr.c: Likewise.
71008         * termios/tcgetpgrp.c: Likewise.
71009         * termios/tcsendbrk.c: Likewise.
71010         * termios/tcsetattr.c: Likewise.
71011         * termios/tcsetpgrp.c: Likewise.
71012         * time/adjtime.c: Likewise.
71013         * time/clock.c: Likewise.
71014         * time/getitimer.c: Likewise.
71015         * time/gettimeofday.c: Likewise.
71016         * time/setitimer.c: Likewise.
71017         * time/settimeofday.c: Likewise.
71018         * time/stime.c: Likewise.
71019         * time/time.c: Likewise.
71021 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71023         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71024         /usr/old/bin.
71026         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71027         instead of spaces.
71028         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71030 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71032         [BZ #14796]
71033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71034         FE_TONEAREST before applying Dekker multiplication and Knuth
71035         addition.  Clear inexact exceptions and check for exact zero
71036         results afterwards.
71037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71038         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71040         * math/libm-test.inc (fma_test): Add more tests.
71041         (fma_test_towardzero): Likewise.
71042         (fma_test_downward): Likewise.
71043         (fma_test_upward): Likewise.
71044         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71045         function.
71046         (libc_fesetround): New macro.
71047         (libc_fesetroundf): Likewise.
71048         (libc_fesetroundl): Likewise.
71049         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71050         function.
71051         (libc_fesetround_387): Likewise.
71052         (libc_fesetroundf): New macro.
71053         (libc_fesetround): Likewise.
71054         (libc_fesetroundl): Likewise.
71055         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71056         function.
71057         (libc_fesetroundf): New macro.
71058         (libc_fesetround): Likewise.
71059         (libc_fesetroundl): Likewise.
71060         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71061         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71062         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71063         libm_hidden_ver.
71064         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71065         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71066         libm_hidden_def.
71067         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71068         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71069         libm_hidden_ver.
71070         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71071         libm_hidden_def.
71073         [BZ #3439]
71074         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71075         integer constant usable in #if and use that to give value to enum
71076         constant.
71077         (FE_DIVBYZERO): Likewise.
71078         (FE_UNDERFLOW): Likewise.
71079         (FE_OVERFLOW): Likewise.
71080         (FE_INVALID): Likewise.
71081         (FE_INVALID_SNAN): Likewise.
71082         (FE_INVALID_ISI): Likewise.
71083         (FE_INVALID_IDI): Likewise.
71084         (FE_INVALID_ZDZ): Likewise.
71085         (FE_INVALID_IMZ): Likewise.
71086         (FE_INVALID_COMPARE): Likewise.
71087         (FE_INVALID_SOFTWARE): Likewise.
71088         (FE_INVALID_SQRT): Likewise.
71089         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71090         (FE_TONEAREST): Likewise.
71091         (FE_TOWARDZERO): Likewise.
71092         (FE_UPWARD): Likewise.
71093         (FE_DOWNWARD): Likewise.
71094         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71095         (FE_DIVBYZERO): Likewise.
71096         (FE_OVERFLOW): Likewise.
71097         (FE_UNDERFLOW): Likewise.
71098         (FE_INEXACT): Likewise.
71099         (FE_TONEAREST): Likewise.
71100         (FE_DOWNWARD): Likewise.
71101         (FE_UPWARD): Likewise.
71102         (FE_TOWARDZERO): Likewise.
71103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71104         (FE_UNDERFLOW): Likewise.
71105         (FE_OVERFLOW): Likewise.
71106         (FE_DIVBYZERO): Likewise.
71107         (FE_INVALID): Likewise.
71108         (FE_TONEAREST): Likewise.
71109         (FE_TOWARDZERO): Likewise.
71110         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71111         (FE_OVERFLOW): Likewise.
71112         (FE_UNDERFLOW): Likewise.
71113         (FE_DIVBYZERO): Likewise.
71114         (FE_INEXACT): Likewise.
71115         (FE_TONEAREST): Likewise.
71116         (FE_TOWARDZERO): Likewise.
71117         (FE_UPWARD): Likewise.
71118         (FE_DOWNWARD): Likewise.
71119         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71120         (FE_DIVBYZERO): Likewise.
71121         (FE_OVERFLOW): Likewise.
71122         (FE_UNDERFLOW): Likewise.
71123         (FE_INEXACT): Likewise.
71124         (FE_TONEAREST): Likewise.
71125         (FE_DOWNWARD): Likewise.
71126         (FE_UPWARD): Likewise.
71127         (FE_TOWARDZERO): Likewise.
71129 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71131         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71133 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71135         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71136         commands.  Quote $PWD.
71137         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71138         -x" by "export".
71139         (remove_newlines): Remove.
71141 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71143         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71144         * stdlib/stdlib.h (atof): Moved to ...
71145         * include/bits/stdlib-float.h: Here.  New file.
71146         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71147         * stdlib/bits/stdlib-float.h: New file.
71148         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71149         -mno-sse -mno-mmx.
71150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71151         <xmmintrin.h>.
71153 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71155         * conform/conformtest.pl (@headers): Add fenv.h.
71156         * conform/data/fenv.h-data: New file.
71157         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71158         include of <math/fenv.h>.
71160         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71161         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71162         && !UNIX98].  Enables tests for XOPEN2K8.
71163         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71164         POSIX2008]: Likewise.
71166         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71167         (struct rusage): Do not expect type or its members.
71169         [BZ #3439]
71170         * math/math.h (FP_NAN): Define macro to integer constant usable in
71171         #if and use that to give value to enum constant.
71172         (FP_INFINITE): Likewise.
71173         (FP_ZERO): Likewise.
71174         (FP_SUBNORMAL): Likewise.
71175         (FP_NORMAL): Likewise.
71177 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71179         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71180         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71181         arguments.
71183 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71185         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71186         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71187         autoconf-time if not.
71188         * configure.in: Remove AC_PREREQ.
71190 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71192         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71193         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71194         of the internal implementation.
71196 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71198         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71199         except include of <misc/sys/syslog.h>.
71201 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71204         function returns with a NULL context exit with zero.
71206 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71208         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71210 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71212         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71213         (run_program_cmd): This.
71214         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71215         (tst_langinfo): New variable.  Use it.
71217 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71219         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71220         floating point opcodes.
71222 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71224         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71225         variable.
71227         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71229         * sysdeps/mach/hurd/powerpc: Remove directory.
71230         * sysdeps/mach/powerpc: Likewise.
71232 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71234         * scripts/check-local-headers.sh: Ignore c++ headers.
71236 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71238         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71239         __libc_cleanup_region_start argument.
71241 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71243         [BZ #14784]
71244         [BZ #14785]
71245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71246         x * y using scaling, not as x * y + z.
71247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71249         * math/libm-test.inc (fma_test): Add more tests.
71250         (fma_test_towardzero): Likewise.
71251         (fma_test_downward): Likewise.
71252         (fma_test_upward): Likewise.
71254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71256         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71258 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71260         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71261         New variable.
71263 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71265         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71267 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71270         Fix sort order.
71271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71272         Likewise.
71274 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71277         Fix the order of the list for glibc 2.17.
71278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71279         Likewise.
71281 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71285 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71287         [BZ #14610]
71288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71289         for low part of x being zero before using __atanl (y).
71290         * math/libm-test.inc (atan2_test): Add another test.
71292         * manual/install.texi (Configuring and compiling): Document
71293         general use of test-wrapper and test-wrapper-env.
71294         * INSTALL: Regenerated.
71296         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71297         (__fma): Do not extract and scale down low bits on after-rounding
71298         systems when result rounded to normal precision would have normal
71299         exponent.
71300         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71301         (__fmal): Do not extract and scale down low bits on after-rounding
71302         systems when result rounded to normal precision would have normal
71303         exponent.
71304         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71305         (__fmal): Do not extract and scale down low bits on after-rounding
71306         systems when result rounded to normal precision would have normal
71307         exponent.
71308         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71309         macro.
71310         (fma_test): Add more tests.
71311         (fma_test_towardzero): Likewise.
71312         (fma_test_downward): Likewise.
71313         (fma_test_upward): Likewise.
71315 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71317         * sysdeps/i386/tininess.h: Renamed to ...
71318         * sysdeps/x86/tininess.h: This.
71319         * sysdeps/x86_64/tininess.h: Removed.
71321 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71323         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71324         input.  Use $(build-program-cmd).
71325         ($(objpfx)tst-array1-static.out): Likewise.
71326         ($(objpfx)tst-array2.out): Likewise.
71327         ($(objpfx)tst-array3.out): Likewise.
71328         ($(objpfx)tst-array4.out): Likewise.
71329         ($(objpfx)tst-array5.out): Likewise.
71330         ($(objpfx)tst-array5-static.out): Likewise.
71332 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71334         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71335         if defined.
71337         * nss/nsswitch.h (nss_interface_function): Provide new
71338         macro for use with NSS functions.
71339         * grp/initgroups.c: Use new macro.
71340         * nss/getXXbyYY.c: Likewise.
71341         * nss/getXXbyYY_r.c: Likewise.
71342         * nss/getXXent.c: Likewise.
71343         * nss/getXXent_r.c: Likewise.
71344         * sysdeps/posix/getaddrinfo.c: Likewise.
71346 2012-10-30  Andreas Jaeger  <aj@suse.de>
71348         * po/ru.po: Update Russion translation from translation project.
71350 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71352         [BZ #14152]
71353         [BZ #14783]
71354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71355         result and shift together with sticky bit instead of replicating
71356         round-to-nearest rounding.
71357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71359         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71360         missing underflow exceptions.
71361         (fma_test_towardzero): Add more tests.
71362         (fma_test_downward): Likewise.
71363         (fma_test_upward): Likewise.
71365         [BZ #14047]
71366         * sysdeps/generic/tininess.h: New file.
71367         * sysdeps/i386/tininess.h: Likewise.
71368         * sysdeps/sh/tininess.h: Likewise.
71369         * sysdeps/x86_64/tininess.h: Likewise.
71370         * stdlib/tst-strtod-underflow.c: Likewise.
71371         * stdlib/tst-tininess.c: Likewise.
71372         * stdlib/strtod_l.c: Include <tininess.h>.
71373         (round_and_return): Do not set errno for exact underflow cases.
71374         Force an underflow exception when setting errno for underflow.
71375         Determine underflow based on rounding to normal precision if
71376         TININESS_AFTER_ROUNDING.
71377         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71378         ERANGE for exact underflow cases.
71379         * stdlib/Makefile (tests): Add tst-tininess and
71380         tst-strtod-underflow.
71381         ($(objpfx)tst-tininess): Use $(link-libm).
71382         ($(objpfx)tst-strtod-underflow): Likewise.
71384 2012-10-30  Andreas Jaeger  <aj@suse.de>
71386         [BZ #14767]
71387         * elf/Makefile (tests): Remove conditional for have-initfini-array
71388         since this is now always required and the variable does not exist
71389         anymore.
71390         (tests-static): Likewise.
71391         (modules-names): Likewise.
71393         * po/eo.po: Add Esperanto translation from translation project.
71395         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71396         merged with constructor/destructor.
71397         (init_array): Likewise.
71398         * elf/tst-array2dep.c (fini_array): Likewise.
71399         (init_array): Likewise.
71401 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71403         * manual/message.texi: Delete @cartouche tags.
71405 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71407         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71408         EOPNOTSUPP.
71409         * sysdeps/mach/hurd/fsync.c: Likewise.
71411         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71412         [_POSIX_REALTIME_SIGNALS]: Change condition to
71413         [_POSIX_REALTIME_SIGNALS > 0].
71415 2012-10-27  Andreas Jaeger  <aj@suse.de>
71417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71418         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71420         [__WORDSIZE != 64]: Likewise.
71422 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71424         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71425         *  iconvdata/tst-tables.sh: Likewise.
71427 2012-10-25  David S. Miller  <davem@davemloft.net>
71429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71430         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71431         of strtoull.
71433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71434         ifunc-impl-list.c
71435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71436         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71437         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71438         file.
71440 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71443         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71444         __getdirentries.
71446 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71447             Jim Blandy  <jimb@codesourcery.com>
71449         * scripts/cross-test-ssh.sh: New file.
71450         * manual/install.texi (Configuring and compiling): Document use of
71451         cross-test-ssh.sh.
71452         * INSTALL: Regenerated.
71454 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71456         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71457         EOPNOTSUPP.
71459 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71461         * Makeconfig (run-program-prefix): Fix comment.
71463 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71464             Jim Blandy  <jimb@codesourcery.com>
71466         * Makeconfig (test-wrapper): New variable,
71467         (test-wrapper-env): Likewise.
71468         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71469         (run-built-tests): Define to yes.
71470         (run-program-prefix): Use $(test-wrapper).
71471         (built-program-cmd): Likewise.
71472         * Rules (make-test-out): Use $(test-wrapper-env) and
71473         $(host-built-program-cmd).
71474         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71475         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71476         tst-pathopt.sh.
71477         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71478         $(test-wrapper-env) to tst-rtld-load-self.sh.
71479         ($(objpfx)order2.out): Use $(test-wrapper).
71480         ($(objpfx)tst-initorder.out): Likewise.
71481         ($(objpfx)tst-initorder2.out): Likewise.
71482         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71483         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71484         (test_wrapper_env): New variable.  Use it to run ld.so.
71485         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71486         Use it to run ld.so.
71487         (test_wrapper_env): Likewise.
71488         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71489         $(test-wrapper) to run-iconv-test.sh.
71490         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71491         (ICONV): Use $test_wrapper.
71492         * posix/Makefile ($(objpfx)globtest.out): Pass
71493         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71494         globtest.sh, not $(run-program-prefix).
71495         * posix/globtest.sh (run_via_rtld_prefix): New variable.
71496         (test_wrapper): Likewise.
71497         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
71498         set together with run_via_rtld_prefix.
71499         (run_program_prefix): Define in terms of test_wrapper and
71500         run_via_rtld_prefix.
71502 2012-10-24  Roland McGrath  <roland@hack.frob.com>
71504         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71505         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71506         Targets removed.
71508         [BZ #14743]
71509         * include/time.h: Remove librt_hidden_proto (clock_gettime).
71510         Declare __clock_getres, __clock_gettime, __clock_settime,
71511         __clock_nanosleep, and __clock_getcpuclockid.
71512         * rt/clock_gettime.c: Define __clock_gettime as an alias.
71513         Remove librt_hidden_def (clock_gettime).
71514         * sysdeps/unix/clock_gettime.c: Likewise.
71515         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71517         * rt/clock_getres.c: Define __clock_getres as an alias.
71518         * sysdeps/posix/clock_getres.c: Likewise.
71519         * rt/clock_settime.c: Define __clock_settime as an alias.
71520         * sysdeps/unix/clock_settime.c: Likewise.
71521         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71522         * sysdeps/unix/clock_nanosleep.c: Likewise.
71523         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71524         * rt/clock-compat.c: New file.
71525         * rt/Makefile (librt-routines): Add clock-compat and move
71526         $(clock-routines) to ...
71527         (routines): ... here, new variable.
71528         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71529         Don't add get_clockfreq here.
71530         * rt/Versions (libc: GLIBC_2.17): New version set.
71531         Add clock_* symbols here.
71532         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71534         (GLIBC_2.17): Add clock_* symbols.
71535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71539         Likewise.
71540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71541         Likewise.
71542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71546         * NEWS: Mention the move.
71548         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71549         Use __open, __read, __close rather than their public counterparts.
71550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71551         (__get_clockfreq_via_cpuinfo): Likewise.
71552         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71553         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71555         * config.h.in (HAVE_IFUNC): New #undef.
71556         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71557         was successful.
71558         * configure: Regenerated.
71560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71562         * configure.in: Move READELF check to start of file.
71563         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71564         libc_cv_asm_gnu_indirect_function in the process.
71565         * configure: Regenerated.
71567 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71569         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71570         send the output to /dev/null.
71571         (libc_cv_cc_with_libunwind): Likewise.
71572         (libc_cv_as_noexecstack): Likewise.
71573         * configure: Regenerate.
71575 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71577         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71579         * posix/globtest.sh (TMPDIR): Do not set.
71580         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71581         (testout): Likewise.
71583 2012-10-24  Andreas Jaeger  <aj@suse.de>
71585         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71586         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71587         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71588         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71589         posix_fadvise64, posix_fallocate64.
71591         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71592         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71593         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71594         Likewise.
71595         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71596         Likewise.
71597         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71600         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71601         <bits/fcntl-linux.h>.
71602         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71605         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71606         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71607         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71608         [__WORDSIZE != 64]: Likewise.
71610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71612         * Makeconfig (run-built-tests): New variable.
71613         * Rules [$(cross-compiling) = yes]: Change condition to
71614         [$(run-built-tests) = no].
71615         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71616         to [$(run-built-tests) = yes].
71617         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71618         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71619         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71620         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71621         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71622         * io/Makefile [$(cross-compiling) = no]: Likewise.
71623         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71624         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71625         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71626         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71627         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71628         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71629         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71630         * string/Makefile [$(cross-compiling) = no]: Likewise.
71632         * posix/Makefile ($(objpfx)globtest.out): Pass
71633         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71634         $(rtld-installed-name).
71635         * posix/globtest.sh (elf_objpfx): Remove variable.
71636         (rtld_installed_name): Likewise.
71637         (library_path): Likewise.
71638         (run_program_prefix): New variable.  Use for running globtest
71639         binary.
71641 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71642             Joseph Myers  <joseph@codesourcery.com>
71644         * Makeconfig (host-built-program-cmd): New variable.
71645         * elf/Makefile (tst-stackguard1-ARGS): Use
71646         $(host-built-program-cmd).
71647         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71648         (tst-spawn-ARGS): Likewise.
71649         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71652             Jim Blandy  <jimb@codesourcery.com>
71654         * Makeconfig (run-via-rtld-prefix): New variable.
71655         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71656         (built-program-cmd): Likewise.
71658 2012-10-22  Andreas Jaeger  <aj@suse.de>
71660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71661         __O_RSYNC if it exists, otherwise to O_SYNC.
71663 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71664             Joseph Myers  <joseph@codesourcery.com>
71666         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71667         /dev/null.
71668         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71669         from /dev/null
71670         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71671         /dev/null.
71673 2012-10-22  Andreas Jaeger  <aj@suse.de>
71675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71676         Define always.
71677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71680         bits/fcntl-linux.h.
71682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71683         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71686         to __O_LARGEFILE.
71687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71688         to __O_LARGEFILE.
71690 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71691             Joseph Myers  <joseph@codesourcery.com>
71693         * config.make.in (NM): New variable.
71695 2012-10-21  Andreas Jaeger  <aj@suse.de>
71697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71698         definitions and declarations that are provided by
71699         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71701 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71703         [BZ #14683]
71704         * elf/Makefile (tests-static): Add tst-leaks1-static.
71705         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71706         ($(objpfx)tst-leaks1-static): New rule.
71707         ($(objpfx)tst-leaks1-static-mem): Likewise.
71708         (tst-leaks1-static-ENV): New macro.
71709         * elf/dl-open.c (dl_open_worker): Check the main application
71710         only if SHARED is defined.
71711         * elf/tst-leaks1-static.c: New file.
71713 2012-10-20  Andreas Jaeger  <aj@suse.de>
71715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71716         generic values for Linux.
71717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71718         and declarations that are provided by <bits/fcntl-linux.h> and
71719         include <bits/fcntl-linux.h>.
71720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71723 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71725         * io/fcntl.h: Move include of <bits/types.h> to the top and
71726         include it unconditionally.
71728 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71730         * wcsmbs/Makefile (tests-ifunc): New variable.
71731         (tests): Add $(tests-ifunc).
71732         * wcsmbs/test-wcschr-ifunc.c: New file.
71733         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71734         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71735         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71736         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71737         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71739         * string/Makefile (tests-ifunc): New variable.
71740         (tests): Add $(tests-ifunc).
71741         * string/test-memccpy.c (TEST_NAME): New macro.
71742         * string/test-memchr.c (TEST_NAME): Likewise.
71743         * string/test-memcmp.c (TEST_NAME): Likewise.
71744         * string/test-memcpy.c (TEST_NAME): Likewise.
71745         * string/test-memmem.c (TEST_NAME): Likewise.
71746         * string/test-memmove.c (TEST_NAME): Likewise.
71747         * string/test-memset.c (TEST_NAME): Likewise.
71748         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71749         * string/test-stpcpy.c (TEST_NAME): Likewise.
71750         * string/test-stpncpy.c (TEST_NAME): Likewise.
71751         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71752         * string/test-strcasestr.c (TEST_NAME): Likewise.
71753         * string/test-strcat.c (TEST_NAME): Likewise.
71754         * string/test-strchr.c (TEST_NAME): Likewise.
71755         * string/test-strcmp.c(TEST_NAME): Likewise.
71756         * string/test-strcpy.c (TEST_NAME): Likewise.
71757         * string/test-strcspn.c (TEST_NAME): Likewise.
71758         * string/test-strlen.c (TEST_NAME): Likewise.
71759         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71760         * string/test-strncmp.c (TEST_NAME): Likewise.
71761         * string/test-strncpy.c (TEST_NAME): Likewise.
71762         * string/test-strnlen.c (TEST_NAME): Likewise.
71763         * string/test-strpbrk.c (TEST_NAME): Likewise.
71764         * string/test-strrchr.c (TEST_NAME): Likewise.
71765         * string/test-strspn.c (TEST_NAME): Likewise.
71766         * string/test-strstr.c (TEST_NAME): Likewise.
71767         * string/test-bcopy-ifunc.c: New file.
71768         * string/test-bzero-ifunc.c: Likewise.
71769         * string/test-memccpy-ifunc.c: Likewise.
71770         * string/test-memchr-ifunc.c: Likewise.
71771         * string/test-memcmp-ifunc.c: Likewise.
71772         * string/test-memcpy-ifunc.c: Likewise.
71773         * string/test-memmem-ifunc.c: Likewise.
71774         * string/test-memmove-ifunc.c: Likewise.
71775         * string/test-mempcpy-ifunc.c: Likewise.
71776         * string/test-memset-ifunc.c: Likewise.
71777         * string/test-rawmemchr-ifunc.c: Likewise.
71778         * string/test-stpcpy-ifunc.c: Likewise.
71779         * string/test-stpncpy-ifunc.c: Likewise.
71780         * string/test-strcasecmp-ifunc.c: Likewise.
71781         * string/test-strcasestr-ifunc.c: Likewise.
71782         * string/test-strcat-ifunc.c: Likewise.
71783         * string/test-strchr-ifunc.c: Likewise.
71784         * string/test-strchrnul-ifunc.c: Likewise.
71785         * string/test-strcmp-ifunc.c: Likewise.
71786         * string/test-strcpy-ifunc.c: Likewise.
71787         * string/test-strcspn-ifunc.c: Likewise.
71788         * string/test-strlen-ifunc.c: Likewise.
71789         * string/test-strncasecmp-ifunc.c: Likewise.
71790         * string/test-strncat-ifunc.c: Likewise.
71791         * string/test-strncmp-ifunc.c: Likewise.
71792         * string/test-strncpy-ifunc.c: Likewise.
71793         * string/test-strnlen-ifunc.c: Likewise.
71794         * string/test-strpbrk-ifunc.c: Likewise.
71795         * string/test-strrchr-ifunc.c: Likewise.
71796         * string/test-strspn-ifunc.c: Likewise.
71797         * string/test-strstr-ifunc.c: Likewise.
71799         * debug/Makefile (tests-ifunc): New variable.
71800         (tests): Add $(tests-ifunc).
71801         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71802         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71803         * debug/test-stpcpy_chk-ifunc.c: New file.
71804         * debug/test-strcpy_chk-ifunc.c: Likewise.
71806 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71808         [BZ #13601]
71809         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71810         header is not read in.
71812 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71814         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71815         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71816         directly.  Pass built executable to script as
71817         $(built-program-cmd).
71818         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71819         $testprogram without using LD_LIBRARY_PATH and $ldso.
71821         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71822         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71823         $(rtld-installed-name).
71824         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71825         (rtld_installed_name): Likewise.
71826         (library_path): Likewise.
71827         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71829         $(run-program-prefix) to tst-tables.sh.
71830         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71831         it to run tst-table-from and tst-table-to.
71832         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71833         Pass it to tst-table.sh.
71834         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71835         $(run-program-prefix) to tst-gettext.sh.
71836         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71837         tst-translit.sh.
71838         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71839         tst-gettext2.sh.
71840         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71841         to run tst-gettext.
71842         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71843         to run tst-gettext2.
71844         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71845         to run tst-translit.
71846         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71847         $(run-program-prefix) to tst-mtrace.sh.
71848         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71849         to run tst-mtrace.
71850         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71851         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71852         $(rtld-installed-name).
71853         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71854         (rtld_installed_name): Likewise.
71855         (run_program_prefix): New variable.  Use it to run wordexp-test.
71857         * Makeconfig (ARCH): Remove all definitions.
71858         (machine): Likewise.
71859         [ARCH]: Remove conditional code.
71860         [!objdir]: Give error.
71861         [!objdir] (objpfx): Remove.
71862         [!objdir] (common-objpfx): Likewise.
71863         [!objdir] (common-objdir): Likewise.
71864         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71865         AC_CONFIG_FILES call.
71866         * configure: Regenerated.
71868         [BZ #13888]
71869         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71870         or TMPDIR.
71871         (testout): Likewise.
71873         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71874         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71875         $(rtld-installed-name).
71876         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71877         (rtld_installed_name): Likewise.
71878         (runit): Remove function.
71879         (run_getconf): New variable,  Use it for running getconf binary.
71881 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71883         [BZ #14716]
71884         * string/test-memmem.c (check_result): New function.
71885         (do_one_test): Use it.
71886         (check1): New function.
71887         (test_main): Use it.
71889 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71891         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71893 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71895         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71896         (_G_LSEEK64): Likewise.
71897         (_G_MMAP64): Likewise.
71898         (_G_FSTAT64): Likewise.
71899         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71900         (_G_LSEEK64): Likewise.
71901         (_G_MMAP64): Likewise.
71902         (_G_FSTAT64): Likewise.
71903         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71904         unconditional.  Call __mmap64 directly.
71905         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71906         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71907         __lseek64 directly.
71908         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71909         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71910         __mmap64 directly.
71911         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71912         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71913         __lseek64 directly.
71914         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71915         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71916         __lseek64 directly.
71917         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71918         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71919         __lseek64 directly.
71920         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71921         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71922         __fxstat64 directly.
71923         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71924         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71925         unconditional.
71926         (freopen64) [!_G_OPEN64]: Remove conditional code.
71927         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71928         unconditional.
71929         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71930         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71931         unconditional.
71932         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71933         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71934         unconditional.
71935         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71936         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71937         unconditional.
71938         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71939         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71940         unconditional.
71941         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71942         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71943         unconditional.
71944         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71945         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71946         unconditional.
71947         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71949 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71951         [BZ #12140]
71952         * manual/memory.texi (Malloc Tunable Parameters): Add note
71953         about free list pointers overwriting some perturb bytes.
71954         Wording suggested by Roland McGrath.
71956 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71958         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71959         (lgamma_test): Likewise.
71960         (tgamma_test): Likewise.
71962 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71964         [BZ #14700]
71965         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71966         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71968 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71970         * NEWS: Mention BZ #14716.
71971         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71972         when removing AVAILABLE1_USES_J macro.
71974 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71976         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71977         (__bswap_64): __uint64_t for unsigned 64-bit int.
71979 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71981         * include/string.h (memmem): Declare libc hidden alias.
71982         * string/memmem.c (memmem): Define libc hidden alias.
71983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71984         __read, __close instead of open, read, close.
71986 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71989         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71990         global and hidden.
71991         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71993         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71994         Likewise.
71995         (__rawmemchr_sse2): Likewise.
71996         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71997         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71998         (__strchr_sse2): Likewise.
71999         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72000         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72001         (__strcasecmp_sse2): Likewise.
72002         (__strncasecmp_sse2): Likewise.
72003         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72004         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72005         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72006         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72007         (__strrchr_sse2): Likewise.
72008         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72009         ifunc-impl-list.c.
72010         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72012         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72018         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72019         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72020         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72022         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72023         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72024         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72025         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72026         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72027         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72028         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72029         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72030         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72031         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72032         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72033         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72034         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72035         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72036         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72037         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72038         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72039         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72042         global and hidden.
72043         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72044         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72045         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72046         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72047         Likewise.
72048         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72049         Likewise.
72050         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72051         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72052         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72053         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72054         ifunc-impl-list.c.
72055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72056         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72057         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72065         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72066         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72067         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72068         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72069         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72071         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72072         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72078         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72080         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72081         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72082         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72083         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72084         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72085         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72086         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72087         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72088         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72091         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72092         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72093         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72095         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72097         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72098         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72099         * include/ifunc-impl-list.h: New file.
72100         * misc/ifunc-impl-list.c: Likewise.
72101         * misc/Makefile (routines): Add ifunc-impl-list.
72102         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72103         * string/test-string.h: Include <ifunc-impl-list.h>.
72104         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72105         TEST_NAME]: New variables.
72106         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72107         are defined.
72108         (test_init): Call __libc_ifunc_impl_list to initialize
72109         func_list if TEST_IFUNC and TEST_NAME are defined.
72111         * string/Makefile (strop-tests): Add bcopy and bzero.
72112         * string/test-bcopy.c: New file.
72113         * string/test-bzero.c: Likewise.
72114         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72115         defined.
72116         * string/test-memset.c: Support bzero test if TEST_BZERO is
72117         defined.
72118         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72119         __libc_memmove.
72120         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72121         __libc_memset.
72122         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72123         of memset.
72125 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72127         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72128         * configure: Regenerated.
72130         * Makeconfig (+link-static-before-libc): Don't include
72131         $(link-static-libc).
72133         * libio/libio.h (_IO_pos_t): Remove.
72135 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72137         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72138         McGrath.
72140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72142         * crypt/crypt-entry.c: Include fips-private.h.
72143         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72144         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72145         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72146         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72150         * crypt/crypt-private.h: Include stdbool.h.
72151         (_ufc_setup_salt_r): Return bool.
72152         * crypt/crypt-entry.c: Include errno.h.
72153         (__crypt_r): Return NULL with EINVAL for bad salt.
72154         * crypt/crypt_util.c (bad_for_salt): New.
72155         (_ufc_setup_salt_r): Check that salt is long enough and within
72156         the specified alphabet.
72157         * crypt/badsalttest.c: New file.
72158         * crypt/Makefile (tests): Add it.
72159         ($(objpfx)badsalttest): New.
72161 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72163         * NEWS: Add entry for BZ #14602.
72165 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72167         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72168         type-generic.
72169         * math/libm-test.inc: Update comment listing what functions and
72170         macros are tested.
72171         (isgreater_test): New function.
72172         (isgreaterequal_test): Likewise.
72173         (isless_test): Likewise.
72174         (islessequal_test): Likewise.
72175         (islessgreater_test): Likewise.
72176         (isunordered_test): Likewise.
72177         (main): Call the new functions.
72179 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72181         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72182         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72183         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72184         * sysdeps/i386/configure: Regenerated.
72185         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72186         * sysdeps/mach/configure: Regenerated.
72187         * sysdeps/mach/hurd/configure: Regenerated.
72188         * sysdeps/powerpc/configure: Regenerated.
72189         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72190         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72191         * sysdeps/s390/s390-32/configure: Regenerated.
72192         * sysdeps/s390/s390-64/configure: Regenerated.
72193         * sysdeps/sh/configure: Regenerated.
72194         * sysdeps/sparc/configure: Regenerated.
72195         * sysdeps/unix/sysv/linux/configure: Regenerated.
72196         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72197         * sysdeps/x86_64/configure: Regenerated.
72199         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72200         defined.  Don't check if MAP is NULL.
72202 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72204         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72205         (_G_stat64): Likewise.
72206         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72207         (_G_stat64): Likewise.
72208         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72209         instead of struct _G_stat64.
72210         * libio/fileops.c (mmap_remap_check): Likewise.
72211         (decide_maybe_mmap): Likewise.
72212         (_IO_new_file_seekoff): Likewise.
72213         (_IO_file_stat): Likewise.
72214         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72215         _G_off64_t.
72216         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72217         instead of struct _G_stat64.
72218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72220 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72222         [BZ #14602]
72223         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72224         Replace with ...
72225         (CHECK_EOL): New macro.
72226         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72227         CHECK_EOL.
72228         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72229         Replace with CHECK_EOL.
72230         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72231         Replace with CHECK_EOL.
72233 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72235         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72236         type-generic.
72237         * math/libm-test.inc: Update comment listing what functions and
72238         macros are tested.
72239         (finite_test): New function.
72240         (isinf_test): Likewise.
72241         (isnan_test): Likewise.
72242         (fpclassify_test): Test subnormal input.
72243         (isfinite_test): Likewise.
72244         (isnormal_test): Likewise.
72245         (main): Call the new functions.
72247 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72249         [BZ #14660]
72250         * Makerules (%.dynsym): Force C locale when running
72251         $(OBJDUMP) --dynamic-syms.
72253 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72255         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72256         <stdint.h>.
72258 2012-10-06  David S. Miller  <davem@davemloft.net>
72260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72261         upper 32-bits of the length value in %o2 since we use branch-on-register
72262         tests which consider the entire 64-bit register.
72264 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72266         * string/test-strstr.c (check2): Add a test for page boundary.
72268 2012-10-05  David S. Miller  <davem@davemloft.net>
72270         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72271         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72272         file.
72273         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72274         sysdep_routines.
72275         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72276         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72277         and bzero when HWCAP_SPARC_CRYPTO is present.
72279 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72281         [BZ #14602]
72282         * string/test-strstr.c (check2): New function.
72283         (test_main): Call check2.
72285         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72286         and bug-strchr1.
72287         * string/bug-strcasestr1.c (do_test): Moved to ...
72288         * string/test-strcasestr.c (check1): Here.  New function.
72289         (do_one_test): Break out result checking code into ...
72290         (check_result): This.  New function.
72291         (do_one_test): Call check_result.
72292         (test_main): Call check1.
72293         * string/bug-strchr1.c (do_test): Moved to ...
72294         * string/test-strchr.c (check1): Here.  New function.
72295         (do_one_test): Break out result checking code into ...
72296         (check_result): This.  New function.
72297         (do_one_test): Call check_result.
72298         (test_main): Call check1.
72299         * string/bug-strstr1.c (main): Moved to ...
72300         * string/test-strstr.c (check1): Here.  New function.
72301         (do_one_test): Break out result checking code into ...
72302         (check_result): This.  New function.
72303         (do_one_test): Call check_result.
72304         (test_main): Call check1.
72305         * string/bug-strcasestr1.c: Removed.
72306         * string/bug-strchr1.c: Likewise.
72307         * string/bug-strstr1.c: Likewise.
72309         * elf/Makefile (dl-routines): Add hwcaps.
72310         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72311         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72312         (_dl_important_hwcaps): Moved to ...
72313         * elf/dl-hwcaps.c: Here.  New file.
72314         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72316         [BZ #14557]
72317         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72318         if IS_IN_rtld isn't defined.
72320         * elf/dl-support.c (_dl_sysinfo_map): New.
72321         Include "get-dynamic-info.h" and "setup-vdso.h".
72322         (_dl_non_dynamic_init): Call setup_vdso.
72323         * elf/dynamic-link.h: Don't include <assert.h>.
72324         (elf_get_dynamic_info): Moved to ...
72325         * elf/get-dynamic-info.h: Here.  New file.
72326         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72327         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72328         * elf/setup-vdso.h: Here.  New file.
72329         * elf/rtld.c: Include "setup-vdso.h".
72330         (dl_main): Call setup_vdso.
72332 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72334         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72335         creal in comment listing functions tested.  List finite, isinf,
72336         isnan, isless, islessequal, isgreater, isgreaterequal,
72337         islessgreater, isunordered, lgamma_r and pow10 as functions and
72338         macros not tested.  Mention which functions not tested are aliases
72339         for other functions.  Fix typo.  Note that signs of NaNs are not
72340         tested.
72342         * scripts/config.guess: Update from config.git.
72343         * scripts/config.sub: Likewise.
72345 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72347         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72348         * misc/madvise.c (madvise): Renamed to __madvise.
72349         Make madvise a weak alias.
72350         * include/sys/mman.h: Declare __madvise.
72351         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72352         * sysdeps/unix/syscalls.list
72353         (madvise): Make __madvise the strong name, and madvise a weak alias.
72354         * sysdeps/unix/sysv/linux/syscalls.list
72355         (madvise, mmap): Remove redundant entries.
72356         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72357         * malloc/malloc.c (mtrim): Likewise.
72358         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72360 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72362         * sysdeps/mach/hurd/dl-cache.c: File removed.
72363         * config.h.in (USE_LDCONFIG): New #undef.
72364         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72365         * configure: Regenerated.
72366         * elf/Makefile (dl-routines): Add dl-cache only under
72367         [$(use-ldconfig) = yes].
72368         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72369         cache on [USE_LDCONFIG].
72370         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72371         [USE_LDCONFIG].
72372         * elf/rtld.c (dl_main): Likewise.
72374 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72376         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72377         _SC_LEVEL4_CACHE_LINESIZE.
72379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72381         * sysdeps/unix/bsd/confstr.h: File removed.
72383 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72385         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72386         sys/sdt-config.h.
72388 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72390         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72391         Make 'mapoff' field ElfW(Off) rather than off_t.
72393 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72395         * nscd/Makefile: Remove nscd-cflags and all its users.
72396         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72397         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72399         [BZ #10631]
72400         * malloc.c (malloc_printerr): Clarify error message.
72402 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72404         [BZ #14648]
72405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72406         Set bit_FMA_Usable if FMA is supported.
72407         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72408         macro.
72409         (bit_FMA4_Usable): Updated.
72410         (index_FMA_Usable): New macro.
72411         (CPUID_FMA): Likewise.
72412         (HAS_FMA): Defined with bit_FMA_Usable.
72414 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72416         * bits/types.h (__swblk_t): Type removed.
72417         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72418         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72420         (__SWBLK_T_TYPE): Likewise.
72421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72422         (__SWBLK_T_TYPE): Likewise.
72423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72424         (__SWBLK_T_TYPE): Likewise.
72425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72426         (__SWBLK_T_TYPE): Likewise.
72428 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72429             Honza Horak <hhorak@redhat.com>
72431         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72432         (xdr_mapname): Use YPMAXMAP as maxsize.
72433         (xdr_peername): Use YPMAXPEER as maxsize.
72434         (xdr_keydat): Use YPAXRECORD as maxsize.
72435         (xdr_valdat): Use YPMAXRECORD as maxsize.
72437 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72439         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72441         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72442         * csu/init-first.c: ... here.
72443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72444         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72446         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72447         * sysdeps/i386/init-first.c: File removed.
72448         * sysdeps/sh/init-first.c: File removed.
72450 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72452         [BZ #14645]
72453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72454         if x * y might underflow to zero and z is zero.
72455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72457         * math/libm-test.inc (min_subnorm_value): New variable.
72458         (fma_test): Add more tests.
72459         (fma_test_towardzero): Likewise.
72460         (fma_test_downward): Likewise.
72461         (fma_test_upward): Likewise.
72462         (initialize): Set min_subnorm_value.
72464 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72466         [BZ #14638]
72467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72468         0 + 0.
72469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72470         mode for addition resulting in exact zero.
72471         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72473         exact 0 + 0.
72474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72476         * math/libm-test.inc (fma_test): Add more tests.
72477         (fma_test_towardzero): New function.
72478         (fma_test_downward): Likewise.
72479         (fma_test_upward): Likewise.
72480         (main): Call the new functions.
72482 2012-09-28  David S. Miller  <davem@davemloft.net>
72484         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72486 2012-09-28  Roland McGrath  <roland@hack.frob.com>
72488         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72489         instead of SIGALRM.
72491         * sysdeps/gnu/_G_config.h: Moved to ...
72492         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72493         * sysdeps/mach/hurd/_G_config.h: Moved to ...
72494         * sysdeps/generic/_G_config.h: ... here.
72496         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
72498         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72500         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72501         Conditionalize target on [libnss_test1.so-version].
72503         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72505         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72506         (elfobjdir): Move out of conditionals.
72508         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72509         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72510         (__nss_lookup_function): Conditionalize label remove_from_tree on
72511         [!DO_STATIC_NSS || SHARED], matching its only use.
72513 2012-09-28  David S. Miller  <davem@davemloft.net>
72515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72516         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72517         file.
72518         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72519         sysdep_routines.
72520         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72522         when HWCAP_SPARC_CRYPTO is present.
72524 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72526         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72528 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72530         [BZ #6530]
72531         * stdio-common/vfprintf.c (process_string_arg): Revert
72532         2000-07-22 change.
72534 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72536         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72537         for testcase.
72538         * stdio-common/tst-sprintf.c: Include <locale.h>
72539         (main): Test sprintf's handling of incomplete multibyte
72540         characters.
72542 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72544         * elf/dl-runtime.c (VERSYMIDX): Removed.
72545         * elf/dl-version.c (VERSYMIDX): Likewise.
72546         * elf/do-rel.h (VERSYMIDX): Likewise.
72547         (VALIDX): Likewise.
72548         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72549         * elf/rtld.c (VALIDX): Likewise.
72550         (ADDRIDX): Likewise.
72551         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72552         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72553         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72554         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72555         (VALIDX): Likewise.
72556         (ADDRIDX): Likewise.
72558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72560         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72562 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72564         [BZ #11438]
72565         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72566         to global scope.
72567         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72568         addresses are in the same scope as 192.0.2/24.
72569         * posix/gai.conf: Document new scope table defaults.
72571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72573         [BZ #5298]
72574         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72575         for ftell.  Compute offsets from write pointers instead.
72576         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72578 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72580         [BZ #14543]
72581         * libio/Makefile (tests): New test case tst-fseek.
72582         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72583         combination works in wide mode.
72584         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72585         state when the external buffer state changes.
72587 2012-09-27  David S. Miller  <davem@davemloft.net>
72589         [BZ #14376]
72590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72591         pass reloc->r_addend in as the 'high' argument to
72592         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72596 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72598         * rt/tst-aio2.c: Include <pthread.h>.
72599         * rt/tst-aio3.c: Likewise.
72601 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72603         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72605 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72607         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72608         contents on [SHARED].
72610 2012-09-26  Marek Polacek  <polacek@redhat.com>
72612         [BZ #14530]
72613         [BZ #13741]
72614         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72615         for C++ and GCC <4.3 as well as for non GCC compilers.
72617 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72621 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72623         * Makefile.in (all, install): Declare with .PHONY.
72624         Reported by Michael Hope <michael.hope@linaro.org>.
72626 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72628         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72629         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72630         system header.
72631         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72632         Likewise.
72633         (sydep_routines): Add the new and the internal functions.
72634         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72635         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72637         (GLIBC_2.17): Add the new function.
72638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72639         (GLIBC_2.17): Likewise.
72640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72641         (GLIBC_2.17): Likewise.
72642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72643         (GLIBC_2.17): Likewise.
72644         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72646 2012-09-25  Alan Modra  <amodra@gmail.com>
72648         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72649         Add release barrier before setting once_control to say
72650         initialisation is done.  Add hints on lwarx.  Use macro in
72651         place of isync.
72652         (clear_once_control): Add release barrier.
72654 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72656         [BZ #13629]
72657         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72658         specially.
72659         * math/s_clog10.c (__clog10): Likewise.
72660         * math/s_clog10f.c (__clog10f): Likewise.
72661         * math/s_clog10l.c (__clog10l): Likewise.
72662         * math/s_clogf.c (__clogf): Likewise.
72663         * math/s_clogl.c (__clogl): Likewise.
72664         * math/Makefile (libm-calls): Add x2y2m1.
72665         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72666         (__x2y2m1): Likewise.
72667         (__x2y2m1l): Likewise.
72668         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72669         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72670         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72671         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72672         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72673         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72674         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72675         * sysdeps/i386/fpu/libm-test-ulps: Update.
72676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72678         [BZ #14621]
72679         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72680         int as type of variable DEPTH.
72681         (glob): Use size_t instead of int as type of variables NEWCOUNT
72682         and OLD_PATHC.
72684 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72686         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72687         Add s_sincosf-sse2.
72688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72690         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72691         macros for using routine as __sincosf_ia32.
72692         Use macro for function declaration and weak_alias.
72693         * sysdeps/i386/fpu/libm-test-ulps: Update.
72695         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72698         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72699         subnormal argument.
72700         * math/s_cexpf.c (__cexpf): Likewise.
72701         * math/s_csinf.c (__csinf): Likewise.
72702         * math/s_csinhf.c (__csinhf): Likewise.
72703         * math/s_ctanf.c (__ctanf): Likewise.
72704         * math/s_ctanhf.c (__ctanhf): Likewise.
72705         * math/s_ccosh.c (__ccoshf): Likewise.
72706         * math/s_cexp.c (__cexpl): Likewise.
72707         * math/s_csin.c (__csin): Likewise.
72708         * math/s_csinh.c (__csinh): Likewise.
72709         * math/s_ctan.c (__ctan): Likewise.
72710         * math/s_ctanh.c (ctanh): Likewise.
72711         * math/s_ccoshl.c (__ccoshl): Likewise.
72712         * math/s_cexpl.c (__cexpl): Likewise.
72713         * math/s_csinl.c (__csinl): Likewise.
72714         * math/s_csinhl.c (__csinhl): Likewise.
72715         * math/s_ctanl.c (__ctanl): Likewise.
72716         * math/s_ctanhl.c (__ctanhl): Likewise.
72718 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72720         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72721         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72722         (_IO_off_t): Define to __off_t, not _G_off_t.
72723         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72724         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72725         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72726         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72727         type of __dummy and __dummy2 fields.
72728         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72729         (_G_ssize_t): Likewise.
72730         (_G_off_t): Likewise.
72731         (_G_pid_t): Likewise.
72732         (_G_uid_t): Likewise.
72733         (_G_wchar_t): Likewise.
72734         (_G_wint_t): Likewise.
72735         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72736         (_G_ssize_t): Likewise.
72737         (_G_off_t): Likewise.
72738         (_G_pid_t): Likewise.
72739         (_G_uid_t): Likewise.
72740         (_G_wchar_t): Likewise.
72741         (_G_wint_t): Likewise.
72742         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72743         (_G_ssize_t): Likewise.
72744         (_G_off_t): Likewise.
72745         (_G_pid_t): Likewise.
72746         (_G_uid_t): Likewise.
72747         (_G_wchar_t): Likewise.
72748         (_G_wint_t): Likewise.
72750 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72752         * malloc/arena.c: Include malloc-sysdep.h.
72753         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72754         is sufficient to shrink the heap or an unmap is needed.
72755         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72756         new function check_may_shrink_heap.
72757         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72758         new function check_may_shrink_heap.
72760 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72762         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72763         comments.
72765 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72767         * catgets/test-gencat.sh: Add "set -e".
72768         * elf/tst-pathopt.sh: Likewise.
72769         * grp/tst_fgetgrent.sh: Likewise.
72770         * iconvdata/run-iconv-test.sh: Likewise.
72771         * intl/tst-gettext.sh: Likewise.
72772         * intl/tst-gettext2.sh: Likewise.
72773         * intl/tst-gettext4.sh: Likewise.
72774         * intl/tst-gettext6.sh: Likewise.
72775         * intl/tst-translit.sh: Likewise.
72776         * io/ftwtest-sh: Likewise.
72777         * libio/test-freopen.sh: Likewise.
72778         * malloc/tst-mtrace.sh: Likewise.
72779         * posix/globtest.sh: Likewise.
72780         * posix/tst-getconf.sh: Likewise.
72781         * posix/wordexp-tst.sh: Likewise.
72782         * stdio-common/tst-printf.sh: Likewise.
72783         * stdio-common/tst-unbputc.sh: Likewise.
72784         * stdlib/tst-fmtmsg.sh: Likewise.
72785         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72786         * catgets/Makefile: Do not specify -e option when running
72787         testsuite shell scripts.
72788         * elf/Makefile: Likewise.
72789         * grp/Makefile: Likewise.
72790         * iconvdata/Makefile: Likewise.
72791         * intl/Makefile: Likewise.
72792         * io/Makefile: Likewise.
72793         * libio/Makefile: Likewise.
72794         * malloc/Makefile: Likewise.
72795         * posix/Makefile: Likewise.
72796         * stdio-common/Makefile: Likewise.
72797         * stdlib/Makefile: Likewise.
72798         * sysdeps/x86_64/Makefile: Likewise.
72800         * io/ftwtest-sh: Add copyright header.
72801         * posix/globtest.sh: Likewise.
72802         * posix/tst-getconf.sh: Likewise.
72803         * posix/wordexp-tst.sh: Likewise.
72804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72806 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72808         [BZ #13679]
72809         * Makeconfig (+link): Defined as $(+link-static) if
72810         $(build-shared) isn't yes.
72811         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72812         isn't yes.
72813         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72815         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72817         [BZ #14562]
72818         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72819         new chunk size with MALLOC_ALIGN_MASK.
72821 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72823         [BZ #5044]
72824         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72825         <rounding-mode.h>.
72826         (__printf_fphex): Determine rounding using get_rounding_mode and
72827         round_away.
72828         * stdio-common/tst-printf-round.c (struct hex_test): New
72829         structure.
72830         (hex_tests): New variable.
72831         (test_hex_in_one_mode): New function.
72832         (do_test): Also run tests for hex float output.
72834 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72836         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72837         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72838         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72839         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72840         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72841         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72842         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72843         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72845 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72847         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72848         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72849         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72850         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72852 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72854         [BZ #14579]
72855         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72856         mode only.
72857         * elf/tst-rtld-load-self.sh: New test.
72858         * elf/Makefile: Run it.
72860 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72862         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72863         (tst-writev-ENV): Remove.
72864         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72866 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72868         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72870 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72872         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72873         unconditional.
72874         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72875         Likewise.
72876         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72877         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72879         Likewise.
72881 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72883         [BZ #14587]
72884         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72885         * config.make.in (have-cpp-asm-debuginfo): Removed.
72886         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72887         * configure: Regenerated.
72889 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72891         [BZ #5044]
72892         * stdio-common/printf_fp.c: Include <stdbool.h> and
72893         <rounding-mode.h>.
72894         (___printf_fp): Determine rounding using get_rounding_mode and
72895         round_away.
72896         * stdio-common/tst-printf-round.c: New file.
72897         * stdio-common/Makefile (tests): Add tst-printf-round.
72898         (link-libm): New variable.
72899         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72901 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72903         [BZ #14576]
72904         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72905         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72906         Likewise.
72907         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72908         Likewise.
72910 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72912         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72913         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72914         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72915         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72917 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72919         [BZ #14518]
72920         * include/rounding-mode.h: New file.
72921         * sysdeps/generic/get-rounding-mode.h: Likewise.
72922         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72923         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72924         (MAX_VALUE): New macro.
72925         (MIN_VALUE): Likewise.
72926         (overflow_value): New function.
72927         (underflow_value): Likewise.
72928         (round_and_return): Use overflow_value and underflow_value to
72929         determine return values in overflow and underflow cases.  Use
72930         round_away to determine rounding depending on rounding mode.
72931         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72932         determine return values in overflow and underflow cases.
72933         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72934         (struct test_results): New structure.
72935         (struct test): Use struct test_results to store expected results
72936         for all rounding modes.
72937         (TEST): Include expected results for all rounding modes.
72938         (test_in_one_mode): New function.
72939         (do_test): Use test_in_one_mode to compute and check results.
72940         Check results for all rounding modes.
72941         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72942         $(link-libm).
72944 2012-12-09  Allan McRae  <allan@archlinux.org>
72946         * sysdeps/i386/fpu/libm-test-ulps: Update
72948 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72950         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72951         (_G_int32_t): Likewise.
72952         (_G_uint16_t): Likewise.
72953         (_G_uint32_t): Likewise.
72954         (_G_HAVE_BOOL): Likewise.
72955         (_G_HAVE_ATEXIT): Likewise.
72956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72957         (_G_HAVE_IO_FILE_OPEN): Likewise.
72958         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72959         (_G_int32_t): Likewise.
72960         (_G_uint16_t): Likewise.
72961         (_G_uint32_t): Likewise.
72962         (_G_HAVE_BOOL): Likewise.
72963         (_G_HAVE_ATEXIT): Likewise.
72964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72965         (_G_HAVE_IO_FILE_OPEN): Likewise.
72966         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72967         (_G_int32_t): Likewise.
72968         (_G_uint16_t): Likewise.
72969         (_G_uint32_t): Likewise.
72970         (_G_HAVE_BOOL): Likewise.
72971         (_G_HAVE_ATEXIT): Likewise.
72972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72973         (_G_HAVE_IO_FILE_OPEN): Likewise.
72975 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72977         * csu/libc-tls.c: Update copyright years.
72979 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72981         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72982         [!_G_USING_THUNKS]: Remove conditional code.
72983         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72984         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72986         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72987         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72988         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72989         (_G_VTABLE_LABEL_PREFIX): Likewise.
72990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72991         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72992         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72993         (_G_VTABLE_LABEL_PREFIX): Likewise.
72994         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72995         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72997         (_G_VTABLE_LABEL_PREFIX): Likewise.
72998         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73000 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73002         * libio/Makefile: Include ../Makeconfig before tests.
73003         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73004         only if $(build-shared) is yes.
73006         * iconv/gconv_db.c: Update copyright years.
73008 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73010         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73011         unwind info if defined PIC. Fix special cases description.
73012         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73014         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73015         DP_HI_MASK entry.
73016         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73018 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73020         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73022         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73023         is NULL.
73025         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73026         (LDLIBS-tst-chk4): This.
73027         (LDFLAGS-tst-chk5): Renamed to ...
73028         (LDLIBS-tst-chk5): This.
73029         (LDFLAGS-tst-chk6): Renamed to ...
73030         (LDLIBS-tst-chk6): This.
73031         (LDFLAGS-tst-lfschk4): Renamed to ...
73032         (LDLIBS-tst-lfschk4): This.
73033         (LDFLAGS-tst-lfschk5): Renamed to ...
73034         (LDLIBS-tst-lfschk5): This.
73035         (LDFLAGS-tst-lfschk6): Renamed to ...
73036         (LDLIBS-tst-lfschk6): This.
73038         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73039         on $(common-objpfx)soversions.mk.
73041 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73043         [BZ #10014]
73044         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73045         example host name.
73047 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73049         * malloc/arena.c (arena_get_retry): New function that gets
73050         another arena for the caller to try its request on.
73051         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73052         current arena cannot fulfill the request.
73053         (__libc_memalign): Likewise.
73054         (__libc_memalign): Likewise.
73055         (__libc_pvalloc): Likewise.
73056         (__libc_calloc): Likewise.
73058 2012-09-05  John Tobey  <john.tobey@gmail.com>
73060         [BZ #13542]
73061         * manual/arith.texi (Operations on Complex): Fix description
73062         of carg branch cut.
73064 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73066         [BZ #10014]
73067         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73068         host name.
73070         [BZ #10038]
73071         * manual/memory.texi (Memory): Make order of menu items match
73072         order of sections.
73074 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73076         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73077         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73078         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73082         * csu/libc-tls.c (static_dtv): Renamed to ...
73083         (_dl_static_dtv): This.  Make it global.
73084         (_dl_initial_dtv): Removed.
73085         (__libc_setup_tls): Updated.
73086         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73087         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73088         DL_INITIAL_DTV.
73090 2012-09-06  Petr Machata  <pmachata@redhat.com>
73092         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73093         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73094         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73095         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73099         [BZ #14545]
73100         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73101         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73102         freeing dtv[-1].
73104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73106         [BZ #14544]
73107         * Makeconfig (link-static-before-libc): Replace $(+prector)
73108         with $(+prectorT).
73109         (link-static-after-libc): Replace $(+postctor) with
73110         $(+postctorT).
73111         (link-bounded): Replace $(+prector)/$(+postctor) with
73112         $(+prectorT)/$(+postctorT).
73113         (+prectorT): New macro.
73114         (+postctorT): Likewise.
73116 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73118         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73119         (round_str): Handle values above the maximum for IBM long double
73120         as inexact.
73121         * stdlib/tst-strtod-round.c (tests): Regenerated.
73123 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73125         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73126         assembler flag.
73127         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73128         zarch_nohighgprs around the zarch optimized routines.
73129         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73130         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73132         for zarch.
73134 2012-09-05  David S. Miller  <davem@davemloft.net>
73136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73138         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73139         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73140         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73142         entries.
73144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73146         * malloc/arena.c: Fold copyright years.
73147         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73155         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73159         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73160         change internal state upon failure.
73162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73164         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73165         * malloc/memusage.c (mmap): Likewise.
73166         (mmap64, mremap): Likewise.  Adjust name in comment.
73168 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73170         * libio/fileops.c: Fix typos in comments.
73171         * libio/oldfileops.c: Likewise.
73172         * libio/wfileops.c: Likewise.
73174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73176         [BZ #1349]
73177         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73178         (tst-malloc-usable-ENV): Set environment for test case.
73179         * malloc/hooks.c (malloc_check_get_size): New function to get
73180         requested size.
73181         * malloc/malloc.c (musable): Use malloc_check_get_size.
73182         * malloc/tst-malloc-usable.c: New test case.
73184 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73186         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73188 2012-09-05  Allan McRae  <allan@archlinux.org>
73190         [BZ #13966]
73191         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73192         determine header location.
73193         * configure: Regenerated.
73195 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73197         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73198         float format.
73199         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73200         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73201         format.
73202         (test): Regenerate.
73204 2012-09-04  David S. Miller  <davem@davemloft.net>
73206         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73207         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73210 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73212         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73213         failures.
73215         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73217 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73219         [BZ #9914]
73220         * libio/iogetdelim.c: Include <limits.h>.
73221         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73222         + len + 1 would overflow.
73224 2012-09-03  Andreas Jaeger  <aj@suse.de>
73226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73227         * sysdeps/i386/fpu/libm-test-ulps: Update.
73229 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73232         Add s_sinf-sse2, s_conf-sse2.
73234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73235         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73236         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73237         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73239         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73240         for using routine as __sinf_ia32.
73241         Use macro for function declaration and weak_alias.
73242         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73243         for using routine as __cosf_ia32.
73244         Use macro for function declaration and weak_alias.
73246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73247         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73249         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73250         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73253         * math/libm-test.inc (cos_test): Add more test cases.
73254         (sin_test): Likewise.
73255         (sincos_test): Likewise.
73257 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73259         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73260         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73261         hidden.
73262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73264 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73266         [BZ #14538]
73267         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73268         first element of the GOT.
73269         (elf_machine_load_address): Return the difference between
73270         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73272 2012-09-01  Allan McRae  <allan@archlinux.org>
73274         [BZ #13412]
73275         * configure.in (AWK): Require gawk version 3.0 or later.
73276         * configure: Regenerated.
73278 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73280         * sysdeps/unix/sysv/linux/kernel-features.h
73281         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73282         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73283         [__NR_clock_getres]: Make code unconditional.
73284         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73285         (clock_getcpuclockid): Remove code left unreachable by removal of
73286         conditionals.
73287         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73288         code unconditional.
73289         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73291         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73292         Make code unconditional.
73293         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73294         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73295         * sysdeps/unix/sysv/linux/clock_settime.c
73296         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73297         conditional code.
73298         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73301 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73303         [BZ #14476]
73304         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73305         scripts/test-installation.pl.
73307         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73308         and $ld_so_version if it is set.
73310 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73312         [BZ #14516]
73313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73314         failure if reading from procfs failed.
73315         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73319         * sysdeps/unix/sysv/linux/kernel-features.h
73320         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73321         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73322         Remove conditional code.
73323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73324         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73325         Remove conditional code.
73326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73327         * sysdeps/unix/sysv/linux/i386/fxstat.c
73328         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73330         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73331         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73333         * sysdeps/unix/sysv/linux/i386/lxstat.c
73334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73336         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73337         Remove conditional code.
73338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73339         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73340         Remove conditional code.
73341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73342         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73343         <kernel-features.h>.
73344         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73345         Remove.
73346         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73347         Remove conditional code.
73348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73349         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73350         Remove conditional.
73352 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73354         [BZ #5400]
73355         * NEWS: Add fixed bug number.
73357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73359         [BZ #14519]
73360         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73361         underflowing exponent in case of negative sign.
73362         * stdlib/tst-strtod-round-data: Add more tests.
73363         * stdlib/tst-strtod-round.c (tests): Regenerated.
73365         [BZ #3479]
73366         * stdlib/strtod_l.c (NDIG): Remove.
73367         (HEXNDIG): Likewise.
73368         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73369         smallest representable value.
73370         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73371         lie within an exact representation of 1/2 ulp of the result.
73372         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73373         unconditionally.
73374         (TENS_P9_IDX): Define unconditionally.
73375         (TENS_P9_SIZE): Likewise.
73376         (TENS_P10_IDX): Likewise.
73377         (TENS_P10_SIZE): Likewise.
73378         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73379         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73381         entries for 10^2^13 and 10^2^14.
73382         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73383         (TENS_P13_IDX): Define.
73384         (TENS_P13_SIZE): Likewise.
73385         (TENS_P14_IDX): Likewise.
73386         (TENS_P14_SIZE): Likewise.
73387         (_fpioconst_pow10): Change array size to
73388         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73389         unconditional.
73390         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73391         1024]: Add entries for 10^2^13 and 10^2^14.
73392         [LAST_POW10 > _LAST_POW10]: Remove #error.
73393         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73394         (_fpioconst_pow10): Change array size to
73395         FPIOCONST_POW10_ARRAY_SIZE.
73396         * stdlib/gen-fpioconst.c: New file.
73397         * stdlib/gen-tst-strtod-round.c: Likewise.
73398         * stdlib/tst-strtod-round-data: Likewise.
73399         * stdlib/tst-strtod-round.c: Likewise.
73400         * stdlib/Makefile (tests): Add tst-strtod-round.
73402         [BZ #14459]
73403         * stdlib/strtod_l.c: Include <stdint.h>.
73404         (NDEBUG): Do not define.
73405         (round_and_return): Change EXPONENT parameter to type intmax_t.
73406         Rearrange calculations to avoid internal overflow possibilities.
73407         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73408         Rearrange calculations to avoid internal overflow possibilities.
73409         Assert that number fits inside MPNSIZE limbs.
73410         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73411         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73412         calculations and add assertions to avoid internal overflow
73413         possibilities.  Add casts to avoid signed/unsigned operations.
73414         * stdlib/tst-strtod-overflow.c: New file.
73415         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73417 2012-08-25  Marek Polacek  <polacek@redhat.com>
73419         * time/time.h: Fix some typos in comments.
73421 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73423         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73424         * posix/tst-rfc3484-2.c: Likewise.
73425         * posix/tst-rfc3484-3.c: Likewise.
73427 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73429         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73430         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73432 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73434         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73435         #include of fxstatat64.c.
73437 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73439         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73440         * shadow/getspent_r.c: Likewise.
73441         * shadow/getspnam.c: Likewise.
73442         * shadow/getspnam_r.c: Likewise.
73443         * gshadow/getsgent.c: Likewise.
73444         * gshadow/getsgent_r.c: Likewise.
73445         * gshadow/getsgnam.c: Likewise.
73446         * gshadow/getsgnam_r.c: Likewise.
73447         * inet/getnetbyad.c: Likewise.
73448         * inet/getnetbyad_r.c: Likewise.
73449         * inet/getnetbynm.c: Likewise.
73450         * inet/getnetbynm_r.c: Likewise.
73451         * inet/getnetent.c: Likewise.
73452         * inet/getnetent_r.c: Likewise.
73453         * inet/getproto.c: Likewise.
73454         * inet/getproto_r.c: Likewise.
73455         * inet/getprtent.c: Likewise.
73456         * inet/getprtent_r.c: Likewise.
73457         * inet/getprtname.c: Likewise.
73458         * inet/getprtname_r.c: Likewise.
73459         * inet/getrpcbyname.c: Likewise.
73460         * inet/getrpcbyname_r.c: Likewise.
73461         * inet/getrpcbynumber.c: Likewise.
73462         * inet/getrpcbynumber_r.c: Likewise.
73463         * inet/getrpcent.c: Likewise.
73464         * inet/getrpcent_r.c: Likewise.
73465         * inet/getaliasent.c: Likewise.
73466         * inet/getaliasent_r.c: Likewise.
73467         * inet/getaliasname.c: Likewise.
73468         * inet/getaliasname_r.c: Likewise.
73469         * nscd/getgrgid_r.c: Likewise.
73470         * nscd/getgrnam_r.c: Likewise.
73471         * nscd/gethstbyad_r.c: Likewise.
73472         * nscd/gethstbynm3_r.c: Likewise.
73473         * nscd/getpwnam_r.c: Likewise.
73474         * nscd/getpwuid_r.c: Likewise.
73475         * nscd/getsrvbynm_r.c: Likewise.
73476         * nscd/getsrvbypt_r.c: Likewise.
73477         * nscd/gai.c: Likewise.
73479         * configure.in (build_nscd): New substituted variable, set
73480         by --disable-build-nscd and defaults to $use_nscd.
73481         * configure: Regenerated.
73482         * config.make.in (build-nscd): New substituted variable.
73483         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73484         Change conditional to require [$(build-nscd) = yes] as well.
73485         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73487         [BZ #13696]
73488         * configure.in (use_nscd): New substituted variable, set by
73489         --disable-nscd.  If enabled, define USE_NSCD.
73490         * configure: Regenerated.
73491         * config.h.in: Add USE_NSCD.
73492         * config.make.in (use-nscd): New substituted variable.
73493         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73494         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73495         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73496         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73497         (CFLAGS-getgrnam_r.c): Likewise.
73498         (CFLAGS-initgroups.c): Likewise.
73499         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73500         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73501         Variables removed.
73502         * inet/getnetgrent_r.c
73503         (nscd_setnetgrent): New function, broken out of ...
73504         (setnetgrent): ... here.  Call it.
73505         (innetgr): Conditionalize nscd bits on [USE_NSCD].
73506         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73507         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73508         * nscd/Makefile (routines, aux): Move definitions after include of
73509         Makeconfig.  Conditionalize on [$(use-nscd) != no].
73510         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73511         Conditionalize on [USE_NSCD].
73512         (is_nscd, nscd_init_cb): Likewise.
73513         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73514         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73515         * nss/nss_db/db-init.c: Likewise.
73516         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73517         [USE_NSCD].
73518         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73519         (make_request): Use it.
73520         (cache_valid_p): New function.
73521         (__check_pf): Use it.
73522         * NEWS: Add item for --disable-nscd.
73524 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73526         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73527         to support sed >= 4.2.1-20-ga9bf076.
73528         * configure: Regenerated.
73530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73532         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73533         Conditionalize whole body on [IREL].
73535 2012-08-22  Jeff Law <law@redhat.com>
73537         [BZ #14505]
73538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73539         if the family is PF_UNSPEC.
73541 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73543         * Makerules (lib-version): Rename from V.
73544         (install-lib-nosubdir): Change V to lib-version.
73546 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73548         [BZ #14252]
73549         * powerpc32/power6/wcschr.c: New file.
73550         * powerpc32/power6/wcscpy.c: New file.
73551         * powerpc32/power6/wcsrchr.c: New file.
73552         * powerpc64/power6/wcschr.c: New file.
73553         * powerpc64/power6/wcscpy.c: New file.
73554         * powerpc64/power6/wcsrchr.c: New file.
73556 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73558         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73559         (two_way_short_needle): Use it.
73560         * string/strstr.c (AVAILABLE1_USES_J): Define.
73561         * string/strcasestr.c: Likewise.
73563         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73564         array references.
73565         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73567         [BZ #11607]
73568         * NEWS: Add an entry.
73569         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73570         define their defaults.
73571         (two_way_short_needle): Detect end-of-string on-the-fly.
73572         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73573         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73574         * string/bug-strcasestr1.c: New test.
73575         * string/Makefile: Run it.
73577 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73579         [BZ #11607]
73580         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73581         the first character.
73583 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73585         * csu/elf-init.c (__libc_csu_irel): Function removed.
73586         * csu/libc-start.c (apply_irel): New function.
73587         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73589 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73591         * sysdeps/unix/sysv/linux/kernel-features.h
73592         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73593         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73594         <kernel-features.h>.
73595         [__NR_fadvise64_64]: Make code unconditional.
73596         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73597         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73598         !__NR_fadvise64_64)]: Likewise.
73599         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73600         !__NR_fadvise64_64))]: Likewise.
73601         [__NR_fadvise64]: Make code unconditional.
73602         [!__NR_fadvise64]: Remove conditional code.
73603         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73604         <kernel-features.h>.
73605         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73606         unconditional.
73607         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73608         conditional code.
73609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73610         not include <kernel-features.h>.
73611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73612         unconditional.
73613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73614         conditional code.
73615         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73616         include <kernel-features.h>.
73617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73618         unconditional.
73619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73620         conditional code.
73622 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73625         slight instruction rearrangements per scrollpipe analysis.
73626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73628 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73630         * manual/syslog.texi (syslog; vsyslog, closelog):
73631         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73632         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73634         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73635         DSOCAPS to match condition on defining it.
73637 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73639         * sysdeps/unix/sysv/linux/kernel-features.h
73640         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73642         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73643         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73645         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73646         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73651         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73652         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73654         * sysdeps/unix/sysv/linux/kernel-features.h
73655         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73656         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73657         unconditional.
73658         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73659         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73662         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73663         Make code unconditional.
73664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73665         (__mmap64) [!__NR_mmap2]: Likewise.
73666         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73667         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73668         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73669         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73670         [__NR_mmap2]: Make code unconditional.
73671         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73672         (__mmap64) [!__NR_mmap2]: Likewise.
73674 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73676         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73678 2012-08-18  Andreas Jaeger  <aj@suse.de>
73680         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73684         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73685         * include/unistd.h (__have_sock_cloexec): Likewise.
73686         (__have_pipe2): Likewise.
73687         (__have_dup3): Likewise.
73689 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73691         [BZ #9685]
73692         * include/unistd.h (__have_pipe2): Change define into an extern int.
73693         (__have_dup3): Likewise.
73694         * socket/have_sock_cloexec.c: Include fcntl.h.
73695         (__have_pipe2): New variable.
73696         (__have_dup3): Likewise.
73698 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73700         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73702 2012-08-17  Marek Polacek  <polacek@redhat.com>
73704         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73705         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73707 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73709         * configure.in: Add AC_SUBST for sysheaders.
73710         * configure: Regenerated.
73711         * config.make.in (sysheaders): New substituted variable.
73713         * sysdeps/unix/mkfifo.c: Moved ...
73714         * sysdeps/posix/mkfifo.c: ... here.
73715         * sysdeps/unix/mkfifoat.c: Moved ...
73716         * sysdeps/posix/mkfifoat.c: ... here.
73718         * sysdeps/unix/utime.c: Moved ...
73719         * sysdeps/posix/utime.c: ... here.
73721         * sysdeps/unix/time.c: Moved ...
73722         * sysdeps/posix/time.c: ... here.
73723         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73724         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73726         * sysdeps/unix/nice.c: Moved ...
73727         * sysdeps/posix/nice.c: ... here.
73729         * sysdeps/unix/alarm.c: Moved ...
73730         * sysdeps/posix/alarm.c: ... here.
73732         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73734 2012-08-17  Jeff Law <law@redhat.com>
73736         * intl/Makefile (codeset_mo): New variable.
73737         ($(codeset_mo)): New target.
73738         (tst-codeset.out): Depend on that.  Remove explicit rule.
73739         (tst-gettext3.out, tst-gettext5.out): Likewise.
73740         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73741         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73742         * intl/tst-codeset.sh: Remove.
73743         * intl/tst-gettext3.sh: Likewise.
73744         * intl/tst-gettext5.sh: Likewise.
73746 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73748         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73749         * sysdeps/unix/syscalls.list: ... here.
73751         * sysdeps/posix/getaddrinfo.c
73752         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73753         (gaiconf_init, gaiconf_reload): Use them.
73754         [!_STATBUF_ST_NSEC]
73755         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73756         Define using time_t rather than struct timespec.
73758         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73759         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73760         Macros removed.
73761         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73762         [!NO_THREADS].
73763         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73764         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73765         Likewise.
73767         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73768         __libc_cleanup_push argument.
73770         * bits/param.h: New file.
73771         * misc/sys/param.h: New file.
73772         * include/sys/param.h: New file.
73773         * misc/Makefile (headers): Add bits/param.h.
73774         * sysdeps/generic/sys/param.h: File removed.
73775         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73776         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73777         * sysdeps/mach/hurd/bits/param.h: New file.
73778         * sysdeps/mach/hurd/sys/param.h: File removed.
73780         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73781         last change.
73783         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73784         [_IO_MTSAFE_IO].
73785         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73786         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73787         New macros.
73789         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73790         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73791         rather than -D_IO_MTSAFE_IO conditionally.
73792         * stdio-common/Makefile (CPPFLAGS): Likewise.
73793         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73794         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73795         Use $(libio-mtsafe).
73796         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73797         of -D_IO_MTSAFE_IO.
73798         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73799         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73800         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73801         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73802         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73803         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73804         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73805         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73806         (CFLAGS-fread_u_chk.c): Likewise.
73807         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73808         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73809         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73810         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73811         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73812         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73813         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73814         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73815         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73817         * libio/Makefile: Test [$(libc-reentrant) = yes]
73818         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73820         * Makeconfig
73821         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73822         * sysdeps/pthread/configure: File removed.
73823         * sysdeps/pthread/Makeconfig: New file.
73824         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73825         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73827 2012-08-16  Gary Benson  <gbenson@redhat.com>
73829         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73830         unmapping the first object in a namespace.
73832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73834         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73835         (__internal_setnetgrent): ... this.  Add internal_function to
73836         definition.  Add libc_hidden_def.
73837         (setnetgrent): Update caller.
73838         (internal_endnetgrent): Renamed to ...
73839         (__internal_endnetgrent): ... this.  Add internal_function to
73840         definition.  Add libc_hidden_def.
73841         (endnetgrent): Update caller.
73842         (internal_getnetgrent_r): Renamed to ...
73843         (__internal_getnetgrent_r): ... this.  Add internal_function to
73844         definition.  Add libc_hidden_def.
73845         (__getnetgrent_r): Update caller.
73846         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73850         * stdlib/longlong.h: Update from GCC.
73852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73854         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73855         on _QL, which is set by umul_ppmm but never used.
73856         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73857         variables, which are set by GMP macros but never used.
73858         * stdio-common/_itowa.c (_itowa): Likewise.
73859         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73860         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73862 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73864         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73865         struct La_sh_regs is not constant.
73866         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73867         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73868         and struct La_sparc64_regs are not constant.
73870 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73872         * sysdeps/unix/sysv/linux/kernel-features.h
73873         (__ASSUME_POSIX_TIMERS): Remove.
73874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73876         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73877         Make code unconditional.
73878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73879         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73880         Make code unconditional.
73881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73882         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73883         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73885         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73886         Make code unconditional.
73887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73888         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73889         (__libc_missing_posix_timers): Remove.
73891 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73893         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73894         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73896         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73898         * elf/dl-sym.c: Include <stdlib.h>.
73900         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73901         constants, which avoids warnings in 32-bit builds.
73903         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73904         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73906         * misc/lseek.c: File moved to ...
73907         * io/lseek.c: ... here.
73909         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73911         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73912         shifting LEN more than 31 bits at once.
73914 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73916         [BZ #14195]
73917         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73918         segmentation fault for a case of two empty input strings.
73919         * string/test-strncasecmp.c (check1): Renamed to...
73920         (bz12205): ...this.
73921         (bz14195): Add new testcase for two empty input strings and N > 0.
73922         (test_main): Call new testcase, adapt for renamed function.
73924 2012-08-15  Andreas Jaeger  <aj@suse.de>
73926         [BZ #14090]
73927         * crypt/md5test2.c: New test, based on test supplied by Serge
73928         Belyshev <belyshev@depni.sinp.msu.ru>.
73929         * crypt/Makefile (xtests): Add md5test-giant..
73930         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73932 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73934         [BZ #14090]
73935         * crypt/md5.c (md5_process_block): Don't assume the buffer
73936         length is less than 2**32.
73937         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73938         length is less than 2**64.
73940 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73942         * string/str-two-way.h: Include <sys/param.h>.
73943         (MAX): Macro removed.
73945         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73946         Move #define and #undef of memmove to just before and after
73947         including <string.h>.
73949         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73950         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73951         and after including <string.h>.  Move declarations of
73952         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73953         to before #include "string/memmove.c".
73955         * include/dirent.h: Declare __getdirentries.
73957         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73958         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73960 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73962         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73963         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73964         * sysdeps/i386/configure: Regenerated.
73965         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73966         STABS_CURRENT_FILE, and STABS_FUN.
73967         (END): Remove call to STABS_FUN_END.
73968         (STABS_CURRENT_FILE1): Delete.
73969         (STABS_CURRENT_FILE): Likewise.
73970         (STABS_FUN): Likewise.
73971         (STABS_FUN_END): Likewise.
73972         (STABS_FUN2): Likewise.
73973         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73974         * sysdeps/x86_64/configure: Regenerated.
73976 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73978         * elf/dl-open.c: Include <atomic.h>.
73979         * elf/dl-lookup.c: Likewise.
73981 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73983         * sysdeps/unix/sysv/linux/kernel-features.h
73984         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73985         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73986         unconditionally.
73987         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73988         unconditionally.
73989         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73990         condition on __ASSUME_CLONE_THREAD_FLAGS.
73992 2012-08-14  Andreas Jaeger  <aj@suse.de>
73994         * sysdeps/i386/fpu/libm-test-ulps: Update.
73996 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73998         * include/atomic.h (atomic_exchange_and_add): Split into ...
73999         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74000         New atomic macros.
74002 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74006 2012-08-13  Jeff Law <law@redhat.com>
74008         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74009         null byte in the output string.
74011 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74013         * sysdeps/unix/sysv/linux/kernel-features.h
74014         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74015         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74016         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74018         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74019         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74020         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74022 2012-08-09  Jeff Law <law@redhat.com>
74024         [BZ #13939]
74025         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74026         When avoid_arena is set, don't retry in the that arena.  Pick the
74027         next one, whatever it might be.
74028         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74029         (arena_lock): Pass in new parameter to arena_get2.
74030         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74031         arena_get2.
74032         (__libc_malloc): Unify retrying after main arena failure with
74033         __libc_memalign version.
74034         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74036 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74038         [BZ #14166]
74039         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74040         to __redirect_strstr.
74041         (__strstr_sse42): Use typeof __redirect_strstr.
74042         (__strstr_ia32): Likewise.
74043         (__libc_strstr): New prototype.
74044         (strstr): Renamed to ...
74045         (__libc_strstr): This.
74046         (strstr): New strong alias of __libc_strstr.
74047         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74048         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74049         __redirect_time.
74050         Include <time.h>.
74051         (__libc_time): New prototype.
74052         (time_ifunc): Replace time with __libc_time.
74053         (time): New strong alias and hidden definition of __libc_time.
74054         (__GI_time): Remove strong alias.
74055         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74056         Include <stddef.h>.
74057         (memmove): Redefined to __redirect_memmove.
74058         (__memmove_sse2): Use typeof __redirect_memmove.
74059         (__memmove_ssse3): Likewise.
74060         (__memmove_ssse3_back): Likewise.
74061         (__libc_memmove): New prototype.
74062         (memmove): Renamed to ...
74063         (__libc_memmove): This.
74064         (memmove): New strong alias of __libc_memmove.
74066 2012-08-08  Mark Salter  <msalter@redhat.com>
74068         * elf/elf.h
74069         (R_MN10300_TLS_GD): Define.
74070         (R_MN10300_TLS_LD): Likewise.
74071         (R_MN10300_TLS_LDO): Likewise.
74072         (R_MN10300_TLS_GOTIE): Likewise.
74073         (R_MN10300_TLS_IE): Likewise.
74074         (R_MN10300_TLS_LE): Likewise.
74075         (R_MN10300_TLS_DTPMOD): Likewise.
74076         (R_MN10300_TLS_DTPOFF): Likewise.
74077         (R_MN10300_TLS_TPOFF): Likewise.
74078         (R_MN10300_SYM_DIFF): Likewise.
74079         (R_MN10300_ALIGN): Likewise.
74080         (R_MN10300_NUM): Update.
74082 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74085         Remove.
74087 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74089         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74091         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74092         sysdeps/unix -> sysdeps/posix move.
74093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74095 2012-08-07      Allan McRae     <allan@archlinux.org>
74097         [BZ #14303]
74098         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74099         (SUNOS_CPP): Likewise.
74100         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74101         not found.
74102         (open_input): Call CPP using execvp.
74104 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74106         * sysdeps/unix/sysv/linux/kernel-features.h
74107         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74108         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74109         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74110         (__ASSUME_WAITID_SYSCALL): Likewise.
74111         * sysdeps/unix/sysv/linux/dl-execstack.c
74112         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74113         code unconditional.
74114         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74115         conditional code.
74116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74117         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74118         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74119         code.
74120         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74121         unconditional.
74122         [__ASSUME_WAITID_SYSCALL]: Likewise.
74123         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74125 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74127         * sysdeps/unix/closedir.c: Renamed to ...
74128         * sysdeps/posix/closedir.c: ... here.
74129         * sysdeps/unix/dirfd.c: Renamed to ...
74130         * sysdeps/posix/dirfd.c: ... here.
74131         * sysdeps/unix/dirstream.h: Renamed to ...
74132         * sysdeps/posix/dirstream.h: ... here.
74133         * sysdeps/unix/fdopendir.c: Renamed to ...
74134         * sysdeps/posix/fdopendir.c: ... here.
74135         * sysdeps/unix/opendir.c: Renamed to ...
74136         * sysdeps/posix/opendir.c: ... here.
74137         * sysdeps/unix/readdir.c: Renamed to ...
74138         * sysdeps/posix/readdir.c: ... here.
74139         * sysdeps/unix/readdir_r.c: Renamed to ...
74140         * sysdeps/posix/readdir_r.c: ... here.
74141         * sysdeps/unix/rewinddir.c: Renamed to ...
74142         * sysdeps/posix/rewinddir.c: ... here.
74143         * sysdeps/unix/seekdir.c: Renamed to ...
74144         * sysdeps/posix/seekdir.c: ... here.
74145         * sysdeps/unix/telldir.c: Renamed to ...
74146         * sysdeps/posix/telldir.c: ... here.
74147         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74148         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74149         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74150         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74152         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74153         * bits/fcntl.h: ... here.
74155         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74156         not 0.
74157         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74158         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74159         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74160         (struct flock): Move l_start, l_len to the beginning.
74161         Use __pid_t for l_pid.
74162         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74163         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74164         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74165         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74166         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74167         [__USE_LARGEFILE64] (struct flock64): New type.
74168         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74170         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74171         * bits/dirent.h: ... here.
74173         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74174         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74176 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74178         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74179         Change from 2.6.0 to 2.6.16.
74180         * sysdeps/unix/sysv/linux/configure: Regenerated.
74181         * sysdeps/unix/sysv/linux/kernel-features.h
74182         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74183         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74184         version.
74185         (__ASSUME_UTIMES): Likewise.
74186         (__ASSUME_CLONE_STOPPED): Remove.
74187         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74188         architectures, not kernel version.
74189         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74192         (__ASSUME_WAITID_SYSCALL): Likewise.
74193         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74194         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74195         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74196         refer to older versions.
74198 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74200         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74201         Define alphasort64 as an alias.
74202         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74203         Define versionsort64 as an alias.
74204         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74205         Define scandir64 as an alias.
74206         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74207         Define scandirat64 as an alias.
74208         * dirent/alphasort64.c (alphasort64):
74209         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74210         * dirent/versionsort64.c: Likewise.
74211         * dirent/scandir64.c: Likewise.
74212         * dirent/scandirat64.c: Likewise.
74213         * sysdeps/wordsize-64/alphasort.c: File removed.
74214         * sysdeps/wordsize-64/alphasort64.c: File removed.
74215         * sysdeps/wordsize-64/scandir.c: File removed.
74216         * sysdeps/wordsize-64/scandir64.c: File removed.
74217         * sysdeps/wordsize-64/scandirat.c: File removed.
74218         * sysdeps/wordsize-64/scandirat64.c: File removed.
74219         * sysdeps/wordsize-64/versionsort.c: File removed.
74220         * sysdeps/wordsize-64/versionsort64.c: File removed.
74221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74230         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74232         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74234         [defined __arch64__ || defined __sparcv9]
74235         (__INO_T_MATCHES_INO64_T): New macro.
74236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74237         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74238         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74239         * sysdeps/unix/sysv/linux/bits/dirent.h
74240         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74241         (_DIRENT_MATCHES_DIRENT64): New macro.
74243         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74244         Define lockf64 as an alias.
74245         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74246         Define fseeko64 as an alias.
74247         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74248         Define ftello64 as an alias.
74249         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74250         Define _IO_fgetpos64 and fgetpos64 as aliases.
74251         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74252         Define _IO_fsetpos64 and fsetpos64 as aliases.
74253         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74254         Conditionalize body on this.
74255         * libio/fseeko64.c: Likewise.
74256         * libio/ftello64.c: Likewise.
74257         * libio/iofgetpos64.c: Likewise.
74258         * libio/iofsetpos64.c: Likewise.
74259         * sysdeps/wordsize-64/lockf.c: File removed.
74260         * sysdeps/wordsize-64/lockf64.c: File removed.
74261         * sysdeps/wordsize-64/fseeko.c: File removed.
74262         * sysdeps/wordsize-64/fseeko64.c: File removed.
74263         * sysdeps/wordsize-64/ftello.c: File removed.
74264         * sysdeps/wordsize-64/ftello64.c: File removed.
74265         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74266         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74267         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74268         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74280         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74282         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74284         [defined __arch64__ || defined __sparcv9]
74285         (__OFF_T_MATCHES_OFF64_T): New macro.
74286         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74287         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74289         (__OFF_T_MATCHES_OFF64_T): New macro.
74291 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74293         * stdlib/secure-getenv.c (__secure_getenv): Replace
74294         GLIBC_2_16 with GLIBC_2_17.
74296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74301 2012-08-03  David S. Miller  <davem@davemloft.net>
74303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74305 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74308         Remove.
74309         (__ASSUME_CORRECT_SI_PID): Likewise.
74310         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74311         (__ASSUME_TMPFS_NAME): Likewise.
74312         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74313         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74314         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74315         (HAVE_AUX_SECURE): Make definition unconditional.
74316         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74317         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74319 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74321         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74322         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74323         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74324         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74325         __eloop_threshold instead of SYMLOOP_MAX.
74327         * sysdeps/generic/eloop-threshold.h: New file.
74328         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74329         of MAXSYMLINKS.
74330         * elf/chroot_canon.c (chroot_canon): Likewise.
74332 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74334         [BZ #13717]
74335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74336         Change to 2.6.0 everywhere.
74337         * sysdeps/unix/sysv/linux/configure: Regenerated.
74338         * sysdeps/unix/sysv/linux/kernel-features.h
74339         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74340         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74341         kernel versions.
74342         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74343         (__ASSUME_FUTEX_REQUEUE): Remove.
74344         (__ASSUME_STATFS64): Define unconditionally.
74345         (__ASSUME_AT_SECURE): Likewise.
74346         (__ASSUME_CORRECT_SI_PID): Likewise.
74347         (__ASSUME_TGKILL): Define without depending on kernel version for
74348         i386.
74349         (__ASSUME_UTIMES): Likewise.
74350         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74351         kernel version.
74352         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74353         (__ASSUME_TMPFS_NAME): Likewise.
74354         * README: Update reference to Linux kernel versions.
74356 2012-08-02  Marek Polacek  <polacek@redhat.com>
74358         [BZ #14150]
74359         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74360         libc_cv_asm_type_prefix with %.
74361         * configure: Regenerated.
74362         * include/libc-symbols.h: Remove comment about
74363         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74364         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74365         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74366         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74367         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74368         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74371         * elf/tst-unique2mod1.c: Likewise.
74372         * elf/tst-unique1mod2.c: Likewise.
74373         * elf/tst-unique1mod1.c: Likewise.
74374         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74375         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74376         Replace ASM_TYPE_DIRECTIVE with .type.
74377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74378         * sysdeps/i386/sysdep.h: Likewise.
74379         * sysdeps/x86_64/sysdep.h: Likewise.
74380         * sysdeps/sh/sysdep.h: Likewise.
74381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74382         Do not define ASM_TYPE_DIRECTIVE.
74383         * sysdeps/powerpc/sysdep.h: Likewise.
74384         * sysdeps/powerpc/powerpc32/sysdep.h:
74385         Replace ASM_TYPE_DIRECTIVE with .type.
74386         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74387         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74388         * sysdeps/i386/fpu/e_powf.S: Likewise.
74389         * sysdeps/i386/fpu/e_expl.S: Likewise.
74390         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74391         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74392         * sysdeps/i386/fpu/e_pow.S: Likewise.
74393         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74395         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74396         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74397         * sysdeps/i386/fpu/e_log2.S: Likewise.
74398         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74399         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74400         * sysdeps/i386/fpu/e_powl.S: Likewise.
74401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74402         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74403         * sysdeps/i386/fpu/e_logl.S: Likewise.
74404         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74405         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74406         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74407         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74408         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74409         * sysdeps/i386/fpu/e_log.S: Likewise.
74410         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74411         * sysdeps/i386/fpu/e_logf.S: Likewise.
74412         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74414         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74415         * sysdeps/i386/fpu/e_log10.S: Likewise.
74416         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74418         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74419         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74420         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74421         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74422         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74423         * sysdeps/i386/i686/strtok.S: Likewise.
74424         * sysdeps/i386/i386-mcount.S: Likewise.
74425         * sysdeps/i386/strtok.S: Likewise.
74426         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74430         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74431         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74432         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74433         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74434         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74435         * sysdeps/x86_64/_mcount.S: Likewise.
74436         * sysdeps/x86_64/strtok.S: Likewise.
74437         * sysdeps/sh/_mcount.S: Likewise.
74439 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74441         * libio/iofopen.c: Include <fcntl.h>.
74442         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74443         (_IO_fopen64, fopen64): Define as aliases.
74444         * libio/iofopen64.c: Include <fcntl.h>.
74445         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74446         Conditionalize body on this.
74447         * sysdeps/wordsize-64/iofopen.c: File removed.
74448         * sysdeps/wordsize-64/iofopen64.c: File removed.
74450 2012-08-01  Marek Polacek  <polacek@redhat.com>
74452         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74453         Use dlfcn directly instead of a variable.
74454         (binfmt-subdir): Do not define.
74455         (dlfcn): Likewise.
74457 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74460         Remove all definitions.
74461         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74462         <kernel-features.h>.
74463         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74464         (miss_F_GETOWN_EX): Remove all definitions.
74465         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74466         macro definition.
74467         [!__ASSUME_FCNTL64]: Remove conditional code.
74468         [__ASSUME_FCNTL64]: Make code unconditional.
74469         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74470         <kernel-features.h>.
74471         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74472         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74473         (lockf64) [__NR_fcntl64]: Make code unconditional.
74474         (lockf64) [__ASSUME_FCNTL64]: Likewise.
74476         * sysdeps/unix/sysv/linux/kernel-features.h
74477         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74478         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74479         Make code unconditional.
74480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74483         [__NR_vfork]: Make code unconditional.
74484         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74485         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74487         [__NR_vfork]: Make code unconditional.
74488         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74489         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74491 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74493         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74494         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74496         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74497         Define mkstemp64 as an alias.
74498         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74499         Define mkstemps64 as an alias.
74500         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74501         Define mkostemp64 as an alias.
74502         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74503         Define mkostemps64 as an alias.
74504         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74505         Conditionalize body on this.
74506         * misc/mkostemp64.c: Likewise.
74507         * misc/mkostemps64.c: Likewise.
74508         * misc/mkstemps64.c: Likewise.
74509         * sysdeps/wordsize-64/mkstemp64.c: File removed.
74510         * sysdeps/wordsize-64/mkostemp64.c: File removed.
74511         * sysdeps/wordsize-64/mkostemp.c: File removed.
74512         * sysdeps/wordsize-64/mkstemp.c: File removed.
74513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74518         [BZ #14138]
74519         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74520         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74521         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74522         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74524         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74525         compat_symbol macros from <shlib-compat.h> rather than the underlying
74526         default_symbol_version and symbol_version macros, so that DEFAULT
74527         lines in shlib-versions are respected.
74528         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74530 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74532         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74533         Declare with warn_unused_result.
74534         (setgid, setregid, setegid, setresgid): Likewise.
74535         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74536         Likewise.
74537         * WUR-REPORT: Remove set*id functions.
74539 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74541         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74543 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74545         [BZ #10191]
74546         * include/sys/socket.h (__libc_accept, __libc_accept4):
74547         Add attribute_hidden.
74548         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74550         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74551         use of PTR_MANGLE.
74552         * inet/getnetgrent_r.c (setup): Likewise.
74554         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74556 2012-07-31  David S. Miller  <davem@davemloft.net>
74558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74560 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74562         [BZ #13629]
74563         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74564         value between 1.0 and 2.0 and smaller part has absolute value less
74565         than 1.0.
74566         * math/s_clog10.c (__clog10): Likewise.
74567         * math/s_clog10f.c (__clog10f): Likewise.
74568         * math/s_clog10l.c (__clog10l): Likewise.
74569         * math/s_clogf.c (__clogf): Likewise.
74570         * math/s_clogl.c (__clogl): Likewise.
74571         * math/libm-test.inc (clog_test): Add more tests.
74572         (clog10_test): Likewise.
74573         * sysdeps/i386/fpu/libm-test-ulps: Update.
74574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74576 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74578         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74579         Exit with zero in case no suitable GID is found, and write a
74580         message to standard error.
74582 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74584         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74585         rather than to 1.
74586         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74587         (MAXPATHLEN): Removed.
74588         (NOGROUP, NODEV): New macros.
74589         (setbit, clrbit, isset, isclr): New macros.
74590         (howmany, roundup, powerof2): New macros.
74591         (DEV_BSIZE): New macro.
74593         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74594         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74596         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74597         definition on [!__NO_LONG_DOUBLE_MATH].
74599         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74600         PTR_MANGLE and PTR_DEMANGLE.
74602         * socket/accept4.c (accept4): Rename to __libc_accept4.
74603         Define accept4 as a weak alias.
74605         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74606         on [_DIRENT_HAVE_D_TYPE].
74607         * io/ftw.c (ftw_dir): Likewise.
74609         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74611         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74613         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74614         Use the BSD numbers rather than the arbitrary ones we had.
74615         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74616         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74617         (SIGXCPU, SIGXFSZ): New macros.
74618         (_NSIG): Now 32.
74620         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74621         initializer on [_LIBC_REENTRANT].
74623         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74624         definitions inside [_POSIX_MAPPED_FILES].
74626         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74628         * dirent/opendir.c: Include <fcntl.h>.
74630         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74631         (__libc_getspecific): Likewise.
74632         (__libc_key_create): Likewise.
74634         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74635         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74636         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74637         (tmpfile64): Define as alias.
74638         * sysdeps/wordsize-64/tmpfile.c: File removed.
74639         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74643         * stdio-common/vfscanf.c: Include <stdbool.h>.
74644         * nss/makedb.c: Likewise.
74645         * stdio-common/_i18n_number.h: Likewise.
74646         * argp/argp-help.c: Likewise.
74647         * posix/wordexp.c: Likewise.
74648         * sysdeps/posix/spawni.c: Likewise.
74649         * nss/nss_files/files-initgroups.c: Likewise.
74650         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74651         * nss/nss_files/files-initgroups.c: Likewise.
74652         * nss/nss_db/db-netgrp.c: Likewise.
74653         * nss/nss_db/db-initgroups.c: Likewise.
74654         * io/fchmodat.c: Include <sys/stat.h>.
74656         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74657         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74659         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74660         [HAVE_MMAP].
74662         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74663         Add multiple inclusion protection.
74665 2012-07-27  David S. Miller  <davem@davemloft.net>
74667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74669 2012-07-27  Gary Benson  <gbenson@redhat.com>
74671         [BZ #14298]
74672         * elf/rtld.c: Include <stap-probe.h>.
74673         (dl_main): Added static probes "init_start" and "init_complete".
74674         * elf/dl-load.c: Include <stap-probe.h>.
74675         (lose): Take new parameter "nsid".
74676         Added static probe "map_failed".
74677         (_dl_map_object_from_fd): Pass namespace id to lose.
74678         Added static probe "map_start".
74679         (open_verify): Pass namespace id to lose.
74680         * elf/dl-open.c: Include <stap-probe.h>.
74681         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74682         and "reloc_complete".
74683         * elf/dl-close.c: Include <stap-probe.h>.
74684         (_dl_close_worker): Added static probes "unmap_start" and
74685         "unmap_complete".
74686         * elf/rtld-debugger-interface.txt: New file documenting the above.
74688 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74690         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74691         rather than a string variable.
74692         * sunrpc/rpc_main.c (h_output): Likewise.
74693         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74695 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74697         * inet/check_native.c: New file.
74699 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74701         [BZ #13629]
74702         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74703         if larger part has absolute value 1.0.
74704         * math/s_clog10.c (__clog10): Likewise.
74705         * math/s_clog10f.c (__clog10f): Likewise.
74706         * math/s_clog10l.c (__clog10l): Likewise.
74707         * math/s_clogf.c (__clogf): Likewise.
74708         * math/s_clogl.c (__clogl): Likewise.
74709         * math/libm-test.inc (clog_test): Add more tests.
74710         (clog10_test): Likewise.
74711         * sysdeps/i386/fpu/libm-test-ulps: Update.
74712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74714         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74715         (pltexit): Likewise.
74716         (La_regs): Likewise.
74717         (La_retval): Likewise.
74718         (int_retval): Likewise.
74719         Update #error for removed macros to refer only to definitions in
74720         tst-audit.h.
74721         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74722         macro.
74723         (pltexit): Likewise.
74724         (La_regs): Likewise.
74725         (La_retval): Likewise.
74726         (int_retval): Likewise.
74727         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74728         macro.
74729         (pltexit): Likewise.
74730         (La_regs): Likewise.
74731         (La_retval): Likewise.
74732         (int_retval): Likewise.
74733         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74734         macro.
74735         (pltexit): Likewise.
74736         (La_regs): Likewise.
74737         (La_retval): Likewise.
74738         (int_retval): Likewise.
74739         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74740         macro.
74741         (pltexit): Likewise.
74742         (La_regs): Likewise.
74743         (La_retval): Likewise.
74744         (int_retval): Likewise.
74745         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74746         macro.
74747         (pltexit): Likewise.
74748         (La_regs): Likewise.
74749         (La_retval): Likewise.
74750         (int_retval): Likewise.
74751         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74752         macro.
74753         (pltexit): Likewise.
74754         (La_regs): Likewise.
74755         (La_retval): Likewise.
74756         (int_retval): Likewise.
74757         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74758         macro definitions in tst-audit.h.
74759         * sysdeps/i386/tst-audit.h: New file.
74760         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74761         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74762         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74763         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74764         * sysdeps/sh/tst-audit.h: Likewise.
74765         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74766         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74767         * sysdeps/x86_64/tst-audit.h: Likewise.
74769 2012-07-26  Andreas Jaeger  <aj@suse.de>
74771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74772         ptrace.
74774         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74775         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74776         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74777         PTRACE_O_MASK.
74778         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74779         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74780         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74782         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74783         value.
74785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74786         _sigsys.
74787         (si_call_addr, si_syscall, si_arch): Define new macro.
74788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74789         _sigsys.
74790         (si_call_addr, si_syscall, si_arch): Define new marcro.
74791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74792         _sigsys.
74793         (si_call_addr, si_syscall, si_arch): Define new macro.
74794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74795         _sigsys.
74796         (si_call_addr, si_syscall, si_arch): Define new macro.
74798 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74800         [BZ #13717]
74801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74802         Change to 2.4.21 where previously 2.4.1.
74803         * sysdeps/unix/sysv/linux/configure: Regenerated.
74804         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74805         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74806         Linux kernel version.
74807         (__ASSUME_STD_AUXV): Remove.
74808         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74809         kernel version.
74810         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74811         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74812         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74813         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74814         (__ASSUME_NETLINK_SUPPORT): Likewise.
74815         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74816         (__no_netlink_support): Remove conditional definition.
74817         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74818         Remove.
74819         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74820         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74821         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74822         (if_nameindex_ioctl): Remove.
74823         (if_nameindex_netlink): Do not handle __no_netlink_support.
74824         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74825         code.
74826         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74827         Remove conditional code.
74828         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74829         code.
74830         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74831         unconditional.
74832         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74833         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74834         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74835         Remove.
74836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74837         [!__ASSUME_STD_AUXV]: Remove conditional code.
74838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74839         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74840         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74842         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74843         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74844         code.
74845         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74849         conditional code.
74850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74852         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74853         code.
74854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74855         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74856         conditional code.
74857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74858         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74859         code unconditional.
74860         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74861         conditional code.
74862         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74863         unconditional.
74864         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74865         conditional code.
74866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74867         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74868         unconditional.
74869         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74870         conditional code.
74871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74872         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74873         code unconditional.
74874         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74875         conditional code.
74876         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74877         unconditional.
74878         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74879         conditional code.
74880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74881         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74882         code unconditional.
74883         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74884         conditional code.
74885         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74886         unconditional.
74887         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74888         conditional code.
74890 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74892         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74893         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74894         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74895         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74896         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74897         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74899         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74900         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74901         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74902         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74903         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74904         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74905         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74907         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74908         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74910         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74912         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74913         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74916 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74918         * Versions.def: Add GLIBC_2.17.
74919         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74920         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74921         Introduce __libc_secure_getenv.
74922         * stdlib/Versions (2.17): Add secure_getenv
74923         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74924         * stdlib/secure-getenv.c: Rename __secure_getenv to
74925         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74926         symbol __secure_getenv for GLIBC_2.0.
74927         * stdlib/tst-secure-getenv.c: New.
74928         * stdlib/Makefile (tests): Add testcase.
74929         * manual/startup.texi (Environment Access): Document
74930         secure_getenv.
74931         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74932         __libc_secure_getenv.
74933         * inet/ruserpass.c (ruserpass): Likewise.
74934         * malloc/mtrace.c (mtrace): Likewise.
74935         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74936         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74937         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74938         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74939         HAVE_SECURE_GETENV.
74940         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74941         __secure_getenv to __libc_secure_getenv.
74942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74944         Likewise.
74945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74946         Likewise.
74947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74955 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74957         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74958         (struct La_i86_retval): Likewise.
74959         (struct La_x86_64_regs): Likewise.
74960         (struct La_x86_64_retval): Likewise.
74961         (struct La_x32_regs): Likewise.
74962         (struct La_x32_retval): Likewise.
74963         (struct La_ppc32_regs): Likewise.
74964         (struct La_ppc32_retval): Likewise.
74965         (struct La_ppc64_regs): Likewise.
74966         (struct La_ppc64_retval): Likewise.
74967         (struct La_sh_regs): Likewise.
74968         (struct La_sh_retval): Likewise.
74969         (struct La_s390_32_regs): Likewise.
74970         (struct La_s390_32_retval): Likewise.
74971         (struct La_s390_64_regs): Likewise.
74972         (struct La_s390_64_retval): Likewise.
74973         (struct La_sparc32_regs): Likewise.
74974         (struct La_sparc32_retval): Likewise.
74975         (struct La_sparc64_regs): Likewise.
74976         (struct La_sparc64_retval): Likewise.
74977         (struct audit_ifaces): Remove architecture-specific pltenter and
74978         pltexit members.
74979         * sysdeps/i386/ldsodefs.h: New file.
74980         * sysdeps/powerpc/ldsodefs.h: Likewise.
74981         * sysdeps/s390/ldsodefs.h: Likewise.
74982         * sysdeps/sh/ldsodefs.h: Likewise.
74983         * sysdeps/sparc/ldsodefs.h: Likewise.
74984         * sysdeps/x86_64/ldsodefs.h: Likewise.
74986 2012-07-25  Marek Polacek  <polacek@redhat.com>
74988         [BZ #6808]
74989         * math/libm-test.inc (yn_test): Add another test.
74990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74991         to ERANGE when the result is +-Inf.
74992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74993         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74995         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74997 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74999         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75000         equal to 0.
75001         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75002         clock_t.
75003         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75005 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75007         * configure.in <sysdeps resolving>: Correct printing
75008         Implies_before.
75009         * configure: Regenerate.
75011 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75013         * math/w_ilogb.c: Include <limits.h>.
75014         * math/w_ilogbl.c: Likewise.
75016 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75018         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75019         va_copy.  Document allowing for unavailable va_copy only as
75020         pre-C99 compatibility.
75021         * manual/string.texi (Copying and Concatenation): Use va_copy
75022         instead of __va_copy in concat example.
75024 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75026         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75027         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75028         it if not null.
75030         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75031         with O_NOLINK passed to __file_name_lookup.
75033         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75034         with O_NOLINK passed to __file_name_lookup.
75036         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75037         negative N or less than NGIDS.
75039         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75040         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75041         enough.  Use memcpy instead of strncpy.
75043 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75045         * elf/Makefile (check-data): Remove.
75046         (localplt.data): New vpath directive.
75047         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75048         instead of $(check-data).
75049         * scripts/data/localplt-generic.data: Move to ...
75050         * sysdeps/generic/localplt.data: ... here.
75051         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75052         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75053         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75055         ... here.
75056         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75058         ... here.
75059         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75061         ... here.
75062         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75064         ... here.
75065         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75067         ... here.
75068         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75070         ... here.
75072 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75074         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75075         PPC32 and PPC64 files.
75076         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75077         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75081         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75082         __makecontext_ret to ...
75083         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75084         ... here and call exit if uc_link is NULL.  New file.
75085         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75086         __makecontext_ret.S.
75087         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75088         __makecontext_ret to ...
75089         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75090         ... here and call exit if uc_link is NULL.  New file.
75091         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75092         __makecontext_ret.S.
75094 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75096         * elf/elf.h (R_390_IRELATIVE): New definition.
75097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75098         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75099         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75101         (elf_machine_lazy_rel): Likewise.
75102         * sysdeps/s390/dl-irel.h: New file.
75103         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75104         * sysdeps/s390/s390-64/memset.S: New asm code.
75105         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75106         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75108         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75109         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75110         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75112         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75113         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75114         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75115         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75116         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75117         * sysdeps/s390/s390-32/memset.S: New asm code.
75118         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75120 2012-07-17  Marek Polacek  <polacek@redhat.com>
75122         [BZ #14349]
75123         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75124         * sysdeps/s390/s390-64/configure.in: Likewise.
75125         * sysdeps/sparc/configure.in: Likewise.
75126         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75127         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75128         * sysdeps/i386/configure.in: Likewise.
75129         * sysdeps/x86_64/configure.in: Likewise.
75130         * sysdeps/sh/configure.in: Likewise.
75131         * sysdeps/s390/s390-32/configure: Regenerated.
75132         * sysdeps/s390/s390-64/configure: Likewise.
75133         * sysdeps/x86_64/configure: Likewise.
75134         * sysdeps/sh/configure: Likewise.
75135         * sysdeps/powerpc/powerpc64/configure: Likewise.
75136         * sysdeps/powerpc/powerpc32/configure: Likewise.
75137         * sysdeps/sparc/configure: Likewise.
75138         * sysdeps/i386/configure: Likewise.
75140         * elf/dl-open.c: Comment fixes.
75142 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75144         * Makefile [CXX] (check-data): Remove.
75145         [CXX] (c++-types.data): New vpath directive.
75146         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75147         vpath.  Do not allow for C++ type data being missing.
75148         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75149         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75150         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75151         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75152         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75153         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75154         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75156         ... here.
75157         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75159         ... here.
75160         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75162         ... here.
75163         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75165         ... here.
75166         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75168         ... here.
75169         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75171         ... here.
75172         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75174         ... here.
75175         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75178         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75179         definitions to architecture-specific files.
75180         (TLS_IE): Likewise.
75181         (TLS_LD): Likewise.
75182         (TLS_GD): Likewise.
75183         * sysdeps/i386/tls-macros.h: New file.
75184         * sysdeps/powerpc/tls-macros.h: Likewise.
75185         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75186         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75187         * sysdeps/sh/tls-macros.h: Likewise.
75188         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75189         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75190         * sysdeps/x86_64/tls-macros.h: Likewise.
75192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75194         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75195         zero value for regular exit case.
75197         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75198         (__start_context): Preserve zero value for regular exit case.
75200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75201             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75203         * manual/setjmp.texi (setcontext): Clarify normal process
75204         termination when uc_link is the null pointer.
75205         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75206         exit call.
75208 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75210         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75211         preprocessor.  Test for each exception mask separately.
75213 2012-07-16  Andreas Jaeger  <aj@suse.de>
75215         * po/ru.po: Update from translation team.
75217 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75219         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75220         equal to 0.
75221         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75222         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75223         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75224         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75225         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75227 2012-07-13  Andreas Jaeger  <aj@suse.de>
75229         * po/fr.po: Update from translation team.
75231 2012-07-12  Marek Polacek  <polacek@redhat.com>
75233         [BZ #14173]
75234         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75235         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75236         loop condition.
75238 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75240         [BZ #13717]
75241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75242         Change to 2.4.1 where previously 2.4.0.
75243         * sysdeps/unix/sysv/linux/configure: Regenerated.
75244         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75245         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75246         version.
75247         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75248         (__ASSUME_AT_CLKTCK): Remove.
75249         (__ASSUME_AT_PAGESIZE): Likewise.
75250         (__ASSUME_AT_XID): Likewise.
75251         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75252         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75253         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75254         unconditionally.
75255         (HAVE_AUX_PAGESIZE): Likewise.
75256         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75257         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75258         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75260 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75262         [BZ #14307]
75263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75264         the temporary buffer used to invoke __gethostbyname2_r,
75265         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75266         host_data / struct gaih_addrtuple.
75267         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75268         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75269         header file nss/nsswitch.h.
75270         * nss/nsswitch.h (global scope): Add definition of implementation
75271         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75272         resolv/nss_dns/dns-host.c).
75274 2012-07-11  Andreas Jaeger  <aj@suse.de>
75276         * po/fr.po: Update from translation team.
75278         * po/sv.po: Update from translation team
75279         * po/fr.po: Another update from translation team.
75281 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75283         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75284         for subnormals or multiply small sinh result by itself.
75285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75288 2012-07-11  David S. Miller  <davem@davemloft.net>
75290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75292 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75294         [BZ #14347]
75295         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75296         (INTERNAL_MARK): Shift it here.
75298 2012-07-10  Marek Polacek  <polacek@redhat.com>
75300         [BZ #14151]
75301         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75302         libc_cv_asm_global_directive with .globl.
75303         * configure: Regenerated.
75304         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75305         with .globl.
75306         * sysdeps/i386/configure: Regenerated.
75307         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75308         with .globl.
75309         * sysdeps/x86_64/configure: Regenerated.
75310         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75311         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75312         * elf/tst-unique2mod2.c: Likewise.
75313         * elf/tst-unique2mod1.c: Likewise.
75314         * elf/tst-unique1mod2.c: Likewise.
75315         * elf/tst-unique1mod1.c: Likewise.
75316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75317         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75319         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75320         * sysdeps/mach/sysdep.h: Likewise.
75321         * sysdeps/i386/sysdep.h: Likewise.
75322         * sysdeps/i386/i386-mcount.S: Likewise.
75323         * sysdeps/x86_64/_mcount.S: Likewise.
75324         * sysdeps/x86_64/sysdep.h: Likewise.
75325         * sysdeps/sh/_mcount.S: Likewise.
75326         * sysdeps/sh/sysdep.h: Likewise.
75327         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75328         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75329         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75330         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75331         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75332         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75333         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75334         * locale/localeinfo.h: Likewise.
75335         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75336         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75338 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75340         [BZ #14336]
75341         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75342         system".
75343         * manual/message.texi (The Uniforum approach): Likewise.
75344         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75345         (glibc iconv Implementation): Likewise.
75347 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75349         [BZ #14337]
75350         * math/s_clog.c (__clog): Avoid scaling a value down where that
75351         could result in underflow.
75352         * math/s_clog10.c (__clog10): Likewise.
75353         * math/s_clog10f.c (__clog10f): Likewise.
75354         * math/s_clog10l.c (__clog10l): Likewise.
75355         * math/s_clogf.c (__clogf): Likewise.
75356         * math/s_clogl.c (__clogl): Likewise.
75357         * math/libm-test.inc (clog_test): Add more tests.
75358         (clog10_test): Likewise.
75359         * sysdeps/i386/fpu/libm-test-ulps: Update.
75360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75362 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75364         [BZ #14283]
75365         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75366         by 7 not 8 to examine high bit of fractional part.
75368         [BZ #14042]
75369         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75370         for call to __mcount_internal.
75371         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75372         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75373         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75375 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75377         [BZ #14154]
75378         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75379         approximation for values within 0x1p-13f of an odd multiple of
75380         pi/4.
75381         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75382         exception.  Add more tests.
75383         * sysdeps/i386/fpu/libm-test-ulps: Update.
75385         [BZ #6778]
75386         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75387         inputs and return -1 for them.  Do not check for +Inf in case not
75388         reachable for +Inf.
75389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75390         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75392         and return -1 for them.  Do not check for +Inf in case not
75393         reachable for +Inf.
75394         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75395         define.
75396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75397         and return -1 for them.  Do not check for +Inf in case not
75398         reachable for +Inf.
75399         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75400         spurious underflow.
75401         * sysdeps/i386/fpu/libm-test-ulps: Update.
75402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75404 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75406         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75408 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75410         [BZ #14157]
75411         [BZ #14331]
75412         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75413         could result in spurious underflow.  Scale down values above
75414         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75415         * math/s_csqrtf.c (__csqrtf): Likewise.
75416         * math/s_csqrtl.c (__csqrtl): Likewise.
75417         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75418         spurious underflow.
75419         * sysdeps/i386/fpu/libm-test-ulps: Update.
75420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75422 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75424         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75425         xopen-msg.sed.
75426         * catgets/xopen-msg.awk: New file.
75427         * catgets/xopen-msg.sed: Removed.
75429         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75430         po2text.sed.
75431         * intl/po2test.awk: New file.
75432         * intl/po2test.sed: Removed.
75434 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75436         [BZ #14328]
75437         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75438         or multiply small sinh result by itself.
75439         * math/s_ctanf.c (__ctanf): Likewise.
75440         * math/s_ctanh.c (__ctanh): Likewise.
75441         * math/s_ctanhf.c (__ctanhf): Likewise.
75442         * math/s_ctanhl.c (__ctanhl): Likewise.
75443         * math/s_ctanl.c (__ctanl): Likewise.
75444         * math/libm-test.inc (ctan_test_tonearest): New function.
75445         (ctan_test_towardzero): Likewise.
75446         (ctan_test_downward): Likewise.
75447         (ctan_test_upward): Likewise.
75448         (ctanh_test_tonearest): Likewise.
75449         (ctanh_test_towardzero): Likewise.
75450         (ctanh_test_downward): Likewise.
75451         (ctanh_test_upward): Likewise.
75452         (main): Call these new functions.
75453         * sysdeps/i386/fpu/libm-test-ulps: Update.
75454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75456 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75458         * .gitignore: Delete /ports entry.
75460 2012-07-03  Andreas Jaeger  <aj@suse.de>
75462         * po/bg.po: Update from translation team.
75463         * po/cs.po: Likewise.
75464         * po/de.po: Likewise.
75465         * po/hr.po: Likewise.
75466         * po/nl.pl: Likewise.
75467         * po/pl.po: Likewise.
75468         * po/vi.po: Likewise.
75470 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
75472         * Makeconfig [!+link] (+link-before-libc): New variable.
75473         [!+link] (+link-after-libc): Likewise.
75474         [!+link] (+link-tests): Likewise.
75475         [!+link] (+link): Define in terms of $(+link-before-libc) and
75476         $(+link-after-libc).
75477         [!+link-static] (+link-static-before-libc): New variable.
75478         [!+link-static] (+link-static-after-libc): Likewise.
75479         [!+link-static] (+link-static-tests): Likewise.
75480         [!+link-static] (+link-static): Define in terms of
75481         $(+link-static-before-libc) and $(+link-static-after-libc).
75482         [build-shared] (link-libc-before-gnulib): New variable.
75483         [build-shared] (link-libc-tests): Likewise.
75484         [build-shared] (link-libc): Define in terms of
75485         $(link-libc-before-gnulib).
75486         [!build-shared] (link-libc-tests): New variable.
75487         (link-libc-static-tests): New variable.
75488         [!gnulib] (gnulib-arch): New variable.
75489         [!gnulib] (gnulib-tests): Likewise.
75490         [!gnulib] (static-gnulib-arch): Likewise.
75491         [!gnulib] (static-gnulib-tests): Likewise.
75492         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
75493         Define with "=" instead of ":=".
75494         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
75495         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
75496         * Rules (binaries-all-notests): New variable.
75497         (binaries-all-tests): Likewise.
75498         (binaries-static-notests): Likewise.
75499         (binaries-static-tests): Likewise.
75500         (binaries-all): Define using $(binaries-all-notests) and
75501         $(binaries-all-tests).
75502         (binaries-static): Define using $(binaries-static-notests) and
75503         $(binaries-static-tests).
75504         (binaries-shared-tests): New variable.
75505         (binaries-shared-notests): Likewise.
75506         (binaries-shared): Remove variable.
75507         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75508         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75509         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75510         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75511         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75512         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75513         * elf/Makefile (sln-modules): New variable.
75514         (extra-objs): Add $(sln-modules:=.o).
75515         (ldconfig-modules): Add static-stubs.
75516         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75517         * elf/static-stubs.c: New file.
75519         [BZ #14283]
75520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75521         by 7 not 8 to examine high bit of fractional part.  Use volatile
75522         variables when splitting into final array of floats if
75523         __FLT_EVAL_METHOD__ != 0.
75524         * math/libm-test.inc (cos_test): Add another test.
75525         (sin_test): Likewise.
75526         * sysdeps/i386/fpu/libm-test-ulps: Update.
75528         [BZ #14273]
75529         * math/libm-test.inc (cosh_test): Add more tests.
75531         * version.h (RELEASE): Set to "development".
75532         (VERSION): Set to "2.16.90".
75534 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75536         * NEWS: Update copyright. Remove last-updated date.
75537         Mention math library bug fixes and timezone data changes.
75538         * README: Mention GNU/Hurd, x32, and HPPA support status.
75540 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75542         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75544 2012-06-27  Andreas Jaeger  <aj@suse.de>
75546         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75548 2012-06-25  Andreas Jaeger  <aj@suse.de>
75550         * sysdeps/s390/fpu/libm-test-ulps: Update.
75552 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75553             Thomas Schwinge  <thomas@codesourcery.com>
75555         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75556         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75558         fanotify_mark.
75560 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75562         * sysdeps/mach/start.c: Remove file.
75563         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75564         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75565         * sysdeps/sh/init-first.c: Likewise.
75567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75568         registers for frame unwinding purposes, add CFI directives.
75569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75571         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75572         Likewise.
75574         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75575         __fortify_fail returning.
75576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75579         sysdeps/sh/____longjmp_chk.S.
75580         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75581         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75582         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75583         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75585         * sysdeps/sh/abort-instr.h: New file.
75586         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75587         process in case exit returns.
75589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75590         initialize the GOT register before use.
75592         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75593         calculation of ARGC > 4.
75595         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75596         meaningful names to some local labels.
75598 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75599             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75601         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75602         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75603         (__arch_compare_and_exchange_val_16_acq): Likewise.
75604         (__arch_compare_and_exchange_val_32_acq): Likewise.
75605         (atomic_exchange_and_add): Fix gUSA sequence.
75606         (atomic_add): Likewise.
75607         (atomic_add_negative): Likewise.
75608         (atomic_add_zero): Likewise.
75609         (atomic_bit_test_set): Likewise.
75611 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75613         [BZ #13579]
75614         * include/link.h (struct link_map): Add l_free_initfini.
75615         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75616         l_initfini.
75617         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75618         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75619         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75620         set.
75622 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75624         * configure.in: Use AC_LANG_SOURCE.
75625         * configure: Regenerate.
75627 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75629         * configure.in (libc_cv_localstatedir): New substituted variable.
75630         * configure: Regenerated.
75631         * config.make.in (localstatedir): New variable, substituted from
75632         libc_cv_localstatedir.
75633         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75634         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75635         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75636         * sysdeps/gnu/configure: Regenerated.
75638 2012-06-21  Jeff Law  <law@redhat.com>
75640         [BZ #14277]
75641         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75642         free.  Simplify list management for _LIBC case.
75644 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75646         [BZ #14273]
75647         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75648         Clear sign bit of 64-bit integer value before comparing against
75649         overflow value.
75651         * sysdeps/mach/configure: Regenerated.
75653 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75655         [BZ #14278]
75656         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75658 2012-06-21  Jeff Law  <law@redhat.com>
75660         [BZ #13882]
75661         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75662         uint16_t for elements in the "seen" array to avoid char overflows.
75663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75664         * elf/dl-open.c (dl_open_worker): Likewise.
75666 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75668         * scripts/list-sources.sh: Scan PORTS for translations.
75669         * po/libc.pot: Regenerated.
75671 2012-06-21  Andreas Jaeger  <aj@suse.de>
75673         [BZ #12194]
75674         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75675         warning.
75676         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75677         * bits/byteswap-16.h (__bswap_16): Likewise.
75678         * bits/byteswap.h (__bswap_constant_16): Likewise.
75680 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75682         [BZ #14117]
75683         * sysdeps/i386/fpu_control.h: Removed.
75684         * sysdeps/x86_64/fpu_control.h: Moved to ...
75685         * sysdeps/x86/fpu_control.h: Here.
75687         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75688         (_FPU_SETCW): Likewise.
75690 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75692         [BZ #14117]
75693         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75694         * sysdeps/x86/fpu/bits/mathinline.h: This.
75695         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75697         [BZ #14050]
75698         [BZ #14117]
75699         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75700         functions if __x86_64__ is defined.
75702 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75704         * string/endian.h: Add !__ASSEMBLER__ condition for including
75705         conversion interfaces.
75707 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75709         [BZ #14241]
75710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75711         of ABS(x) in calculating zero to negative powers other than odd
75712         integers.
75713         * math/libm-test.inc (pow_test): Add more tests.
75715 2012-06-15  Andreas Jaeger  <aj@suse.de>
75717         * manual/contrib.texi (Contributors): Update entry of Liubov
75718         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75719         Machado Filho.
75721 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75723         * string/string.h: Add __wur to GNU version of strerror_r.
75725 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75727         [BZ #14229]
75728         * string/Makefile (tests): Add tst-strtok_r.
75729         * string/tst-strtok_r.c: New file.
75730         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75731         RAX_LP/RDX_LP on SAVE_PTR.
75733 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75735         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75737 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75739         * libm_test.inc (csqrt_test): Allow more spurious underflow
75740         exceptions.
75741         (j0_test): Likewise.
75742         (j1_test): Likewise.
75743         (y0_test): Likewise.
75744         (y1_test): Likewise.
75746 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75748         * po/Makefile (libc.pot): Use UTF-8 charset.
75750 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75752         [BZ #14210]
75753         Suppress sign-conversion warning from FD_SET.
75754         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75755         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75756         not unsigned long int.
75757         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75759 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75761         [BZ #14050]
75762         [BZ #14117]
75763         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75764         __extern_always_inline instead of __extern_inline.
75765         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75766         (__signbit): Likewise.
75767         (__signbitl): Support C++ namespace.
75768         (lrintf): New inline function.
75769         (lrint): Likewise.
75770         (llrintf): Likewise.
75771         (llrint): Likewise.
75772         (fmaxf): Likewise.
75773         (fmax): Likewise.
75774         (fminf): Likewise.
75775         (fmin): Likewise.
75776         (rint): Likewise.
75777         (rintf): Likewise.
75778         (ceil): Likewise.
75779         (ceilf): Likewise.
75780         (floor): Likewise.
75781         (floorf): Likewise.
75782         (nearbyint): Likewise.
75783         (nearbyintf): Likewise.
75785 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75787         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75788         non-default versions.
75790 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75792         [BZ #14218]
75793         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75795 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75797         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75798         (FE_UPWARD, FE_DOWNWARD): Don't define.
75799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75802         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75803         reading it.
75804         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75805         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75807 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75809         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75811         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75814 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75816         [BZ #14117]
75817         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75818         * sysdeps/i386/fpu/Implies: New file.
75819         * sysdeps/x86_64/fpu/Implies: Likewise.
75820         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75821         * sysdeps/x86/fpu/bits/fenv.h: This.
75823         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75824         __SSE_MATH__.
75826 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75828         [BZ #14134]
75829         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75830         character 0xffff that matches the last element of the
75831         conversion table.
75833 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75835         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75836         fmodl commit.
75838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75841         values higher than 25.6283.
75843 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75845         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75846         subnormal exponent extraction and add some __builtin_expect.
75847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75848         Fix for subnormal mantissa calculation.
75850 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75852         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75853         cpu2 is -1 and errno is not ENOSYS.
75855 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75857         [BZ #14117]
75858         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75859         * sysdeps/x86/bits/string.h: This.
75860         * sysdeps/x86_64/bits/string.h: Removed.
75862         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75863         if not compiling for x86-64, but compiling for >= i486.
75865         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75866         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75868         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75869         New macro from Linux kernel 3.4.0.
75870         (FP_XSTATE_MAGIC2): Likewise.
75871         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75872         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75873         (struct _fpx_sw_bytes): New struct.
75874         (struct _xsave_hdr): Likewise.
75875         (struct _ymmh_state): Likewise.
75876         (struct _xstate): Likewise.
75878         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75879         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75880         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75881         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75882         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75883         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75885         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75887         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75888         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75889         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75890         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75892 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75894         [BZ #13743]
75895         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75896         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75897         (sysdep_headers): Include sys/platform/ppc.h.
75898         * sysdeps/powerpc/test-gettimebase.c: Test for
75899         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75900         * manual/Makefile (appendices): Include platform.texi.
75901         * manual/contrib.texi (Contributors): Update @node pointers.
75902         * manual/maint.texi (Maintenance): Likewise.
75903         (Platform): New node.
75904         * manual/platform.texi: New file.  Document the new features.
75906 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75907             Jakub Jelinek  <jakub@redhat.com>
75909         [BZ #14188]
75910         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75911         where __builtin_expect is unavailable.
75913 2012-06-03  David S. Miller  <davem@davemloft.net>
75915         * stdlib/longlong.h: Updated from GCC.
75917 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75919         [BZ #14042]
75920         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75921         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75922         __mcount_internal.
75923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75924         (GLIBC_2.16): Likewise.
75926 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75933         (default-abi): New variable.
75934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75935         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75936         variable.
75937         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75938         Likewise.
75939         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75940         Likewise.
75941         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75942         Likewise.
75944         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75945         definition.  Document in comment.
75947 2012-06-01  David S. Miller  <davem@davemloft.net>
75949         * stdlib/longlong.h: Updated from GCC.
75951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75953         [BZ #14117]
75954         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75955         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75956         sys/debugreg.h sys/io.h here.
75957         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75958         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75959         sys/io.h.
75960         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75961         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75962         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75963         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75964         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75965         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75967         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75968         Define only if __x86_64__ is defined.
75970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75972         [BZ #14048]
75973         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75974         Use int64_t for variable i.
75975         * math/libm-test.inc (fmod_test): Add more tests.
75977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75978         z computation is not scheduled after fetestexcept.
75979         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75980         Use math_force_eval instead of asm to ensure calculation scheduled
75981         before exception test.
75982         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75983         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75985 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75988         computation is not scheduled after fetestexcept.
75990 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75992         [BZ #14117]
75993         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75996 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75998         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75999         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76001 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76003         [BZ #14117]
76004         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76005         <bits/wordsize.h>.
76006         (__WCHAR_MIN): Support __WORDSIZE == 64.
76007         (__WCHAR_MAX): Likewise.
76009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76012         [BZ #14183]
76013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76014         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76016         [BZ #14117]
76017         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76023         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76024         Defined to 1 if __x86_64__ isn't defined.
76025         (_STAT_VER_LINUX_OLD): New.
76026         (st_atime): Remove duplicate.
76027         (st_mtime): Likewise.
76028         (st_ctime): Likewise.
76030 2012-05-31  David S. Miller  <davem@davemloft.net>
76032         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76033         entries.
76035 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76037         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76038         gen-libm-test.pl.
76040         [BZ #14132]
76041         * elf/dl-reloc.c: Include <_itoa.h>.
76042         (_dl_reloc_bad_type): Remove use of INTUSE.
76043         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76044         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76045         * stdio-common/psiginfo.c (psiginfo): Likewise.
76046         * stdio-common/psignal.c (psignal): Likewise.
76047         * string/strsignal.c (strsignal): Likewise.
76048         * include/signal.h (_sys_siglist): Declare hidden proto.
76049         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76050         INTVARDEF with libc_hidden_data_def.
76051         * stdio-common/itoa-udigits.c: Likewise.
76052         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76053         (_itoa_lower_digits_internal): Remove declaration.
76054         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76055         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76056         (_sys_sigabbrev_internal): Remove aliases.
76057         (_sys_siglist): Define hidden alias.
76059 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76062         bits/sysctl.h.
76064 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76066         [BZ #14117]
76067         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76068         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76070         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76071         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76072         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76073         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76074         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76075         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76077         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76078         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76079         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76081         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76082         with __addr.
76083         (insw): Likewise.
76084         (insl): Likewise.
76085         (outsb): Likewise.
76086         (outsw): Likewise.
76087         (outsl): Likewise.
76089         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76093         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76094         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76096         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76097         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76098         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76100         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76101         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76103         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76104         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76106         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76110         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76111         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76112         to ...
76113         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76115         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76116         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76117         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76119         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76120         for x86-64.
76121         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76123 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76125         * math/math.h (M_El): Use two more decimal places.
76126         (M_LOG2El): Likewise.
76127         (M_LOG10El): Likewise.
76128         (M_LN2l): Likewise.
76129         (M_LN10l): Likewise.
76130         (M_PIl): Likewise.
76131         (M_PI_2l): Likewise.
76132         (M_PI_4l): Likewise.
76133         (M_1_PIl): Likewise.
76134         (M_2_PIl): Likewise.
76135         (M_2_SQRTPIl): Likewise.
76136         (M_SQRT2l): Likewise.
76137         (M_SQRT1_2l): Likewise.
76139 2012-05-31  David S. Miller  <davem@davemloft.net>
76141         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76142         values between float registers.
76143         * sysdeps/sparc/sparc64/memset.S: Likewise.
76144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76146 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76148         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76149         -D_FORTIFY_SOURCE=1.
76150         (CPPFLAGS-tst-longjmp_chk.c): Define.
76151         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76152         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76153         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76154         CFLAGS-tst-wchar-h.c.
76156 2012-05-31  Marek Polacek  <polacek@redhat.com>
76158         [BZ #14132]
76159         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76160         __endmntent_internal): Remove declaration.
76161         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76162         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76163         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76165 2012-05-30  David S. Miller  <davem@davemloft.net>
76167         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76168         (___Q_simulate_exceptions): Use real FP ops rather than writing
76169         into the %fsr.
76170         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76171         Likewise.
76173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76175         [BZ #14117]
76176         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76177         * sysdeps/x86/bits/xtitypes.h: This.
76179         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76180         * sysdeps/x86/bits/wordsize.h: This.
76182         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76183         * sysdeps/x86/bits/huge_vall.h: This.
76185         * sysdeps/i386/bits/select.h: Removed.
76186         * sysdeps/x86_64/bits/select.h: Renamed to ...
76187         * sysdeps/x86/bits/select.h: This.
76189         * sysdeps/i386/bits/setjmp.h: Removed.
76190         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76191         * sysdeps/x86/bits/setjmp.h: This.
76193         * sysdeps/i386/bits/mathdef.h: Removed.
76194         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76195         * sysdeps/x86/bits/mathdef.h: This.
76197 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76199         [BZ #14132]
76200         * include/sys/socket.h (__connect_internal)
76201         (__libc_sa_len_internal): Remove declaration.
76202         (__connect, __libc_sa_len): Declare hidden_proto.
76203         (SA_LEN): Remove use of INTUSE.
76204         * socket/connect.c: Add libc_hidden_def.
76205         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76206         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76207         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76208         alias.
76209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76211         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76212         of adding _internal alias.
76214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76216         [BZ #14117]
76217         * sysdeps/i386/bits/link.h: Removed.
76218         * sysdeps/i386/bits/linkmap.h: Likewise.
76219         * sysdeps/x86_64/bits/link.h: Renamed to ...
76220         * sysdeps/x86/bits/link.h: This.
76221         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76222         * sysdeps/x86/bits/linkmap.h: This.
76224         * sysdeps/i386/bits/endian.h: Removed.
76225         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76226         * sysdeps/x86/bits/endian.h: This.
76228         * sysdeps/i386/bits/byteswap.h: Removed.
76229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76230         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76231         * sysdeps/x86/bits/byteswap.h: This.
76232         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76233         * sysdeps/x86/bits/byteswap-16.h: This.
76234         * sysdeps/i386/Implies: Add x86.
76235         * sysdeps/x86_64/Implies: Likewise.
76237 2012-05-30  David S. Miller  <davem@davemloft.net>
76239         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76240         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76241         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76242         (FP_TRAPPING_EXCEPTIONS): Define.
76243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76244         (FP_TRAPPING_EXCEPTIONS): Define.
76245         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76246         subnormals only when inexact has been signalled or underflow
76247         exceptions are enabled.
76248         (_FP_PACK_CANONICAL): Likewise.
76250 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76252         [BZ #14183]
76253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76254         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76256 2012-05-30  Richard Henderson  <rth@twiddle.net>
76258         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76259         with #ifndef NOT_IN_libc.
76261         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76262         marked to avoid plt entry.
76264 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76266         [BZ #14112]
76267         * Makeconfig (default-abi): New macro.
76268         (abi-includes): Likewise.
76269         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76270         $(abi-$(default-abi)-lib-soname) for soname if defined.
76271         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76272         abi-variants.
76273         * Makefile (installed-stubs): Likewise.
76274         * include/stubs-biarch.h: Removed.
76275         * scripts/lib-names.awk: Only handle one library at a time.
76276         * scripts/soversions.awk: Remove WORDSIZE support.
76277         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76278         entries.
76279         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76280         Removed.
76281         (syscall-list-default-condition): Likewise.
76282         (syscall-list-default-condition): Likewise.
76283         (syscall-list-includes): Likewise.
76284         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76285         syscall-list-* with abi-*.  Handle undefined abi-variants.
76286         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76287         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76288         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76289         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76290         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76291         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76292         Removed.
76293         (syscall-list-32-options): Likewise.
76294         (syscall-list-32-condition): Likewise.
76295         (syscall-list-64-options): Likewise.
76296         (syscall-list-64-condition): Likewise.
76297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76298         macro.
76299         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76300         Renamed to ...
76301         (abi-*): This.
76302         (abi-64-ld-soname): New macro.
76303         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76304         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76305         Renamed to ...
76306         (abi-*): This.
76307         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76308         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76310 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76312         * sysdeps/unix/sysv/linux/kernel-features.h
76313         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76314         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76315         include <kernel-features.h>.
76316         [!__NR_ftruncate64]: Remove conditional code.
76317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76318         [__NR_ftruncate64]: Make code unconditional.
76319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76320         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76321         include <kernel-features.h>.
76322         [!__NR_ftruncate64]: Remove conditional code.
76323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76324         [__NR_ftruncate64]: Make code unconditional.
76325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76327         include <kernel-features.h>.
76328         [!__NR_ftruncate64]: Remove conditional code.
76329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76330         [__NR_ftruncate64]: Make code unconditional.
76331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76333         include <kernel-features.h>.
76334         [!__NR_ftruncate64]: Remove conditional code.
76335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76336         [__NR_ftruncate64]: Make code unconditional.
76337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76339         * configure.in (libc_cv_fpie): Weaken to a compile test using
76340         LIBC_TRY_CC_OPTION.
76341         * configure: Regenerated.
76343 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76349         Refreshed.
76350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76356         Refreshed.
76358 2012-05-27  David S. Miller  <davem@davemloft.net>
76360         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76361         (___Q_zero): New.
76362         (__Q_simulate_exceptions): Return void.  Change to simulate
76363         exceptions by writing into the %fsr.
76364         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76365         (__Qp_handle_exceptions): Likewise.
76366         (numbers): Delete.
76367         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76368         __Qp_handle_exceptions.
76369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76370         __Qp_handle_exceptions.
76371         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76372         as unused and give dummy FP_RND_NEAREST initializer.
76373         (FP_INHIBIT_RESULTS): Define.
76374         (___Q_simulate_exceptions): Update declaration.
76375         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76376         formatting.
76377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76378         as unused and give dummy FP_RND_NEAREST initializer.
76379         (__Qp_handle_exceptions): Update declaration.
76380         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76381         formatting.
76383 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76385         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76386         the temporary FPU control word.
76387         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76388         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76389         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76390         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76393         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76394         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76396         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76399 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76401         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76402         fields.
76404 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76406         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76407         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76408         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76409         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76410         Likewise.
76411         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76412         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76413         Likewise.
76415 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76417         * po/h.po: Update from translation team.
76419 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76421         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76424         handling of denormals.
76425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76426         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76427         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76428         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76432         Likewise.
76434 2012-05-26  Marek Polacek  <polacek@redhat.com>
76436         [BZ #14152]
76437         * math/libm-test.inc (fma_test): Don't always expect underflow
76438         exception.
76440 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76442         [BZ #12416]
76443         * elf/tst-execstack.c: Include stackinfo.h.
76444         (do_test): Adjust test case to ensure that pthread_getattr_np
76445         behaviour remains the same after marking stack executable.
76447 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76449         * sysdeps/unix/sysv/linux/kernel-features.h
76450         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76452         kernel-features.h.
76453         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76454         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76455         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76456         kernel-features.h.
76457         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76458         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76460 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76462         * configure.in: Define the default includes to being none.
76463         * configure: Regenerated.
76465 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76467         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76468         * sysdeps/x86_64/setjmp.S: Likewise.
76469         * sysdeps/i386/bsd-setjmp.S: Likewise.
76470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76471         * sysdeps/i386/setjmp.S: Likewise.
76472         * sysdeps/i386/__longjmp.S: Likewise.
76473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76474         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76476         * include/stap-probe.h: New file.
76477         * configure.in: Handle --enable-systemtap.
76478         * configure: Regenerated.
76479         * config.h.in (USE_STAP_PROBE): New #undef.
76480         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76481         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76484 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76486         [BZ #13717]
76487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76488         to 2.4.0 where earlier.
76489         * sysdeps/unix/sysv/linux/configure: Regenerated.
76490         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76491         <kernel-features.h>.
76492         [__ASSUME_32BITUIDS]: Make code unconditional.
76493         [!__ASSUME_32BITUIDS]: Remove conditional code.
76494         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76495         <kernel-features.h>.
76496         [__ASSUME_32BITUIDS]: Make code unconditional.
76497         [!__ASSUME_32BITUIDS]: Remove conditional code.
76498         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76499         [__ASSUME_32BITUIDS]: Make code unconditional.
76500         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76501         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76502         <kernel-features.h>.
76503         [__ASSUME_32BITUIDS]: Make code unconditional.
76504         [!__ASSUME_32BITUIDS]: Remove conditional code.
76505         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76506         <kernel-features.h>.
76507         [__ASSUME_32BITUIDS]: Make code unconditional.
76508         [!__ASSUME_32BITUIDS]: Remove conditional code.
76509         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76510         <kernel-features.h>.
76511         [__ASSUME_32BITUIDS]: Make code unconditional.
76512         [!__ASSUME_32BITUIDS]: Remove conditional code.
76513         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76514         <kernel-features.h>.
76515         [__ASSUME_32BITUIDS]: Make code unconditional.
76516         [!__ASSUME_32BITUIDS]: Remove conditional code.
76517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76518         <kernel-features.h>.
76519         [__ASSUME_32BITUIDS]: Make code unconditional.
76520         [!__ASSUME_32BITUIDS]: Remove conditional code.
76521         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76522         <kernel-features.h>.
76523         [__ASSUME_32BITUIDS]: Make code unconditional.
76524         [!__ASSUME_32BITUIDS]: Remove conditional code.
76525         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76526         <kernel-features.h>.
76527         [__ASSUME_32BITUIDS]: Make code unconditional.
76528         [!__ASSUME_32BITUIDS]: Remove conditional code.
76529         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76530         <kernel-features.h>.
76531         [__ASSUME_32BITUIDS]: Make code unconditional.
76532         [!__ASSUME_32BITUIDS]: Remove conditional code.
76533         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76534         <kernel-features.h>.
76535         [__ASSUME_32BITUIDS]: Make code unconditional.
76536         [!__ASSUME_32BITUIDS]: Remove conditional code.
76537         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76538         <kernel-features.h>.
76539         [__ASSUME_32BITUIDS]: Make code unconditional.
76540         [!__ASSUME_32BITUIDS]: Remove conditional code.
76541         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76542         <kernel-features.h>.
76543         [__NR_setresgid] (__setresgid): Do not declare.
76544         [__ASSUME_32BITUIDS]: Make code unconditional.
76545         [!__ASSUME_32BITUIDS]: Remove conditional code.
76546         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76547         <kernel-features.h>.
76548         [__NR_setresuid] (__setresuid): Do not declare.
76549         [__ASSUME_32BITUIDS]: Make code unconditional.
76550         [!__ASSUME_32BITUIDS]: Remove conditional code.
76551         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76552         <kernel-features.h>.
76553         [__ASSUME_32BITUIDS]: Make code unconditional.
76554         [!__ASSUME_32BITUIDS]: Remove conditional code.
76555         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76556         <kernel-features.h>.
76557         [__ASSUME_32BITUIDS]: Make code unconditional.
76558         [!__ASSUME_32BITUIDS]: Remove conditional code.
76559         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76560         <kernel-features.h>.
76561         [__ASSUME_32BITUIDS]: Make code unconditional.
76562         [!__ASSUME_32BITUIDS]: Remove conditional code.
76563         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76564         <kernel-features.h>.
76565         [__ASSUME_32BITUIDS]: Make code unconditional.
76566         [!__ASSUME_32BITUIDS]: Remove conditional code.
76567         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76568         <kernel-features.h>.
76569         [__ASSUME_32BITUIDS]: Make code unconditional.
76570         [!__ASSUME_32BITUIDS]: Remove conditional code.
76571         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76572         <kernel-features.h>.
76573         [__ASSUME_32BITUIDS]: Make code unconditional.
76574         [!__ASSUME_32BITUIDS]: Remove conditional code.
76575         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76576         <kernel-features.h>.
76577         [__ASSUME_32BITUIDS]: Make code unconditional.
76578         [!__ASSUME_32BITUIDS]: Remove conditional code.
76579         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76580         <kernel-features.h>.
76581         [__ASSUME_32BITUIDS]: Make code unconditional.
76582         [!__ASSUME_32BITUIDS]: Remove conditional code.
76583         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76584         <kernel-features.h>.
76585         [__ASSUME_32BITUIDS]: Make code unconditional.
76586         [!__ASSUME_32BITUIDS]: Remove conditional code.
76587         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76588         <kernel-features.h>.
76589         [__ASSUME_32BITUIDS]: Make code unconditional.
76590         [!__ASSUME_32BITUIDS]: Remove conditional code.
76591         * sysdeps/unix/sysv/linux/kernel-features.h
76592         (__ASSUME_SETRESUID_SYSCALL): Remove.
76593         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76594         (__ASSUME_32BITUIDS): Likewise.
76595         (__ASSUME_LDT_WORKS): Likewise.
76596         (__ASSUME_O_DIRECTORY): Likewise.
76597         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76598         architecture but not kernel version.
76599         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76600         (__ASSUME_MMAP2_SYSCALL): Likewise.
76601         (__ASSUME_STAT64_SYSCALL): Likewise.
76602         (__ASSUME_IPC64): Likewise.
76603         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76604         <kernel-features.h>.
76605         [__ASSUME_32BITUIDS]: Make code unconditional.
76606         [!__ASSUME_32BITUIDS]: Remove conditional code.
76607         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76608         <kernel-features.h>.
76609         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76610         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76611         132096]: Remove conditional code.
76612         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76614         <kernel-features.h>.
76615         [__ASSUME_32BITUIDS]: Make code unconditional.
76616         [!__ASSUME_32BITUIDS]: Remove conditional code.
76617         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76618         <kernel-features.h>.
76619         [__ASSUME_32BITUIDS]: Make code unconditional.
76620         [!__ASSUME_32BITUIDS]: Remove conditional code.
76621         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76622         <kernel-features.h>.
76623         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76624         unconditional.
76625         (__setresgid): Do not declare.
76626         [__ASSUME_32BITUIDS]: Make code unconditional.
76627         [!__ASSUME_32BITUIDS]: Remove conditional code.
76628         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76629         <kernel-features.h>.
76630         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76631         unconditional.
76632         (__setresuid): Do not declare.
76633         [__ASSUME_32BITUIDS]: Make code unconditional.
76634         [!__ASSUME_32BITUIDS]: Remove conditional code.
76635         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76636         <kernel-features.h>.
76637         [__ASSUME_32BITUIDS]: Make code unconditional.
76638         [!__ASSUME_32BITUIDS]: Remove conditional code.
76639         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76640         <kernel-features.h>.
76641         [__ASSUME_32BITUIDS]: Make code unconditional.
76642         [!__ASSUME_32BITUIDS]: Remove conditional code.
76644 2012-05-25  Richard Henderson  <rth@twiddle.net>
76646         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76647         dl_hwcap to ifunc resolver.
76648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76649         elf_ifunc_invoke.
76650         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76651         dl_hwcap to ifunc resolver.
76652         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76656         [BZ #14153]
76657         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76658         for |x| <= 2**-26, not 2**-57.
76659         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76660         exception.
76662 2012-05-24  Jeff Law  <law@redhat.com>
76664         * stdio-common/Makefile (tests): Add bug25.
76665         * stdio-common/bug25.c: New test.
76667 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76669         [BZ #13576]
76670         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76671         multiple of MALLOC_ALIGNMENT in size.
76672         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76676         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76677         Require >= 256.
76678         (FILENAME_MAX): Use macro-int-constant.
76679         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76680         (_IOFBF): Use macro-int-constant.
76681         (_IOLBF): Likewise.
76682         (_IONBF): Likewise.
76683         (SEEK_CUR): Likewise.
76684         (SEEK_END): Likewise.
76685         (SEEK_SET): Likewise.
76686         (TMP_MAX): Likewise.
76687         (EOF): Use macro-int-constant.  Require < 0.
76688         (NULL): Use macro-constant.  Require == 0.
76689         (stdin): Require type to be FILE *.
76690         (stdout): Likewise.
76691         (stderr): Likewise.
76692         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76693         macro-int-constant.
76694         (EXIT_SUCCESS): Likewise.
76695         (NULL): Use macro-constant.  Require == 0.
76696         (RAND_MAX): Use macro-int-constant.
76697         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76698         [C99-based standards] (strtof): Require function.
76699         [C99-based standards] (strtold): Likewise.
76700         [C99-based standards] (strtoll): Likewise.
76701         [C99-based standards] (strtoull): Likewise.
76702         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76703         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76704         [ISO || ISO99 || ISO11] (math.h): Likewise.
76705         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76706         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76709 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76711         [BZ #14132]
76712         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76713         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76714         * intl/dgettext.c (DCGETTEXT): Likewise.
76715         * intl/gettext.c (DCGETTEXT): Likewise.
76716         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76717         * posix/regex_internal.h (gettext): Likewise.
76718         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76719         Remove declaration.
76720         * include/argz.h (__argz_count_internal)
76721         (__argz_stringify_internal): Remove declaration.
76722         (__argz_count, __argz_stringify): Declare hidden proto.
76723         * intl/dcgettext.c: Remove use of INTDEF.
76724         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76725         * string/argz-stringify.c: Likewise.
76726         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76727         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76728         Declare hidden proto.
76729         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76730         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76731         Declare hidden proto.
76732         * include/stdio.h (__asprintf_internal): Don't declare.
76733         (__asprintf): Don't define as macro.  Declare hidden proto.
76734         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76735         (__fsetlocking): Declare hidden proto.
76736         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76737         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76738         hidden proto.
76739         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76740         (_IO_setlinebuf): Remove use of INTUSE.
76741         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76742         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76743         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76744         Remove declaration.
76745         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76746         (_IO_do_flush): Remove use of INTUSE.
76747         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76748         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76749         (_IO_adjust_column, _IO_least_wmarker)
76750         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76751         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76752         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76753         (_IO_default_doallocate, _IO_wdefault_doallocate)
76754         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76755         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76756         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76757         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76758         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76759         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76760         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76761         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76762         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76763         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76764         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76765         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76766         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76767         proto.
76768         (_IO_flush_all_internal, _IO_adjust_column_internal)
76769         (_IO_default_uflow_internal, _IO_default_finish_internal)
76770         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76771         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76772         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76773         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76774         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76775         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76776         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76777         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76778         (_IO_file_close_internal, _IO_file_close_it_internal)
76779         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76780         (_IO_file_init_internal, _IO_file_attach_internal)
76781         (_IO_file_fopen_internal, _IO_file_read_internal)
76782         (_IO_file_sync_internal, _IO_file_seek_internal)
76783         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76784         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76785         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76786         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76787         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76788         (_IO_list_all_internal, _IO_link_in_internal)
76789         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76790         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76791         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76792         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76793         (_IO_do_write_internal, _IO_padn_internal)
76794         (_IO_getline_info_internal, _IO_getline_internal)
76795         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76796         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76797         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76798         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76799         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76800         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76801         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76802         with libc_hidden_ver, remove use of INTUSE.
76803         * libio/genops.c: Likewise.
76804         * libio/freopen.c: Likewise.
76805         * libio/freopen64.c: Likewise.
76806         * libio/iofclose.c: Likewise.
76807         * libio/iofdopen.c: Likewise.
76808         * libio/iofflush.c: Likewise.
76809         * libio/iofflush_u.c: Likewise.
76810         * libio/iofgets.c: Likewise.
76811         * libio/iofgets_u.c: Likewise.
76812         * libio/iofopen.c: Likewise.
76813         * libio/iofopncook.c: Likewise.
76814         * libio/iofread.c: Likewise.
76815         * libio/iofread_u.c: Likewise.
76816         * libio/ioftell.c: Likewise.
76817         * libio/iofwrite.c: Likewise.
76818         * libio/iogetline.c: Likewise.
76819         * libio/iogets.c: Likewise.
76820         * libio/iogetwline.c: Likewise.
76821         * libio/iopadn.c: Likewise.
76822         * libio/iopopen.c: Likewise.
76823         * libio/ioseekoff.c: Likewise.
76824         * libio/ioseekpos.c: Likewise.
76825         * libio/iosetbuffer.c: Likewise.
76826         * libio/iosetvbuf.c: Likewise.
76827         * libio/ioungetc.c: Likewise.
76828         * libio/ioungetwc.c: Likewise.
76829         * libio/iovdprintf.c: Likewise.
76830         * libio/iovsprintf.c: Likewise.
76831         * libio/iovsscanf.c: Likewise.
76832         * libio/memstream.c: Likewise.
76833         * libio/obprintf.c: Likewise.
76834         * libio/oldfileops.c: Likewise.
76835         * libio/oldiofclose.c: Likewise.
76836         * libio/oldiofdopen.c: Likewise.
76837         * libio/oldiofopen.c: Likewise.
76838         * libio/oldiopopen.c: Likewise.
76839         * libio/oldstdfiles.c: Likewise.
76840         * libio/putc.c: Likewise.
76841         * libio/setbuf.c: Likewise.
76842         * libio/setlinebuf.c: Likewise.
76843         * libio/stdfiles.c: Likewise.
76844         * libio/strops.c: Likewise.
76845         * libio/vasprintf.c: Likewise.
76846         * libio/vscanf.c: Likewise.
76847         * libio/vsnprintf.c: Likewise.
76848         * libio/vswprintf.c: Likewise.
76849         * libio/wfiledoalloc.c: Likewise.
76850         * libio/wfileops.c: Likewise.
76851         * libio/wgenops.c: Likewise.
76852         * libio/wmemstream.c: Likewise.
76853         * libio/wstrops.c: Likewise.
76854         * libio/__fpurge.c: Likewise.
76855         * libio/__fsetlocking.c: Likewise.
76856         * assert/assert.c: Likewise.
76857         * debug/fgets_chk.c: Likewise.
76858         * debug/fgets_u_chk.c: Likewise.
76859         * debug/fread_chk.c: Likewise.
76860         * debug/fread_u_chk.c: Likewise.
76861         * debug/gets_chk.c: Likewise.
76862         * debug/obprintf_chk.c: Likewise.
76863         * debug/vasprintf_chk.c: Likewise.
76864         * debug/vdprintf_chk.c: Likewise.
76865         * debug/vsnprintf_chk.c: Likewise.
76866         * debug/vsprintf_chk.c: Likewise.
76867         * malloc/mtrace.c: Likewise.
76868         * misc/error.c: Likewise.
76869         * misc/syslog.c: Likewise.
76870         * stdio-common/asprintf.c: Likewise.
76871         * stdio-common/fxprintf.c: Likewise.
76872         * stdio-common/getw.c: Likewise.
76873         * stdio-common/isoc99_fscanf.c: Likewise.
76874         * stdio-common/isoc99_scanf.c: Likewise.
76875         * stdio-common/isoc99_vfscanf.c: Likewise.
76876         * stdio-common/isoc99_vscanf.c: Likewise.
76877         * stdio-common/isoc99_vsscanf.c: Likewise.
76878         * stdio-common/printf-prs.c: Likewise.
76879         * stdio-common/printf_fp.c: Likewise.
76880         * stdio-common/printf_fphex.c: Likewise.
76881         * stdio-common/printf_size.c: Likewise.
76882         * stdio-common/putw.c: Likewise.
76883         * stdio-common/scanf.c: Likewise.
76884         * stdio-common/sprintf.c: Likewise.
76885         * stdio-common/tmpfile.c: Likewise.
76886         * stdio-common/vfprintf.c: Likewise.
76887         * stdio-common/vfscanf.c: Likewise.
76888         * stdlib/strfmon_l.c: Likewise.
76889         * sunrpc/openchild.c: Likewise.
76890         * sunrpc/xdr_stdio.c: Likewise.
76891         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76892         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76894 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76896         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76898         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76899         in the third column, to generate for the shared library an IFUNC
76900         that uses _dl_vdso_vsym.
76901         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76902         * Makeconfig (object-suffixes-noshared): New variable.
76904         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76905         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76906         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76907         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76909         [BZ #14132]
76910         * include/sys/time.h (__gettimeofday): Remove macro.
76911         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76912         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76913         Remove INTDEF.
76914         (__gettimeofday): Add libc_hidden_def.
76915         (gettimeofday): Add libc_hidden_weak.
76916         * sysdeps/mach/gettimeofday.c: Likewise.
76917         * sysdeps/posix/gettimeofday.c: Likewise.
76918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76919         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76921         (__gettimeofday_internal): Remove strong_alias.
76922         (__gettimeofday): Add libc_hidden_def.
76923         (gettimeofday): Add libc_hidden_weak.
76924         * sysdeps/unix/syscalls.list (gettimeofday):
76925         Remove __gettimeofday_internal alias.
76927 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76928             H.J. Lu  <hongjiu.lu@intel.com>
76930         [BZ #12495]
76931         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76932         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76933         (largebin_index_32_big): New.
76934         (largebin_index): Use it for 16-byte alignment.
76935         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76936         correction with front_misalign.
76938 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76942         Likewise.
76943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76944         Likewise.
76945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76946         Likewise.
76947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76948         Likewise.
76949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76950         Likewise.
76951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76952         Likewise.
76953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76954         Likewise.
76955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76956         Likewise.
76957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76958         Likewise.
76959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76960         Likewise.
76961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76962         Likewise.
76963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76964         Likewise.
76966         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76967         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76969 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76971         [BZ #10846]
76972         [BZ #14036]
76973         * math/libm-test.inc (exp_test): Add test from bug 14036.
76974         (pow_test): Add test from bug 10846.
76976         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76977         and other flags.
76978         (special_function): Do not include flags in test name.
76979         (parse_args): Likewise.
76980         * sysdeps/i386/fpu/libm-test-ulps: Update.
76981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76983         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76986         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76987         exceptions.
76988         * math/libm-test.inc ("Philosophy"): Update comment about
76989         exception testing.
76990         (UNDERFLOW_EXCEPTION): New macro.
76991         (UNDERFLOW_EXCEPTION_OK): Likewise.
76992         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76993         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76994         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76995         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76996         (INVALID_EXCEPTION_OK): Update value.
76997         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76998         (OVERFLOW_EXCEPTION_OK): Likewise.
76999         (IGNORE_ZERO_INF_SIGN): Likewise.
77000         (test_exceptions): Handle underflow exceptions.
77001         (acos_test): Update for underflow exception expectations.
77002         (cexp_test): Likewise.
77003         (clog_test): Likewise.
77004         (clog10_test): Likewise.
77005         (csqrt_test): Likewise.
77006         (ctan_test): Likewise.
77007         (ctanh_test): Likewise.
77008         (exp_test): Likewise.
77009         (exp10_test): Likewise.
77010         (exp2_test): Likewise.
77011         (expm1_test): Likewise.
77012         (fma_test): Likewise.
77013         (j0_test): Likewise.
77014         (jn_test): Likewise.
77015         (nexttoward_test): Likewise.
77016         (pow_test): Likewise.
77017         (scalbn_test): Likewise.
77018         (scalbln_test): Likewise.
77019         (tan_test): Likewise.
77020         (y1_test): Likewise.
77021         * sysdeps/i386/fpu/libm-test-ulps: Update.
77022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77024 2012-05-23  David S. Miller  <davem@davemloft.net>
77026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77027         (__libc_sigaction): Remove unused local variables.
77029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77031         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77033 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77035         mktime: avoid signed integer overflow
77036         * time/mktime.c (__mktime_internal): Do not mishandle the case
77037         where diff == INT_MIN.
77039         mktime: simplify computation of average
77040         * time/mktime.c (ranged_convert): Use new time_t_avg function
77041         instead of rolling our own (probably-slower) code.
77043         mktime: do not assume signed right shift propagates sign bit
77044         * time/mktime.c (isdst_differ): New static function.
77045         (__mktime_internal): No need to normalize tm_isdst now.
77046         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77047         tm_isdst values.
77049         mktime: merge another wrapv change from gnulib
77050         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77051         from some compilers.
77053         mktime: remove incorrect attempt at unusual arithmetics
77054         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77055         The code didn't really work on such machines anyway.
77056         (TYPE_MINIMUM): Assume two's complement.
77057         (twos_complement_arithmetic): Verify that long_int and time_t
77058         are two's complement (or unsigned, in the latter case).
77060         mktime: check signed shifts on long_int and time_t, too
77061         * time/mktime.c (SHR): Check that shifts work as desired
77062         on the types long_int and time_t too, as SHR is used on
77063         such types.
77065         mktime: do not assume 'long' is wide enough
77066         * time/mktime.c (verify): Move decl up.
77067         (long_int): New type.
77068         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77069         to remove assumption in the code that 'long' is wide enough to
77070         store year values.  This assumption is not true on x32 and on
77071         some non-glibc platforms.
77073         mktime: merge wrapv change from gnulib
77074         * time/mktime.c (WRAPV): New macro.
77075         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77076         (guess_time_tm, __mktime_internal): Do not assume that signed
77077         integer overflow wraps around; modern compilers generate code
77078         where this assumption is no longer valid.
77080 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77082         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77083         Replace "jmp L(pseudo_end)" with "ret".
77084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77085         Likewise.
77087 2012-05-23  Andreas Jaeger  <aj@suse.de>
77089         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77090         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77092 2012-05-23  Andreas Jaeger  <aj@suse.de>
77093             Maximilian Attems  <max@stro.at>
77095         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77096         New macros.
77098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77100         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77101         code so that pseudo_end is just ret and the stack pointer is
77102         correct also for static library in error case.
77104 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77106         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77107         move to syscalls.list.
77108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77113         * manual/install.texi (Running make install): Do not mention Linux
77114         kernel version for which pt_chown is not needed.
77115         (Linux): Do not mention problems with nscd with 2.0 kernels.
77116         * INSTALL: Regenerated.
77118 2012-05-23  Andreas Jaeger  <aj@suse.de>
77120         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77121         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77122         macro.
77123         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77125         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77127         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77133         * sysdeps/unix/sysv/linux/bits/in.h
77134         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77136 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77138         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77139         (PREPARE_VERSION): Just use assert instead, it will be elided
77140         under [NDEBUG] anyway.
77142 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77144         * sysdeps/unix/sysv/linux/Makefile: Include
77145         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77146         (sysdep_routines): Remove sysctl.
77147         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77148         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77150         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77151         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77153 2012-05-22  Andreas Jaeger  <aj@suse.de>
77155         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77156         that pseudo_end is just ret and the stack pointer is correct also
77157         for static library in error case.
77159 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77161         [BZ #14122]
77162         * nss/nsswitch.c (defconfig_entries): New variable.
77163         (__nss_database_lookup): Don't leak defconfig entries.
77164         (nss_parse_service_list): Don't leak on error paths.
77165         (free_database_entries): New function.
77166         (free_defconfig): New function.
77167         (free_mem): Move common code to free_database_entries.
77169 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77171         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77172         Add arch_prctl.
77173         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77176         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77178         New macro.
77179         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77180         (INTERNAL_SYSCALL_TYPES): Likewise.
77181         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77182         (LOAD_REGS_TYPES_[1-6]): Likewise.
77183         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77184         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77186 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77188         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77189         copysignl for GLIBC_2_0.
77190         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77191         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77193         logbl for GLIBC_2_0.
77194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77200         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77202         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77203         Use "neg %eax".
77205         * time/mktime.c: Update copyright years.
77207 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77209         mktime: merge comment-quoting-style change from gnulib
77210         * time/mktime.c: Quote 'like this' in comments.
77211         The GNU coding standards suggest that we no longer quote `like this',
77212         as "`" and "'" are typically rendered asymmetrically nowadays.
77213         The typical gnulib style is to quote 'like this' when quoting
77214         code, and "like this" when quoting English.
77216         * time/mktime.c (compile-command): Add "-I.".
77218         mktime: merge mktime-internal.h change from gnulib
77219         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77221         mktime: merge time_r change from gnulib
77222         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77224         mktime: merge DEBUG change from gnulib
77225         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77226         case system <time.h> has a #define.
77228         mktime: merge <sys/types.h> change from gnulib
77229         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77230         since <time.t> is now guaranteed to define time_t.
77232         mktime: merge HAVE_CONFIG_H change from gnulib
77233         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77238         Use "neg %eax".
77240         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77241         __rlim_t cast.
77242         (struct rusage): Use anonymous union to pad each field to
77243         __syscall_slong_t.
77245 2012-05-21  David S. Miller  <davem@davemloft.net>
77247         * Makefules (o-iterator): Remove .s cases.
77248         (compile-command.s): Delete.
77249         (COMPILE.s): Delete.
77250         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77252 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77254         * configure.in (libc_cv_predef_stack_protector): Only consider
77255         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77256         * configure: Regenerated.
77258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77261         New macro.  Use R*LP on int and pointer.
77262         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77263         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77264         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77265         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77267         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77268         [__WORDSIZE_TIME64_COMPAT32] instead of
77269         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77270         (struct utmp): Likewise.
77271         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77272         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77273         Renamed to ...
77274         (__WORDSIZE_TIME64_COMPAT32): This.
77275         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77276         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77277         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77278         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77279         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77280         (__WORDSIZE_TIME64_COMPAT32): New macro.
77282 2012-05-21  Andreas Jaeger  <aj@suse.de>
77284         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77285         only if [SHARED]. Add prototype for __wcschr_ia32.
77287 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77289         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77290         of %rbp unmolested in the jmp_buf while mangling the low bits.
77291         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77292         unmolested high bits of %rbp while demangling the low bits.
77293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77295 2012-05-21  Andreas Jaeger  <aj@suse.de>
77297         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77298         * sunrpc/svc_simple.c: Use it for registerrpc.
77299         * sunrpc/xcrypt.c: Use it for passwd2des.
77301         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77305         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77306         Don't define if [__SYSCALL_WORDSIZE != 32].
77307         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77308         New macro.
77310 2012-05-21  Bruno Haible  <bruno@clisp.org>
77311             Andreas Jaeger  <aj@suse.de>
77313         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77314         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77315         inptr and inend for must_buffer_ch.
77316         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77317         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77318         * stdio-common/Makefile (tests): Remove bug15.
77319         (bug15-ENV): Remove macro.
77320         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77321         anymore.
77323 2012-05-19  Andreas Jaeger  <aj@suse.de>
77324             Roland McGrath  <roland@hack.frob.com>
77326         * manual/contrib.texi: Completely rewritten. It contains now an
77327         alphabetical list of contributors and their contributions.
77329 2012-05-21  Richard Henderson  <rth@twiddle.net>
77331         * misc/getauxval.c (__getauxval): Use unsigned long int.
77332         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77333         (getauxval): Use unsigned long int.
77335 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77337         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77339 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77341         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77342         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77343         __alignof__ (long double).
77345 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77349 2012-05-20  Richard Henderson  <rth@twiddle.net>
77351         * misc/getauxval.c: New file.
77352         * misc/sys/auxv.h: New file.
77353         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77354         (routines): Add getauxval.
77355         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77357         * elf/dl-sysdep.c (_dl_auxv): Remove.
77358         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77359         * elf/dl-support.c (_dl_auxv): New variable.
77360         (_dl_aux_init): Initialize it.
77361         * manual/startup.texi (Auxiliary Vector): New node.
77362         * sysdeps/generic/bits/hwcap.h: New file.
77363         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77364         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77365         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77366         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77367         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77370         Update.
77371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77380 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77384 2012-05-19  David S. Miller  <davem@davemloft.net>
77386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77388 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77390         [BZ #14123]
77391         * math/s_ccosh.c: Include <float.h>
77392         (__ccosh): Avoid internal overflow calculating sinh and cosh
77393         values before multiplying by sin and cos values.
77394         * math/s_ccoshf.c: Likewise.
77395         * math/s_ccoshl.c: Likewise.
77396         * math/s_csin.c: Likewise.
77397         * math/s_csinf.c: Likewise.
77398         * math/s_csinl.c: Likewise.
77399         * math/s_csinh.c: Likewise.
77400         * math/s_csinhf.c: Likewise.
77401         * math/s_csinhl.c: Likewise.
77402         * math/libm-test.inc (ccos_test): Add more tests.
77403         (ccosh_test): Likewise.
77404         (csin_test): Likewise.
77405         (csinh_test): Likewise.
77406         * sysdeps/i386/fpu/libm-test-ulps: Update.
77407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77409 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77411         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77412         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77414         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77416 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77418         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77419         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77420         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77421         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77422         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77423         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77424         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77425         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77426         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77427         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77428         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77429         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77430         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77431         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77432         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77433         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77434         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77435         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77436         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77437         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77438         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77439         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77440         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77441         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77442         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77443         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77444         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77445         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77446         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77447         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77448         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77450 2012-05-18  Andreas Jaeger  <aj@suse.de>
77452         * csu/.gitignore: Delete.
77454 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77456         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77457         (timex): Use __syscall_slong_t.
77459 2012-05-18  Andreas Jaeger  <aj@suse.de>
77460             Carlos O'Donell  <carlos_odonell@mentor.com>
77462         * manual/install.texi (Configuring and compiling): Update
77463         description about files modified in the source directory.
77464         * INSTALL: Regenerated.
77466 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77468         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77469         value.  Use "or" to set return value to -1.
77470         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77471         negate return value.
77473 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77475         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77476         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77477         failure if the compiler has Graphite support disabled.
77478         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77479         Likewise.
77480         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77481         (CFLAGS-memmove.c): Likewise.
77482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77483         Likewise.
77485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77487         * sysdeps/x86_64/x32/_itoa.h: New file.
77489         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77490         getdents system call only if kernel and user dirents have the
77491         same d_ino and d_off.
77493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77494         LLONG_MAX != LONG_MAX.
77495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77496         (_fitoa_word): Likewise.
77498         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77499         years.
77500         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77501         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77502         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77505         include <bits/wordsize.h>.  Check __x86_64__ instead of
77506         __WORDSIZE.
77507         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77508         if __x86_64__ is defined.  Use anonymous union on fpstate.
77510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77511         anonymous union.
77513 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77515         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77516         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77518         Refer to _rtld_local_ro instead of _rtld_global_ro.
77519         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77520         Likewise.
77521         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77522         Likewise.
77523         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77524         Likewise.
77525         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77526         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77527         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77529         [BZ #10882]
77530         * sysdeps/powerpc/powerpc32/dl-machine.c
77531         (__elf_machine_runtime_setup) [PROF]: Don't reference
77532         _dl_prof_resolve.
77534 2012-05-18  Andreas Jaeger  <aj@suse.de>
77536         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77537         function only available for GCCs before 3.4 since GCC 3.4
77538         introduced a builtin.
77539         (lrint): Likewise.
77540         (llrintf): Likewise.
77541         (llrint): Likewise.
77542         (fmaxf): Likewise.
77543         (fmax): Likewise.
77544         (fminf): Likewise.
77545         (fmin): Likewise.
77546         (rint): Likewise.
77547         (rintf): Likewise.
77548         (nearbyint): Likewise.
77549         (nearbyintf): Likewise.
77550         (ceil): Likewise.
77551         (ceilf): Likewise.
77552         (floor): Likewise.
77553         (floorf): Likewise.
77555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77557         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77558         on both fields and cast pointer to __syscall_ulong_t.
77560         * bits/types.h (__fsword_t): New type.
77561         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77562         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77564         (__FSWORD_T_TYPE): Likewise.
77565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77566         (__FSWORD_T_TYPE): Likewise.
77567         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77568         (__FSWORD_T_TYPE): Likewise.
77569         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77570         (__FSWORD_T_TYPE): Likewise.
77571         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77572         __SWORD_TYPE with __fsword_t.
77573         (statfs64): Likewise.
77575 2012-05-17  David S. Miller  <davem@davemloft.net>
77577         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77579 2012-05-17  Andreas Jaeger  <aj@suse.de>
77581         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77582         warning.
77584 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77586         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77588 2012-05-17  Andreas Jaeger  <aj@suse.de>
77590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77591         when it is used.
77593 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77595         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77597 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77599         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77600         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77602 2012-05-17  Andreas Jaeger  <aj@suse.de>
77603             Carlos O'Donell  <carlos_odonell@mentor.com>
77605         [BZ #14059]
77606         * sysdeps/x86_64/multiarch/init-arch.h
77607         (bit_YMM_Usable): Rename to...
77608         (bit_AVX_Usable): ... this.
77609         (bit_FMA4_Usable): New macro.
77610         (bit_XMM_state): New macro.
77611         (bit_YMM_state): New macro.
77612         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77613         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77614         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77615         (CPUID_OSXSAVE): New macro.
77616         (CPUID_AVX): New macro.
77617         (CPUID_FMA4): New macro.
77618         (index_YMM_Usable): Rename to...
77619         (index_AVX_Usable): ... this.
77620         (HAS_AVX): Use HAS_ARCH_FEATURE.
77621         (HAS_FMA4): Likewise.
77622         (HAS_YMM_USABLE): Remove.
77623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77624         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77625         are present.
77626         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77627         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77628         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77629         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77630         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77634         * math/libm-test.c: Support platforms without multiple rounding modes.
77635         * math/bug-nextafter.c: Support platforms without FP exceptions.
77636         * math/bug-nexttoward.c: Likewise.
77637         * math/test-fenv.c: Likewise.
77638         * math/test-misc.c: Likewise.
77639         * stdlib/bug-getcontext.c: Likewise.
77641 2012-05-17  Andreas Jaeger  <aj@suse.de>
77643         * manual/examples/search.c (critter_cmp): Change signature to
77644         avoid warnings.
77645         * manual/string.texi (Collation Functions): Likewise.
77647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77649         * bits/types.h: Fold copyright years.
77650         * bits/typesizes.h: Likewise.
77651         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77652         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77655         * time/time.h: Likewise.
77657 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77659         [BZ #208]
77660         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77661         in instead of returning them.  Return void.
77662         (__libc_mallinfo): Accumulate over all arenas.
77663         (__malloc_stats): Adjust for change in int_mallinfo interface.
77665 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77667         [BZ #10375]
77668         * configure.in (NM): Add AC_CHECK_TOOL for it.
77669         (libc_extra_cflags): New substituted variable.
77670         Check for -fstack-protector being used implicitly.
77671         * configure: Regenerated.
77672         * config.make.in (config-extra-cflags): New variable,
77673         gets @libc_extra_cflags@.
77674         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77676         [BZ #10375]
77677         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77678         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77679         * configure: Regenerated.
77680         * config.make.in (CPPUNDEFS): New substituted variable.
77681         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77682         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77683         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77687         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77688         (mq_attr): Use __syscall_slong_t.
77690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77692         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77693         Check __x86_64__ instead of __WORDSIZE.
77694         (_STAT_VER_LINUX): Likewise.
77695         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77696         __syscall_ulong_t and __syscall_slong_t.
77697         (stat64): Likewise.
77699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77705         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77709         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77710         __syscall_ulong_t.
77712         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77713         include <bits/wordsize.h>.  Check __x86_64__ instead of
77714         __WORDSIZE.
77715         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77716         defined.
77717         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77720         include <bits/wordsize.h>.  Check __x86_64__ instead of
77721         __WORDSIZE.
77722         (user_regs_struct): Use "__extension__ unsigned long long"
77723         instead of "unsigned long" if __x86_64__ is defined.
77724         (user): Likewise.  Pad after pointer field if __ILP32__ is
77725         defined.
77727 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77729         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77730         versions 5 to 9.
77731         * configure: Regenerated.
77732         * manual/install.texi (texinfo): Increase version requirement to
77733         4.5 or later.
77734         * INSTALL: Regenerated.
77736         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77740         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77742         * sysdeps/x86_64/x32/ffs.c: New file.
77744         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77745         __syscall_ulong_t.
77746         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77747         defined.  Use __syscall_ulong_t.
77748         (shminfo): Use __syscall_ulong_t.
77749         (shm_info): Likewise.
77751         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77752         __syscall_ulong_t.
77754         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77755         <bits/wordsize.h>.
77756         (msgqnum_t): Use __syscall_ulong_t.
77757         (msglen_t): Likewise.
77758         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77759         __syscall_ulong_t.
77761         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77762         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77764         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77766         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77767         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77769         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77770         __syscall_slong_t.
77772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77773         include <bits/wordsize.h>.  Check __x86_64__ instead of
77774         __WORDSIZE.
77776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77777         "unsigned long long int" if __x86_64__ is defined.
77778         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77780         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77781         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77782         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77784         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77785         <stdint.h>.
77786         (GET_PC): Cast to uintptr_t first.
77787         (GET_FRAME): Likewise.
77788         (GET_STACK): Likewise.
77790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77793         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77795         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77797         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77798         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77802         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77820 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77822         * Makerules (+depfiles): Also collect depfiles from .oS in
77823         $(extra-objs).
77824         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77825         .oS, $(libnldbl-routines)).
77827         * Makerules (native-compile-mkdep-flags): Define.
77828         * sunrpc/Makefile (extra-objs): Add $(addprefix
77829         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77830         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77831         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77832         calling $(make-target-directory).
77834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77836         * bits/types.h (__snseconds_t): Removed.
77837         * time/time.h (struct timespec): Replace __snseconds_t with
77838         __syscall_slong_t.
77839         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77840         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77841         Likewise.
77842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77843         (__SNSECONDS_T_TYPE): Likewise.
77844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77845         (__SNSECONDS_T_TYPE): Likewise.
77846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77847         (__SNSECONDS_T_TYPE): Likewise.
77849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77851         * sysdeps/mach/hurd/bits/typesizes.h
77852         (__SYSCALL_SLONG_TYPE): New macro.
77853         (__SYSCALL_ULONG_TYPE): Likewise.
77855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77857         * bits/types.h (__syscall_slong_t): New type.
77858         (__syscall_ulong_t): Likewise.
77860         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77861         (__SYSCALL_ULONG_TYPE): Likewise.
77862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77863         (__SYSCALL_SLONG_TYPE): Likewise.
77864         (__SYSCALL_ULONG_TYPE): Likewise.
77865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77866         (__SYSCALL_SLONG_TYPE): Likewise.
77867         (__SYSCALL_ULONG_TYPE): Likewise.
77868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77869         (__SYSCALL_SLONG_TYPE): Likewise.
77870         (__SYSCALL_ULONG_TYPE): Likewise.
77872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77874         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77875         Add sigaltstack-offsets.sym.
77876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77877         <sigaltstack-offsets.h>.
77878         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77879         longjmp_msg pointer.
77880         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77881         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77882         signal stack.
77883         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77885 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77887         * elf/stackguard-macros.h: Remove file.
77888         * sysdeps/generic/stackguard-macros.h: New file.
77889         * sysdeps/i386/stackguard-macros.h: Likewise.
77890         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77891         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77892         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77893         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77894         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77895         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77896         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77897         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77898         <elf/stackguard-macros.h>.
77900         [BZ #14109]
77901         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77902         __aligned__ in attribute.
77903         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77904         (gregset_t): Likewise.
77906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77908         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77909         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77910         * sysdeps/x86_64/x32/Implies-after: New file.
77912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77914         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77915         and access return value for _dl_profile_fixup.  Use R10_LP to
77916         load frame size.
77918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77920         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77924         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77925         * sysdeps/x86_64/x32/sysdep.h: New file.
77927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77929         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77930         * sysdeps/x86_64/setjmp.S: Likewise.
77932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77936         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77937         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77938         remove unused global constant.
77940 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77942         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77943         include of <not-cancel.h>.
77945 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77947         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77949 2012-05-15  Jeff Law  <law@redhat.com>
77950             Andreas Jaeger  <aj@suse.de>
77952         [BZ #13594]
77953         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77954         out from...
77955         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77956         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77957         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77958         code changing __hst_map_handle.map.
77960 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77962         * configure.in (sysnames): Look for Implies-before and Implies-after
77963         files.
77964         * configure: Regenerated.
77966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77968         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77969         8-byte data alignment with LP_SIZE alignment.
77971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77974         into R10_LP.
77976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77978         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77983         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77985         Likewise.
77986         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77990         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77991         (stackinfo_sub_sp): Likewise.
77993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77996         RAX_LP.
77998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78001         into R*_LP.
78003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78006         sizes into R*_LP.
78008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78010         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78014         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78015         into R11_LP and load __x86_64_shared_cache_size_half into
78016         R8_LP.
78018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78020         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78021         R8_LP.
78023 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78026         logb for POWER7.
78027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78028         logbf for POWER7.
78029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78030         logbl for POWER7.
78031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78032         powerpc32/power7/fpu/s_logb.c via #include.
78033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78034         powerpc32/power7/fpu/s_logbf.c via #include.
78035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78036         powerpc32/power7/fpu/s_logbl.c via #include.
78038 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78040         * README.libm: Remove file.
78042 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78044         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78045         count for x32.  Use R*_LP and omit operand-size suffix.
78047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78049         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78050         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78051         * sysdeps/x86_64/x32/shlib-versions: New file.
78053 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78055         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78056         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78057         Use _dl_fatal_printf instead.
78059 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78061         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78062         set if not set by the user.  Do not allow for being unset.
78063         * sysdeps/unix/sysv/linux/configure: Regenerated.
78065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78067         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78068         the `q' suffix from lea and replace .quad with ASM_ADDR.
78070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78073         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78074         instead of $17.
78075         (PTR_DEMANGLE): Likewise.
78077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78079         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78080         (LP_OP): Likewise.
78081         (ASM_ADDR): Likewise.
78082         (RAX_LP): Likewise.
78083         (RBP_LP): Likewise.
78084         (RBX_LP): Likewise.
78085         (RCX_LP): Likewise.
78086         (RDI_LP): Likewise.
78087         (RSI_LP): Likewise.
78088         (RSP_LP): Likewise.
78089         (R8_LP): Likewise.
78090         (R9_LP): Likewise.
78091         (R10_LP): Likewise.
78092         (R10_LP): Likewise.
78093         (R11_LP): Likewise.
78094         (R12_LP): Likewise.
78095         (R13_LP): Likewise.
78096         (R14_LP): Likewise.
78097         (R15_LP): Likewise.
78099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78101         * sysdeps/x86_64/x32/dl-machine.h: New file.
78103 2012-05-14  Andreas Jaeger  <aj@suse.de>
78105         * manual/Makefile (subdir): Remove export of subdir.
78106         (all): Remove target.
78107         (.PHONY): Remove all from list.
78108         (mkinstalldirs): Remove.
78109         (.PHONY): Remove installdirs from list.
78110         ($(inst_infodir)/libc.info): Use make-target-directory.
78111         (installdirs): Remove.
78112         (subdir_%): Remove.
78113         (glibc-targets): Remove.
78114         (lib): Remove.
78115         (stubs): Remove.
78116         ($(objpfx)stubs ../po/manual.pot): Remove.
78117         ($(objpfx)stamp%): Remove.
78118         (make-target-directory): Remove.
78119         (subdir_install): Remove.
78120         (routines): Remove.
78121         (aux): Remove.
78122         (sources): Remove.
78123         (objects): Remove.
78124         (headers): Remove.
78126         [BZ #13750]
78127         * manual/.gitignore: Remove, it's not needed anymore.
78128         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78129         all files in it.
78130         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78131         directory.
78132         (texis): Renamed to $(objpfx)texis.
78133         (texis-path): New, contains path to generated files.
78134         (chapters.%): Use texis-path for complete path, add extra argument
78135         libc-texinfo.sh.
78136         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78137         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78138         (summary,texi, stamp-summary): Use complete path of
78139         files. Generate files in build dir.
78140         (dir-add.texi): Build in build dir.
78141         (libm-err.texi,stamp-libm-err): Likewise.
78142         (version.texi, stamp-version): Likewise.
78143         (.%c.texi): Likewise.
78144         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78145         (mostlyclean): Remove target.
78146         (realclean): Remove target.
78147         (generated): Add new variable with contents from mostlyclean and
78148         realclean, remove entries duplicated in common-mostlyclean, add
78149         stamp-libm-err and stamp-version.
78150         (generated-dirs): Add libc directory.
78151         ($(inst_infodir)/libc.info): Install files from build dir.
78153         * manual/install.texi (Configuring and compiling): Adjust since
78154         the info files are not part of the tar ball anymore.
78156 2012-05-14  Andreas Jaeger  <aj@suse.de>
78158         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78159         variable.
78161 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78163         [BZ #13717]
78164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78165         to 2.2.0 where earlier.
78166         * sysdeps/unix/sysv/linux/configure: Regenerated.
78167         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78168         Remove conditional code.
78169         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78170         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78171         Remove conditional code.
78172         [!__NR_lchown]: Likewise.
78173         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78174         [__NR_lchown]: Likewise.
78175         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78176         comment referencing __ASSUME_LCHOWN_SYSCALL.
78177         * sysdeps/unix/sysv/linux/i386/sigaction.c
78178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78180         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78181         Remove conditional code.
78182         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78183         (__protocol_available): Remove #if 0 code.
78184         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78185         conditional code.
78186         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78187         * sysdeps/unix/sysv/linux/kernel-features.h
78188         (__ASSUME_GETCWD_SYSCALL): Don't define.
78189         (__ASSUME_REALTIME_SIGNALS): Likewise.
78190         (__ASSUME_PREAD_SYSCALL): Likewise.
78191         (__ASSUME_PWRITE_SYSCALL): Likewise.
78192         (__ASSUME_POLL_SYSCALL): Likewise.
78193         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78194         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78195         non-SPARC.
78196         (__ASSUME_SIOCGIFNAME): Don't define.
78197         (__ASSUME_MSG_NOSIGNAL): Likewise.
78198         (__ASSUME_SENDFILE): Define unconditionally.
78199         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78200         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78201         conditional code.
78202         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78203         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78204         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78205         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78206         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78207         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78208         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78213         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78222         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78225         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78226         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78228         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78231         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78232         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78233         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78234         Remove conditional code.
78235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78236         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78237         Remove conditional code.
78238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78239         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78240         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78241         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78242         Remove conditional code.
78243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78244         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78245         Remove conditional code.
78246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78247         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78248         Remove conditional code.
78249         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78250         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78251         Remove conditional code.
78252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78253         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78254         Remove conditional code.
78255         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78256         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78259         * sysdeps/unix/sysv/linux/sigaction.c
78260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78262         * sysdeps/unix/sysv/linux/sigpending.c
78263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78265         * sysdeps/unix/sysv/linux/sigprocmask.c
78266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78268         * sysdeps/unix/sysv/linux/sigsuspend.c
78269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78272         (__libc_missing_rt_sigs): Remove.
78273         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78274         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78275         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78276         Remove conditional code.
78277         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78278         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78279         return 1.
78280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78281         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78282         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78283         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78285 2012-05-14  Andreas Jaeger  <aj@suse.de>
78287         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78288         it's not used in glibc.
78289         (__coshm1): Likewise.
78290         (__acosh1p): Likewise.
78291         (__sgn): Likewise.
78293         * manual/string.texi (Copying and Concatenation): Add missing
78294         variable in concat example.
78295         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78299         [BZ #14103]
78300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78301         __builtin_clzl with __builtin_clzll.
78303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78305         [BZ #14104]
78306         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78307         libc_freeres_ptr.
78309 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78311         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78312         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78313         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78314         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78316 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78318         * NEWS: Update ia64 info.
78320 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78322         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78323         used as bcopy.
78325 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78327         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78328         * sysdeps/unix/syscalls.list (dup3): Likewise.
78329         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78330         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78332 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78334         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78335         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78337 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78339         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78340         thread pointer.
78341         (TLS_IE): Use mov/add instead of movq/addq to load thread
78342         pointer.
78343         (TLS_GD_PREFIX): New.
78344         (TLS_GD): Use it.
78346 2012-05-11  David S. Miller  <davem@davemloft.net>
78348         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78349         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78350         (_FPU_SETCW): Likewise.
78352 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78354         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78355         is 32-byte aligned.
78357 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78359         [BZ #11837]
78360         * iconvdata/gb18030.c: Update tables.
78361         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78362         characters specially.
78363         (BODY for TO_LOOP): Add encoding of missing ranges.
78365 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78367         [BZ #13673]
78368         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78369         * sysdeps/mach/hurd/dup3.c: Likewise.
78370         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78371         * sysdeps/powerpc/memmove.c:: Likewise.
78373 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78376         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78380         * elf/elf.h (R_X86_64_RELATIVE64): New.
78381         (R_X86_64_NUM): Updated.
78382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78383         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78384         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78385         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78386         tst-quad1pie tst-quad2pie
78387         (modules-names): Add tst-quadmod1 tst-quadmod2.
78388         ($(objpfx)tst-quad1): New dependency.
78389         ($(objpfx)tst-quad2): Likewise.
78390         ($(objpfx)tst-quad1pie): Likewise.
78391         ($(objpfx)tst-quad2pie): Likewise.
78392         * sysdeps/x86_64/tst-quad1.c: New file.
78393         * sysdeps/x86_64/tst-quad1pie.c: New file.
78394         * sysdeps/x86_64/tst-quad2.c: Likewise.
78395         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78396         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78397         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78398         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78399         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78403         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78404         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78405         * streams/stropts.h (t_scalar_t): Define type.
78407         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78408         (_PATH_PRESERVE): Set to "/var/lib".
78409         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78411         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78412         instead of int.
78414         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78415         if __dir_mkfile succeeded.
78417         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78418         checking for _hurd_dtablesize.  Unlock it right after having
78419         finished _hurd_dtable allocation.
78421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78423         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78424         * sysdeps/mach/hurd/configure: Regenerated.
78425         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78426         special-casing to...
78427         * sysdeps/gnu/configure.in: ... this new file.
78428         * sysdeps/unix/sysv/linux/configure: Regenerated.
78429         * sysdeps/gnu/configure: New generated file.
78431         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78432         for Linux: use nsec instead of usec, as well as:
78433         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78434         members of type struct timespec.
78435         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78436         New macros.
78437         (struct stat64): Likewise.
78438         (_STATBUF_ST_NSEC): New macro.
78439         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78441         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78442         __strtoul_internal rather than strtoul.
78444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78446         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78447         and reject them.
78449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78451         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78452         which preserves existing values.
78453         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78455 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78457         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78458         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78459         greater than FD_SETSIZE.
78461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78463         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78464         allocated, call __vm_protect to finish enabling the existing space, and
78465         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78466         allocate the remainder.
78468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78470         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78471         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
78473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78475         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78476         sysdeps/mach/hurd/readlink.c.
78478         * posix/tst-sysconf.c (posix_options): Only use
78479         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78480         _POSIX_SYNCHRONIZED_IO when they are defined
78481         * sysdeps/mach/hurd/bits/posix_opt.h:
78482         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78483         (_XOPEN_REALTIME): Undefine macro.
78484         (_XOPEN_REALTIME_THREADS): Undefine macro.
78485         (_XOPEN_SHM): Undefine macro.
78486         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78487         macro to -1.
78488         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78489         macro to -1.
78490         (_POSIX_ASYNC_IO): Undefine macro.
78491         (_POSIX_PRIORITIZED_IO): Undefine macro.
78492         (_POSIX_SPIN_LOCKS): Define macro to -1.
78494         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78495         SA_NODEFER, SA_RESETHAND.
78496         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78497         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78498         F_DUPFD_CLOEXEC.
78500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78502         * elf/Makefile (pldd-modules): Define unconditionally.
78504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78506         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78510         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78511         Return ENOENT when name is empty.
78512         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78516         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78518         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78520 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78522         Fix mlock in all cases except non-readable pages.
78523         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78524         instead of VM_PROT_ALL as parameter to __vm_wire function.
78526         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78527         (__mkdir): When path is `/', just fail with EEXIST.
78528         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78532         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78533         <sys/uio.h> (for writev).
78534         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78535         and <sys/param.h> (for MIN).
78537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78539         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78540         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78541         if interrupted.
78543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78545         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78546         Depend on against $(link-rpcuserlibs).
78548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78550         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78551         (__libc_stack_end): Do not use attribute_relro.
78552         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78553         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78554         to libthread-provided value.
78555         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78556         attribute_relro.
78558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78560         [BZ #3748]
78561         * bits/libc-lock.h (__libc_once_get): New macro.
78562         * sysdeps/mach/bits/libc-lock.h: Likewise.
78563         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78565         instead of using implementation details.
78567         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78568         * libio/freopen.c: Likewise.
78569         * libio/freopen64.c: Likewise.
78570         * misc/syslog.c: Likewise.
78571         * nscd/connections.c: Likewise.
78572         * nscd/netgroupcache.c: Likewise.
78573         * sysdeps/posix/getcwd.c: Likewise.
78575 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78577         * math/w_ilogbf.c: Add #include <limits.h>.
78579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78581         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78582         path instead of returning without unlocking.
78584         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78585         immediate-write ioctls.
78586         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78590         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78591         __builtin_frame_address instead of making assumptions about the
78592         location of the return address relative to DATA.  Force early load of
78593         the return address.
78594         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78595         __builtin_frame_address.
78597         dup3 for GNU Hurd.
78598         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78599         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78600         implement dup3 and do some further code clean-ups.
78601         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78602         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78606         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78608         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78609         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78610         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78611         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78612         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78613         d->port.lock.
78615         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78616         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78617         when handler == SIG_ERR, not when handler != SIG_ERR.
78619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78621         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78622         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78623         definitions.
78625         accept4 for GNU Hurd.
78626         * include/sys/socket.h (__libc_accept4): New prototype.
78627         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78628         to implement __libc_accept4.
78629         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78630         __libc_accept4.
78631         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78633         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78634         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78635         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78636         signal-defines.sym.
78638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78640         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78644         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78645         assertion on O_CLOEXEC flag.
78646         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78647         * hurd/intern-fd.c: Likewise.
78648         * hurd/port2fd.c: Likewise.
78650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78652         [BZ #3906]
78653         * bits/in.h (IPV6_PKTINFO): Define new macro.
78654         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78656 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78658         [BZ #13954]
78659         [BZ #13955]
78660         [BZ #13956]
78661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78663         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78664         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78666         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78667         * math/libm-test.inc (logb_test) : Additional logb tests.
78669 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78670             Andreas Jaeger  <aj@suse.de>
78672         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78673         * configure: Regenerated.
78674         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78675         * config.make.in (link-obsolete-rpc): New substituted variable.
78676         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78677         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78678         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78679         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78680         so that libc.a contains the symbols.
78681         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78682         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78683         * sunrpc/auth_none.c: Likewise.
78684         * sunrpc/auth_unix.c: Likewise.
78685         * sunrpc/authdes_prot.c: Likewise.
78686         * sunrpc/authuxprot.c: Likewise.
78687         * sunrpc/clnt_gen.c: Likewise.
78688         * sunrpc/clnt_perr.c: Likewise.
78689         * sunrpc/clnt_raw.c: Likewise.
78690         * sunrpc/clnt_simp.c: Likewise.
78691         * sunrpc/clnt_tcp.c: Likewise.
78692         * sunrpc/clnt_udp.c: Likewise.
78693         * sunrpc/clnt_unix.c: Likewise.
78694         * sunrpc/des_crypt.c: Likewise.
78695         * sunrpc/des_soft.c: Likewise.
78696         * sunrpc/get_myaddr.c: Likewise.
78697         * sunrpc/key_call.c: Likewise.
78698         * sunrpc/key_prot.c: Likewise.
78699         * sunrpc/netname.c: Likewise.
78700         * sunrpc/pm_getmaps.c: Likewise.
78701         * sunrpc/pm_getport.c: Likewise.
78702         * sunrpc/pmap_clnt.c: Likewise.
78703         * sunrpc/pmap_prot.c: Likewise.
78704         * sunrpc/pmap_prot2.c: Likewise.
78705         * sunrpc/pmap_rmt.c: Likewise.
78706         * sunrpc/publickey.c: Likewise.
78707         * sunrpc/rpc_cmsg.c: Likewise.
78708         * sunrpc/rpc_common.c: Likewise.
78709         * sunrpc/rpc_dtable.c: Likewise.
78710         * sunrpc/rpc_prot.c: Likewise.
78711         * sunrpc/rpc_thread.c: Likewise.
78712         * sunrpc/rtime.c: Likewise.
78713         * sunrpc/svc.c: Likewise.
78714         * sunrpc/svc_auth.c: Likewise.
78715         * sunrpc/svc_raw.c: Likewise.
78716         * sunrpc/svc_run.c: Likewise.
78717         * sunrpc/svc_tcp.c: Likewise.
78718         * sunrpc/svc_udp.c: Likewise.
78719         * sunrpc/svc_unix.c: Likewise.
78720         * sunrpc/svcauth_des.c: Likewise.
78721         * sunrpc/xcrypt.c: Likewise.
78722         * sunrpc/xdr.c: Likewise.
78723         * sunrpc/xdr_array.c: Likewise.
78724         * sunrpc/xdr_float.c: Likewise.
78725         * sunrpc/xdr_intXX_t.c: Likewise.
78726         * sunrpc/xdr_mem.c: Likewise.
78727         * sunrpc/xdr_rec.c: Likewise.
78728         * sunrpc/xdr_ref.c: Likewise.
78729         * sunrpc/xdr_sizeof.c: Likewise.
78730         * sunrpc/xdr_stdio.c: Likewise.
78732 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78735         change.  Update copyright years.
78737 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78739         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78741 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78742             Joseph Myers  <joseph@codesourcery.com>
78743             Paul Pluzhnikov  <ppluzhnikov@google.com>
78745         [BZ #14012]
78746         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78747         requiring rpcgen.
78748         [cross-compiling] (extra-libs): Likewise.
78749         [cross-compiling] (extra-libs-others): Likewise.
78750         [cross-compiling] (librpcsvc-routines): Likewise.
78751         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78752         [cross-compiling] (omit-deps): Likewise.
78753         (sunrpc-CPPFLAGS): New variable.
78754         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78755         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78756         (cross-rpcgen-objs): New variable.
78757         (extra-objs): Append $(cross-rpcgen-objs).
78758         ($(cross-rpcgen-objs)): New rule.
78759         ($(objpfx)cross-rpcgen): Likewise.
78760         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78761         comment.
78762         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78763         ($(objpfx)x%.stmp): Likewise.
78764         * sunrpc/proto.h [IS_IN_build] (_): Define.
78765         [IS_IN_build] (_libc_intl_domainname): Likewise.
78767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78770         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78771         and R_X86_64_TPOFF64.
78773 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78775         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78776         sysdeps/unix/sysv/syscalls.list.
78777         (stime): Likewise.
78778         (utime): Likewise.
78779         * sysdeps/unix/sysv/syscalls.list: Remove file.
78781 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78783         [BZ #3440]
78784         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78785         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78786         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78787         (__LC_IDENTIFICATION): Make these macros useful in #if
78788         expressions, as required by C99.
78790 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78792         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78793         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78794         after this.
78796 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78798         * stdlib/longlong.h: Updated from GCC.
78800 2012-05-09  Andreas Jaeger  <aj@suse.de>
78802         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78803         default is first entry.
78804         (run_mode): Set type.
78805         (main): Remove informal message about syslog.
78806         (options): Fix typo.
78808         [BZ #14053]
78809         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78810         to asm.
78811         (lrint): Likewise.
78812         (llrintf): Likewise.
78813         (llrint): Likewise.
78814         (rint): Likewise.
78815         (rintf): Likewise.
78816         (nearbyint): Likewise.
78817         (nearbyintf): Likewise.
78819 2012-05-09  Andreas Jaeger  <aj@suse.de>
78820             Pedro Alves  <palves@redhat.com>
78822         * nscd/nscd.c (run_mode): Use enum.
78823         (main): Cleanup coding style issue.
78825 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78826             Andreas Jaeger  <aj@suse.de>
78828         * nscd/nscd.c (go_background): Replaced with...
78829         (run_mode): ... this.
78830         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78831         (options): Add -F --foreground.
78832         (main): Implement it.
78833         (parse_opt): Parse it.
78835 2012-05-09  Andreas Jaeger  <aj@suse.de>
78837         [BZ #14083]
78838         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78839         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78840         -Wconversion warning.
78841         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78842         Likewise.
78844 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78846         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78847         == 0.
78848         (LC_ALL): Use macro-int-constant.
78849         (LC_COLLATE): Likewise.
78850         (LC_CTYPE): Likewise.
78851         (LC_MESSAGES): Likewise.
78852         (LC_MONETARY): Likewise.
78853         (LC_NUMERIC): Likewise.
78854         (LC_TIME): Likewise.
78855         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78856         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78857         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78858         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78859         Specify type.
78860         [C99-based standards] (float_t): Expect type.
78861         [C99-based standards] (double_t): Expect type.
78862         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78863         type.
78864         [C99-based standards] (HUGE_VALL): Likewise.
78865         [C99-based standards] (INFINITY): Likewise.
78866         [C99-based standards] (NAN): Likewise.
78867         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78868         [C99-based standards] (FP_NAN): Likewise.
78869         [C99-based standards] (FP_NORMAL): Likewise.
78870         [C99-based standards] (FP_SUBNORMAL): Likewise.
78871         [C99-based standards] (FP_ZERO): Likewise.
78872         [C99-based standards] (FP_FAST_FMA): Use
78873         optional-macro-int-constant.  Specify type.  Require == 1.
78874         [C99-based standards] (FP_FAST_FMAF): Likewise.
78875         [C99-based standards] (FP_FAST_FMAL): Likewise.
78876         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78877         [C99-based standards] (FP_ILOGBNAN): Likewise.
78878         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78879         Specify type.
78880         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78881         [C99-based standards] (math_errhandling): Specify type.
78882         [ISO99 || ISO11] (signgam): Do not allow.
78883         [non-C99-based standards] (copysignf): Do not allow.
78884         [non-C99-based standards] (exp2f): Likewise.
78885         [non-C99-based standards] (log2f): Likewise.
78886         [non-C99-based standards] (modff): Allow.
78887         [non-C99-based standards] (erff): Do not allow.
78888         [non-C99-based standards] (erfcf): Likewise.
78889         [non-C99-based standards] (gammaf): Likewise.
78890         [non-C99-based standards] (hypotf): Likewise.
78891         [non-C99-based standards] (j0f): Likewise.
78892         [non-C99-based standards] (j1f): Likewise.
78893         [non-C99-based standards] (jnf): Likewise.
78894         [non-C99-based standards] (lgammaf): Likewise.
78895         [non-C99-based standards] (tgammaf): Likewise.
78896         [non-C99-based standards] (y0f): Likewise.
78897         [non-C99-based standards] (y1f): Likewise.
78898         [non-C99-based standards] (ynf): Likewise.
78899         [non-C99-based standards] (isnanf): Likewise.
78900         [non-C99-based standards] (acoshf): Likewise.
78901         [non-C99-based standards] (asinhf): Likewise.
78902         [non-C99-based standards] (atanhf): Likewise.
78903         [non-C99-based standards] (cbrtf): Likewise.
78904         [non-C99-based standards] (expm1f): Likewise.
78905         [non-C99-based standards] (ilogbf): Likewise.
78906         [non-C99-based standards] (log1pf): Likewise.
78907         [non-C99-based standards] (logbf): Likewise.
78908         [non-C99-based standards] (nextafterf): Likewise.
78909         [non-C99-based standards] (remainderf): Likewise.
78910         [non-C99-based standards] (rintf): Likewise.
78911         [non-C99-based standards] (scalbf): Likewise.
78912         [non-C99-based standards] (copysignl): Likewise.
78913         [non-C99-based standards] (exp2l): Likewise.
78914         [non-C99-based standards] (log2l): Likewise.
78915         [non-C99-based standards] (modfl): Allow.
78916         [non-C99-based standards] (erfl): Do not allow.
78917         [non-C99-based standards] (erfcl): Likewise.
78918         [non-C99-based standards] (gammal): Likewise.
78919         [non-C99-based standards] (hypotl): Likewise.
78920         [non-C99-based standards] (j0l): Likewise.
78921         [non-C99-based standards] (j1l): Likewise.
78922         [non-C99-based standards] (jnl): Likewise.
78923         [non-C99-based standards] (lgammal): Likewise.
78924         [non-C99-based standards] (tgammal): Likewise.
78925         [non-C99-based standards] (y0l): Likewise.
78926         [non-C99-based standards] (y1l): Likewise.
78927         [non-C99-based standards] (ynl): Likewise.
78928         [non-C99-based standards] (isnanl): Likewise.
78929         [non-C99-based standards] (acoshl): Likewise.
78930         [non-C99-based standards] (asinhl): Likewise.
78931         [non-C99-based standards] (atanhl): Likewise.
78932         [non-C99-based standards] (cbrtl): Likewise.
78933         [non-C99-based standards] (expm1l): Likewise.
78934         [non-C99-based standards] (ilogbl): Likewise.
78935         [non-C99-based standards] (log1pl): Likewise.
78936         [non-C99-based standards] (logbl): Likewise.
78937         [non-C99-based standards] (nextafterl): Likewise.
78938         [non-C99-based standards] (remainderl): Likewise.
78939         [non-C99-based standards] (rintl): Likewise.
78940         [non-C99-based standards] (scalbl): Likewise.
78941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78942         [non-C99-based standards] (FP_*): Do not allow.
78943         [C99-based standards] (FP_*): Change to
78944         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78945         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78946         allow.
78947         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78948         (SIG_ERR): Likewise.
78949         [X/Open-based standards] (SIG_HOLD): Likewise.
78950         (SIG_IGN): Likewise.
78951         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78952         positive value.
78953         (SIGFPE): Likewise.
78954         (SIGILL): Likewise.
78955         (SIGINT): Likewise.
78956         (SIGSEGV): Likewise.
78957         (SIGTER): Likewise.
78958         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78959         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78960         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78961         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78962         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78963         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78964         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78965         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78966         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78967         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78968         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78969         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78970         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78971         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78972         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78973         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78974         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78975         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78976         [X/Open-based standards] (SIGTRAP): Likewise.
78977         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78978         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78979         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78980         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78981         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78982         allow.
78984 2012-05-08  Ian Wienand  <ianw@vmware.com>
78986         [BZ #14080]
78987         * time/tzset.c (__tzset_parse_tz): Update default rules for
78988         daylight time changes in the Energy Policy Act of 2005.
78990 2012-05-09  Andreas Jaeger  <aj@suse.de>
78992         [BZ #13983]
78993         * elf/ldconfig.c (parse_conf): Change string to make clear that
78994         ldconfig only issued a warning if ld.so.conf does not exist.
78996 2012-05-08  David S. Miller  <davem@davemloft.net>
78998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78999         movxtod instead of popping the value on the stack.
79001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79003 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79005         * config.h.in: Add HAVE_ARM_PCS_VFP.
79007 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79009         [BZ #13979]
79010         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79011         checking but the checks are disabled for any reason.
79013 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79015         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79016         and ELF64_R_TYPE with ELFW(R_TYPE).
79018 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79020         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79021         (ulimit): Likewise.
79023         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79024         (settimeofday): Likewise.
79026 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79028         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79029         a struct th_u2 inside the union, and move tu_block/tu_code into
79030         a new th_u3 union of tu_block/tu_code inside of that.  Move
79031         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79032         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79033         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79034         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79035         (th_stuff): Change to th_u1.tu_stuff.
79036         (th_data): Define.
79037         (th_msg): Change to th_u1.th_u2.tu_data.
79039 2012-05-07  David S. Miller  <davem@davemloft.net>
79041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79043         [BZ #14074]
79044         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79045         (SETUP_PIC_REG): Use it.
79046         (SETUP_PIC_REG_LEAF): Use it.
79048 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79050         [BZ #13885]
79051         [BZ #13923]
79052         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79053         USE_AS_EXPM1L.
79054         (EXPL_FINITE): Likewise.
79055         (FLDLOG): Likewise.
79056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79057         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79058         e_expl.S.
79059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79060         USE_AS_EXPM1L.
79061         (EXPL_FINITE): Likewise.
79062         (FLDLOG): Likewise.
79063         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79064         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79065         e_expl.S.
79066         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79067         test of -max_value argument for long double.
79068         * sysdeps/i386/fpu/libm-test-ulps: Update.
79069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79071 2012-05-06  David S. Miller  <davem@davemloft.net>
79073         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79074         quad soft-float symbols whose references which are compiler
79075         generated.
79076         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79078 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79080         [BZ #13884]
79081         [BZ #13914]
79082         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79083         USE_AS_EXP10L.
79084         (EXPL_FINITE): Likewise.
79085         (FLDLOG): Likewise.
79086         (c0): Likewise.
79087         (c1): Likewise.
79088         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79089         Adjust comments for base varying.
79090         (__expl_finite): Change alias to EXPL_FINITE.
79091         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79092         e_expl.S.
79093         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79094         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79095         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79096         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79097         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79098         USE_AS_EXP10L.
79099         (EXPL_FINITE): Likewise.
79100         (FLDLOG): Likewise.
79101         (c0): Likewise.
79102         (c1): Likewise.
79103         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79104         Adjust comments for base varying.
79105         (__expl_finite): Change alias to EXPL_FINITE.
79106         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79107         tests for bugs.
79108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79110         [BZ #14064]
79111         * math/libm-test.inc (check_float_internal): Correct ulp
79112         calculation for subnormal expected results.
79114 2012-05-06  Andreas Jaeger  <aj@suse.de>
79116         * Makeconfig (+math-flags): New, set to -frounding-math.
79117         (+cflags): Add +math-flags so that all of glibc gets compiled with
79118         it.
79120         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79122 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79124         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79125         Disable one test.
79127         [BZ #13787]
79128         [BZ #13922]
79129         [BZ #14036]
79130         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79131         (__ieee754_expl): Allow for and saturate large arguments.
79132         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79133         (u_threshold): Likewise.
79134         (__exp): Call __ieee754_exp before checking for overflow and
79135         underflow.
79136         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79137         (u_threshold): Likewise.
79138         (__expf): Call __ieee754_expf before checking for overflow and
79139         underflow.
79140         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79141         (u_threshold): Likewise.
79142         (__expl): Call __ieee754_expl before checking for overflow and
79143         underflow.
79144         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79145         (__ieee754_expl): Allow for and saturate large arguments.
79146         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79147         missing overflow exception on overflow.
79148         (expm1_test): Do not allow missing overflow exception on overflow.
79150         * sysdeps/i386/fpu/e_expl.c: Move to ...
79151         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79152         rather than using inline asm.
79153         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79154         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79155         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79157         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79158         (nice): Likewise.
79159         (poll): Likewise.
79160         (signal): Likewise.
79161         (time): Likewise.
79162         (times): Likewise.
79164 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79166         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79167         sysdeps/unix/common/syscalls.list.
79168         (fchmod): Likewise.
79169         (fchown): Likewise.
79170         (ftruncate): Likewise.
79171         (getrusage): Likewise.
79172         (gettimeofday): Likewise.
79173         (setpgid): Likewise.
79174         (setregid): Likewise.
79175         (setreuid): Likewise.
79176         (sigaction): Likewise.
79177         (truncate): Likewise.
79178         (vhangup): Likewise.
79179         * sysdeps/unix/common/syscalls.list: Remove file.
79180         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79181         * sysdeps/unix/sysv/linux/Implies: Likewise.
79183 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79185         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79187         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79188         Moved to ...
79189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79190         Here.
79191         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79192         to ...
79193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79194         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79195         to ...
79196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79197         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79198         to ...
79199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79200         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79201         to ...
79202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79203         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79204         to ...
79205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79206         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79207         to ...
79208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79209         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79210         to ...
79211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79212         Here.
79213         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79214         to ...
79215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79216         Here.
79217         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79218         to ...
79219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79220         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79221         Moved to ...
79222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79223         Here.
79224         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79225         to ...
79226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79228 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79230         * sysdeps/unix/common/bits/dirent.h: Remove file.
79231         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79233         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79234         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79235         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79236         * sysdeps/unix/bsd/isatty.c: Likewise.
79237         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79238         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79239         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79241 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79243         [BZ #13563]
79244         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79245         long double comparison inaccuracies.
79246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79249 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79251         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79252         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79254 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79256         [BZ #14049]
79257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79258         nonzero digits before rounding a hex value.
79259         * stdlib/tst-strtod.c (tests): Add another test.
79261 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79263         * sysdeps/s390/fpu/libm-test-ulps: Update.
79265 2012-05-03  Andreas Jaeger  <aj@suse.de>
79267         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79268         does not get optimized out.
79269         (malloc_opt_barrier): New.
79271 2012-05-03  Andreas Jaeger  <aj@suse.de>
79272             Roland McGrath  <roland@hack.frob.com>
79274         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79275         intermediate file deletion.
79276         (generated): Add .symlist files.
79278 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79280         [BZ #13775]
79281         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79282         Redirect under this condition.
79283         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79284         [__USE_GNU] (__dprintf_chk): Not under this condition.
79285         [__USE_GNU] (__vdprintf_chk): Likewise.
79286         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79287         under this condition.
79288         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79289         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79290         [__USE_XOPEN2K8] (vdprintf): Likewise.
79291         [__USE_GNU] (__dprintf_chk): Not under this condition.
79292         [__USE_GNU] (__vdprintf_chk): Likewise.
79293         [__USE_GNU] (dprintf): Likewise.
79294         [__USE_GNU] (vdprintf): Likewise.
79296 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79298         * elf/Makefile (common-generated): Set this instead of generated for
79299         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79300         $(all-built-dso)-derived lists.
79302 2012-05-03  Andreas Jaeger  <aj@suse.de>
79304         * sysdeps/i386/fpu/libm-test-ulps: Update.
79306         * FAQ: Removed.
79307         * FAQ.in: Likewise.
79308         * scripts/gen-FAQ.pl: Likewise.
79309         * manual/install.texi (Installation): Point to online location of
79310         FAQ.
79311         * Makefile (files-for-dist): Remove FAQ.
79312         (FAQ): Remove.
79314 2012-05-02  Allan McRae  <allan@archlinux.org>
79316         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79317         (LDFLAGS-reldepmod5.so): Likewise.
79318         (LDFLAGS-reldep6mod1.so): Likewise.
79319         (LDFLAGS-reldep6mod4.so): Likewise.
79320         (LDFLAGS-reldep8mod3.so): Likewise.
79321         (LDFLAGS-unload4mod1.so): Likewise.
79322         (LDFLAGS-unload4mod2.so): Likewise.
79323         (LDFLAGS-tst-initorder): Likewise.
79324         (LDFLAGS-tst-initordera2.so): Likewise.
79325         (LDFLAGS-tst-initordera3.so): Likewise.
79326         (LDFLAGS-tst-initordera4.so): Likewise.
79327         (LDFLAGS-tst-initorderb2.so): Likewise.
79328         (LDFLAGS-noload): Likewise.
79329         (LDFLAGS-next): Likewise.
79330         (LDFLAGS-order2mod1.so): Likewise.
79331         (LDFLAGS-order2mod2.so): Likewise.
79332         (LDFLAGS-tst-initorder2): Likewise.
79333         (LDFLAGS-tst-initorder2a.so): Likewise.
79334         (LDFLAGS-tst-initorder2b.so): Likewise.
79335         (LDFLAGS-tst-initorder2c.so): Likewise.
79336         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79338 2012-05-02  David S. Miller  <davem@davemloft.net>
79340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79342 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79344         [BZ #14055]
79345         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79347 2012-05-02  Andreas Jaeger  <aj@suse.de>
79349         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79350         since we manipulate rounding mode.
79351         (CPPFLAGS-test-idouble.c): Likewise.
79352         (CPPFLAGS-test-ifloat.c): Likewise.
79353         (CFLAGS-test-ldouble.c): Likewise.
79354         (CFLAGS-test-double.c): Likewise.
79355         (CFLAGS-test-float.c): Likewise.
79356         (CFLAGS-test-misc.c): Likewise.
79357         (CFLAGS-test-test-fenv.c): Likewise.
79359 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79361         [BZ #2550]
79362         [BZ #2570]
79363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79364         comparisons to determine direction to adjust input.
79366 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79368         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79369         output to the target.
79371         * scripts/localplt.awk: New file.
79372         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79373         (check-localplt-CFLAGS): Variable removed.
79374         ($(all-built-dso:=.jmprel)): New static pattern rule.
79375         (generated): Add those targets.
79376         (localplt-built-dso): New variable.
79377         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79379         * elf/check-localplt.c: File removed.
79381         * scripts/check-execstack.awk: New file.
79382         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79383         (check-execstack-CFLAGS): Variable removed.
79384         ($(objpfx)check-execstack.h): Target removed.
79385         ($(objpfx)execstack-default): New target.
79386         (generated): Add that instead of check-execstack.h.
79387         ($(all-built-dso:=.phdr)): New static pattern rule.
79388         (generated): Add those targets.
79389         * elf/check-execstack.c: File removed.
79391         * scripts/check-textrel.awk: New file.
79392         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79393         (check-textrel-CFLAGS): Variable removed.
79394         (all-built-dso): Use := to define.o
79395         ($(all-built-dso:=.dyn)): New static pattern rule.
79396         (generated): Add those targets.
79397         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79398         * config.make.in (READELF): New substituted variable.
79399         * elf/check-textrel.c: File removed.
79401 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79403         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79404         allow.
79405         * conform/data/ctype.h-data [C99-based standards] (isblank):
79406         Expect function.
79407         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79408         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79410         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79411         Specify type.  Require positive value.
79412         (EILSEQ): Likewise.
79413         (ERANGE): Likewise.
79414         [ISO || POSIX] (EILSEQ): Do not expect.
79415         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79416         Specify type.  Require positive value.
79417         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79418         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79419         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79420         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79421         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79422         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79423         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79424         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79425         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79426         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79427         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79428         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79429         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79430         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79431         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79432         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79433         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79434         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79435         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79436         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79437         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79438         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79439         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79440         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79441         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79442         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79443         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79444         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79445         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79446         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79447         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79448         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79449         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79450         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79451         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79452         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79453         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79454         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79455         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79456         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79457         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79458         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79459         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79460         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79461         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79462         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79463         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79464         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79465         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79466         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79467         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79468         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79469         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79470         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79471         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79472         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79473         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79474         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79475         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79476         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79477         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79478         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79479         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79480         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79481         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79482         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79483         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79484         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79485         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79486         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79487         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79488         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79489         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79490         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79491         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79492         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79493         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79494         Require >= 2.
79495         (FLT_ROUNDS): Expect as macro, not constant.
79496         (FLT_MANT_DIG): Use macro-int-constant.
79497         (DBL_MANT_DIG): Likewise.
79498         (LDBL_MANT_DIG): Likewise.
79499         (FLT_DIG): Likewise.
79500         (DBL_DIG): Likewise.
79501         (LDBL_DIG): Likewise.
79502         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
79503         (DBL_MIN_EXP): Likewise.
79504         (LDBL_MIN_EXP): Likewise.
79505         (FLT_MAX_EXP): Use macro-int-constant.
79506         (DBL_MAX_EXP): Likewise.
79507         (LDBL_MAX_EXP): Likewise.
79508         (FLT_MAX_10_EXP): Likewise.
79509         (DBL_MAX_10_EXP): Likewise.
79510         (LDBL_MAX_10_EXP): Likewise.
79511         (FLT_MAX): Use macro-constant.
79512         (DBL_MAX): Likewise.
79513         (LDBL_MAX): Likewise.
79514         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79515         (DBL_EPSILON): Likewise.
79516         (LDBL_EPSILON): Likewise.
79517         (FLT_MIN): Likewise.
79518         (DBL_MIN): Likewise.
79519         (LDBL_MIN): Likewise.
79520         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79521         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79522         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79523         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79524         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79525         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79526         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79527         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79528         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79529         [ISO11] (FLT_TRUE_MIN): Likewise.
79530         [ISO11] (LDBL_TRUE_MIN): Likewise.
79531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79532         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79533         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79534         (SCHAR_MAX): Likewise.
79535         (UCHAR_MAX): Likewise.
79536         (CHAR_MIN): Likewise.
79537         (CHAR_MAX): Likewise.
79538         (MB_LEN_MAX): Use macro-int-constant.
79539         (SHRT_MIN): Use macro-int-constant.  Specify type.
79540         (SHRT_MAX): Likewise.
79541         (USHRT_MAX): Likewise.
79542         (INT_MAX): Likewise.
79543         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79544         bound negative.
79545         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79546         bound with "U".
79547         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79548         bound with "L".
79549         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79550         bound negative.  Suffix upper bound with "L".
79551         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79552         bound with "UL".
79553         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79554         Specify type.
79555         [C99-based standards] (LLONG_MAX): Likewise.
79556         [C99-based standards] (ULLONG_MAX): Likewise.
79557         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79558         == 0.
79559         [ISO11] (max_align_t): Require type.
79560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79562         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79563         from $CFLAGS, without defining away __attribute__ calls.
79564         (checknamespace): Use $CFLAGS_namespace.
79566         * conform/conformtest.pl (@keywords): Only include C99 keywords
79567         for standards based on C99 or C11.
79569         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79570         Disable tests.
79571         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79572         UNIX98]: Likewise.
79574         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79575         usability of symbols in #if.
79577         * conform/conformtest.pl: If macro or constant types start
79578         "promoted:", expect the symbol to be of the following type
79579         promoted by the integer promotions.
79581         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79582         in one place.  Also handle "macro-constant".
79584         * conform/conformtest.pl: Only accept expected macro values with
79585         "==".  Parse all "macro" lines in one place.
79586         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79588         * conform/conformtest.pl: Handle braced types on "constant" lines
79589         instead of handling "typed-constant".
79590         * conform/data/signal.h-data: Use "constant" instead of
79591         "typed-constant".
79593         * conform/conformtest.pl: Handle "optional-" at start of lines in
79594         one place rather than duplicating several cases.  Handle each
79595         format of "macro" line with initial "optional-".
79597         * conform/conformtest.pl: Only accept expected constant or
79598         optional-constant values with "==".  Parse all "constant" lines in
79599         one place.  Parse all "optional-constant" lines in one place.
79600         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79601         * conform/data/fmtmsg.h-data: Likewise.
79602         * conform/data/netinet/in.h-data: Likewise.
79603         * conform/data/tar.h-data: Likewise.
79604         * conform/data/limits.h-data: Use "==" form on "constant" and
79605         "optional-constant" lines.
79607         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79608         Use -std=c99 for XOPEN2K.
79609         (@knownproblems): Remove.
79610         (newtoken): Don't check %isknown.
79612         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79613         Do not expect macro.
79614         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79615         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79616         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79617         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79618         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79619         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79620         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79621         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79622         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79623         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79624         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79625         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79626         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79627         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79628         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79629         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79630         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79631         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79632         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79633         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79634         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79637         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79638         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79639         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79640         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79641         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79642         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79643         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79644         [XPG3] (acosh): Likewise.
79645         [XPG3] (asinh): Likewise.
79646         [XPG3] (atanh): Likewise.
79647         [XPG3] (cbrt): Likewise.
79648         [XPG3] (expm1): Likewise.
79649         [XPG3] (ilogb): Likewise.
79650         [XPG3] (log1p): Likewise.
79651         [XPG3] (logb): Likewise.
79652         [XPG3] (nextafter): Likewise.
79653         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79654         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79655         [XPG3] (remainder): Likewise.
79656         [XPG3] (rint): Likewise.
79657         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79658         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79659         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79660         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79661         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79662         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79663         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79664         [UNIX98 || XOPEN2K] (scalb): Expect.
79665         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79666         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79667         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79668         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79669         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79670         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79671         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79672         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79673         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79674         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79675         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79676         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79677         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79678         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79679         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79680         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79681         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79682         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79683         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79684         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79685         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79686         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79687         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79688         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79689         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79690         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79691         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79692         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79693         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79694         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79695         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79696         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79697         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79698         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79699         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79700         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79701         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79702         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79703         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79704         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79705         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79706         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79707         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79708         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79709         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79710         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79711         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79712         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79713         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79714         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79715         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79716         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79717         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79718         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79719         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79720         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79721         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79722         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79723         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79724         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79725         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79726         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79727         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79728         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79729         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79730         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79731         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79732         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79733         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79734         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79735         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79736         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79737         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79738         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79739         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79740         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79741         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79742         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79743         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79744         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79745         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79746         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79747         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79748         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79749         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79750         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79751         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79752         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79753         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79754         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79755         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79756         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79757         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79758         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79759         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79760         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79761         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79762         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79763         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79764         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79765         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79766         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79767         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79768         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79769         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79770         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79771         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79772         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79773         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79774         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79775         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79776         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79777         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79778         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79779         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79780         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79781         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79782         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79783         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79784         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79785         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79786         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79787         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79788         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79789         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79790         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79791         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79792         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79793         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79794         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79795         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79796         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79797         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79798         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79799         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79800         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79801         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79803         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79804         _XOPEN_SOURCE_EXTENDED for XPG4.
79806         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79808         * Makeconfig (localtime): Remove variable.
79809         (inst_localtime-file): Likewise.
79811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79814         Update.
79815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79816         Update.
79817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79818         Update.
79819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79820         Update.
79821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79822         Update.
79823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79824         Update.
79825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79826         Update.
79827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79828         Update.
79829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79830         Update.
79832 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79834         [BZ #2550]
79835         [BZ #2570]
79836         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79837         comparisons to determine direction to adjust input.
79838         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79839         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79841         Likewise.
79842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79843         Likewise.
79844         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79845         Likewise.
79846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79848         Likewise.
79849         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79850         Likewise.
79851         * math/libm-test.inc (nexttoward_test): Add more tests.
79853 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79855         [BZ #14040]
79856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79857         in version GLIBC_2.1, not GLIBC_2.0.
79858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79859         Likewise.
79861 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79863         [BZ #13942]
79864         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79865         (1 - x) * (1 + x).
79866         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79867         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79868         * math/libm-test.inc (acos_test): Add more tests.
79869         (asin_test): Likewise.
79870         * sysdeps/i386/fpu/libm-test-ulps: Update.
79871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79873         [BZ #14034]
79874         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79875         of square root.
79876         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79877         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79878         * math/libm-test.inc (acos_test_tonearest): New function.
79879         (acos_test_towardzero): Likewise.
79880         (acos_test_downward): Likewise.
79881         (acos_test_upward): Likewise.
79882         (asin_test_tonearest): Likewise.
79883         (asin_test_towardzero): Likewise.
79884         (asin_test_downward): Likewise.
79885         (asin_test_upward): Likewise.
79886         (main): Call the new functions.
79887         * sysdeps/i386/fpu/libm-test-ulps: Update.
79888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79890         [BZ #13884]
79891         [BZ #13924]
79892         * math/e_exp10.c: Include <float.h>.
79893         (__ieee754_exp10): Handle underflow here rather than multiplying
79894         large negative argument by M_LN10.
79895         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79896         of __ieee754_expf.
79897         * math/e_exp10l.c: Include <float.h>.
79898         (__ieee754_exp10l): Handle underflow here rather than multiplying
79899         large negative argument by M_LN10l.
79900         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79901         spurious overflow exception on underflow.
79903 2012-04-29  Marek Polacek  <polacek@redhat.com>
79905         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79906         (__fortify_function): New macro.
79907         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79908         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79909         __extern_always_inline.
79910         * libio/bits/stdio2.h: Likewise.
79911         * libio/bits/stdio.h: Likewise.
79912         * string/string.h: Likewise.
79913         * string/bits/string3.h: Likewise.
79914         * include/stdio.h: Likewise.
79915         * stdlib/bits/stdlib.h: Likewise.
79916         * stdlib/stdlib.h: Likewise.
79917         * rt/bits/mqueue2.h: Likewise.
79918         * rt/mqueue.h: Likewise.
79919         * posix/bits/unistd.h: Likewise.
79920         * posix/unistd.h: Likewise.
79921         * io/bits/poll2.h: Likewise.
79922         * io/bits/fcntl2.h: Likewise.
79923         * io/fcntl.h: Likewise.
79924         * io/sys/poll.h: Likewise.
79925         * misc/bits/syslog.h: Likewise.
79926         * misc/bits/syslog-ldbl.h: Likewise.
79927         * misc/sys/syslog.h: Likewise.
79928         * socket/bits/socket2.h: Likewise.
79929         * socket/sys/socket.h: Likewise.
79930         * debug/tst-chk1.c: Likewise.
79931         * wcsmbs/bits/wchar2.h: Likewise.
79932         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79933         * wcsmbs/wchar.h: Likewise.
79935 2012-04-29  Andreas Jaeger  <aj@suse.de>
79937         * Makerules (tests): Remove enable-check-abi protection.
79938         (check-abi-warn): Remove.
79939         (check-abi-%): Remove check-abi-warn usage.
79941         * configure.in: Remove check-abi configure option.
79942         * configure: Regenerated.
79943         * config.make.in (enable-check-abi): Remove.
79945 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79947         [BZ #14033]
79948         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79949         double functions to double *_finite functions.
79951         [BZ #13941]
79952         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79953         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79954         LDBL_MIN_EXP.
79955         * stdio-common/Makefile (tests): Add tst-sprintf3.
79956         * stdio-common/tst-sprintf3.c: New file.
79958         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79959         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79961 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79963         * conform/conformtest.pl: Remove duplicate typed-constant
79964         handling.
79966 2012-04-28  David S. Miller  <davem@davemloft.net>
79968         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79969         (check-abi-%): Remove AWK script prerequisite and explicit
79970         abilist directory.
79971         (check-abi): Rewrite to just diff the symlist with the abilist.
79972         (config-tls, config-abi-config): Delete, no longer used.
79973         (update-abi-%): Remove AWK script and explicit abilist directory.
79974         (update-abi): Rewrite to simply compare and conditionally copy the
79975         symlist and the sysdep abilist file.  Remove update-abi-config
79976         checks.
79977         * abilist/ld.abilist: Remove.
79978         * abilist/libBrokenLocale.abilist: Remove.
79979         * abilist/libanl.abilist: Remove.
79980         * abilist/libcrypt.abilist: Remove.
79981         * abilist/libdl.abilist: Remove.
79982         * abilist/librt.abilist: Remove.
79983         * abilist/libthread_db.abilist: Remove.
79984         * abilist/libutil.abilist: Remove.
79985         * scripts/extract-abilist.awk: Remove.
79986         * scripts/merge-abilist.awk: Remove.
79987         * sysdeps/generic/libcidn.abilist: New file.
79988         * sysdeps/generic/libnss_compat.abilist: New file.
79989         * sysdeps/generic/libnss_db.abilist: New file.
79990         * sysdeps/generic/libnss_dns.abilist: New file.
79991         * sysdeps/generic/libnss_files.abilist: New file.
79992         * sysdeps/generic/libnss_hesiod.abilist: New file.
79993         * sysdeps/generic/libnss_nis.abilist: New file.
79994         * sysdeps/generic/libnss_nisplus.abilist: New file.
79995         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79996         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79997         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79998         file.
79999         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80000         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80001         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80002         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80003         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80004         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80005         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80006         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80007         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80008         file.
80009         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80010         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80011         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80012         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80013         file.
80014         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80015         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80016         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80017         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80018         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80019         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80020         file.
80021         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80022         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80023         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80024         file.
80025         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80027         New file.
80028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80029         New file.
80030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80031         New file.
80032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80033         New file.
80034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80035         New file.
80036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80037         New file.
80038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80039         New file.
80040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80041         New file.
80042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80043         New file.
80044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80045         New file.
80046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80047         New file.
80048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80049         New file.
80050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80051         New file.
80052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80053         file.
80054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80055         New file.
80056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80057         New file.
80058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80059         file.
80060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80061         New file.
80062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80063         New file.
80064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80065         file.
80066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80067         New file.
80068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80069         New file.
80070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80071         New file.
80072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80073         New file.
80074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80075         New file.
80076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80077         New file.
80078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80080         file.
80081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80082         New file.
80083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80084         file.
80085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80086         file.
80087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80088         file.
80089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80090         file.
80091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80092         file.
80093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80094         New file.
80095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80096         file.
80097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80098         file.
80099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80100         New file.
80101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80102         file.
80103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80105         file.
80106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80107         New file.
80108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80109         file.
80110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80111         file.
80112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80113         file.
80114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80115         file.
80116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80117         file.
80118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80119         New file.
80120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80121         file.
80122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80123         file.
80124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80125         New file.
80126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80127         file.
80128         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80129         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80130         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80131         file.
80132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80133         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80134         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80135         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80136         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80137         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80138         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80139         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80140         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80141         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80144         file.
80145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80146         New file.
80147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80148         file.
80149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80150         file.
80151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80152         file.
80153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80154         file.
80155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80156         file.
80157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80158         New file.
80159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80160         New file.
80161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80162         file.
80163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80164         New file.
80165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80166         file.
80167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80169         file.
80170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80171         New file.
80172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80173         file.
80174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80175         file.
80176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80177         file.
80178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80179         file.
80180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80181         file.
80182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80183         New file.
80184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80185         New file.
80186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80187         file.
80188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80189         New file.
80190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80191         file.
80193 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80195         * conform/conformtest.pl: Fix typo in handling typed-constant from
80196         allow-header.
80198 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80200         * README: Cut down references to pre-2.6 Linux kernels and
80201         Linuxthreads.  Update lists of configurations in libc and ports
80202         and sort alphabetically.  Say "or newer" with Linux kernel version
80203         requirements.
80205         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80207 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80209         [BZ #887]
80210         * math/libm-test.inc (logb_test_downward): New test to expose
80211         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80212         rounding mode.
80214 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80216         [BZ #14027]
80217         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80218         to be done.
80219         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80220         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80222 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80224         * sysdeps/unix/i386/brk.S: Remove file.
80225         * sysdeps/unix/i386/dl-brk.S: Likewise.
80226         * sysdeps/unix/i386/pipe.S: Likewise.
80227         * sysdeps/unix/i386/sigreturn.S: Likewise.
80228         * sysdeps/unix/i386/syscall.S: Likewise.
80229         * sysdeps/unix/i386/vfork.S: Likewise.
80230         * sysdeps/unix/i386/wait.S: Likewise.
80232         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80233         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80235         * configure.in (arm*-none*): Do not allow without
80236         --enable-hacker-mode.
80237         (netbsd*): Remove case setting base_os.
80238         (386bsd*): Likewise.
80239         (freebsd*): Likewise.
80240         (bsdi*): Likewise.
80241         (osf*): Likewise.
80242         (sunos*): Likewise.
80243         (ultrix*): Likewise.
80244         (newsos*): Likewise.
80245         (dynix*): Likewise.
80246         (*bsd*): Likewise.
80247         (sysv*): Likewise.
80248         (isc*): Likewise.
80249         (esix*): Likewise.
80250         (sco*): Likewise.
80251         (minix*): Likewise.
80252         (irix4*): Likewise.
80253         (irix6*): Likewise.
80254         (solaris[2-9]*): Likewise.
80255         (none): Likewise.
80256         * configure: Regenerated.
80258 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80260         [BZ #11521]
80261         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80262         overflow or cancellation in calculating denominator.
80263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80265         down expression to avoid unexpected rounding in newer GCCs.
80266         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80268 2012-04-26  David S. Miller  <davem@davemloft.net>
80270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80271         long-double compat symbols.
80272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80286 2012-04-25  David S. Miller  <davem@davemloft.net>
80288         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80289         HWCAP_* values only after the memory barriers have been defined.
80290         (atomic_full_barrier): Define.
80291         (atomic_read_barrier): Define.
80292         (atomic_write_barrier): Define.
80294 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80296         * shlib-versions: Add libgcc_s version information.
80297         * sysdeps/generic/libgcc_s.h: Remove.
80298         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80299         libgcc_s.h.
80300         * sysdeps/gnu/unwind-resume.c: Likewise.
80301         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80303 2012-04-25  David S. Miller  <davem@davemloft.net>
80305         * sysdeps/unix/sparc/brk.S: Delete.
80306         * sysdeps/unix/sparc/dl-brk.S: Delete.
80307         * sysdeps/unix/sparc/pipe.S: Delete.
80308         * sysdeps/unix/sparc/sysdep.S: Delete.
80309         * sysdeps/unix/sparc/sysdep.h: Delete.
80310         * sysdeps/unix/sparc/vfork.S: Delete.
80311         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80312         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80313         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80314         (ret_ERRVAL, r0, r1, MOVE): Define.
80315         (JUMPTARGET): Remove.
80316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80317         sysdeps/unix/sparc/sysdep.h
80318         (ENTRY, END): Remove.
80319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80321 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80323         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80324         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80325         -DIS_IN_build.
80327         * timezone/README: Update upstream location and email address for
80328         tzcode and tzdata.
80329         * timezone/zdump.c: Update from tzcode 2012b.
80330         * timezone/zic.c: Likewise.
80332         * configure.in (libc_cv_as_needed): Remove test.
80333         * configure: Regenerated.
80334         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80335         conditional definition.
80336         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80337         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80338         * config.make.in (have-as-needed): Remove variable.
80340 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80341             Paul Pluzhnikov  <ppluzhnikov@google.com>
80343         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80344         strings correctly.
80346 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80348         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80349         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80350         * sysdeps/sh/strlen.S: Likewise.
80352 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80354         * sysdeps/unix/fork.S: Remove file.
80355         * sysdeps/unix/i386/fork.S: Likewise.
80356         * sysdeps/unix/sparc/fork.S: Likewise.
80358         * sysdeps/unix/system.c: Remove file.
80359         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80361         * sysdeps/unix/getegid.S: Remove file.
80362         * sysdeps/unix/geteuid.S: Likewise.
80364 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80366         * scripts/check-localplt.awk: New file.
80367         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80368         of diff.
80369         * scripts/data/localplt-generic.data: Add a comment.
80371         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80372         NODE when __dir_mkfile failed.
80373         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80374         Reported by Ludovic Courtès <ludo@gnu.org>.
80376 2012-04-24  Andreas Jaeger  <aj@suse.de>
80378         * Makerules (common-clean): Also remove gen-as-const-headers
80379         files.
80381 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80383         * Makerules (native-compile): Do not change working directory for
80384         build.  Use $(OUTPUT_OPTION) in command.
80385         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80387 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80389         [BZ #13886]
80390         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80391         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80392         * math/libm-test.inc (floor_test): Add more tests.
80393         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80395 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80397         * sysdeps/unix/getdents.c: Remove file.
80398         * sysdeps/unix/sysv/getdents.c: Likewise.
80399         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80401         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80402         sysdeps/unix/mman/syscalls.list.
80403         (mmap): Likewise.
80404         (mprotect): Likewise.
80405         (msync): Likewise.
80406         (munmap): Likewise.
80407         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80408         * sysdeps/unix/mman/syscalls.list: Remove.
80409         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80411         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80412         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80413         * configure: Regenerated.
80414         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80415         $(libgcc_s_suffix).
80416         * config.make.in (libgcc_s_suffix): Remove variable.
80418 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80420         * sysdeps/unix/sysv/gethostname.c: Move to ...
80421         * sysdeps/posix/gethostname.c: ... here.
80423         * sysdeps/unix/execve.S: Remove file.
80425         * sysdeps/unix/_exit.S: Remove file.
80427 2012-04-23  Andreas Jaeger  <aj@suse.de>
80429         [BZ #13739]
80430         * manual/Makefile: Remove make dist support, there's no
80431         need for a stand-alone documentation tar ball.
80432         (TEXI2DVI): Define always, it's not in Makeconfig.
80433         (dist): Removed.
80434         (tar-it): Removed.
80435         (edition): Removed.
80436         (glibc-doc-$(edition).tar): Removed
80437         (%.Z): Removed.
80438         (%.gz): Removed.
80439         (%.uu): Removed.
80440         (ETAGS): Remove, it's in Makeconfig.
80441         (move-if-change): Remove, it's in Makeconfig.
80443 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80445         [BZ #13970]
80446         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80447         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80448         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80449         (strtod_l, strtof_l, strtold_l): Remove __wur.
80450         It is not necessarily an error to ignore strtol's return value.
80451         One can reliably look at the stored endptr to decide whether
80452         the number had valid syntax.
80454 2012-04-21  Andreas Jaeger  <aj@suse.de>
80456         [BZ #13739]
80457         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80459 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80461         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80462         * sysdeps/unix/sysv/Versions: Remove file.
80464 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80466         [BZ #13927]
80467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80469 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80471         [BZ #7064]
80472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80473         version from __vm86.
80475 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
80477         * sysdeps/unix/common/lxstat.c: Remove file.
80478         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80480         * sysdeps/unix/sysv/Makefile: Remove file.
80482         * sysdeps/unix/sysv/direct.h: Remove file.
80484         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80485         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80486         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80487         * sysdeps/unix/sysv/bits/signum.h: Likewise.
80488         * sysdeps/unix/sysv/bits/stat.h: Likewise.
80489         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80490         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80492         * sysdeps/unix/sysv/setrlimit.c: Remove file.
80494         * sysdeps/unix/xmknod.c: Remove file.
80495         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80497         * sysdeps/unix/sysv/settimeofday.c: Remove file.
80499         * sysdeps/unix/sysv/i386/time.S: Remove file.
80501         * sysdeps/unix/fxstat.c: Remove file.
80502         * sysdeps/unix/xstat.c: Likewise.
80503         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80505         * sysdeps/unix/sysv/sigaction.c: Remove file.
80507         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80508         (sysdep_headers): Remove variable.
80509         [termio.h not in sysdep_headers] (generated): Likewise.
80510         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80511         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80512         * sysdeps/unix/sysv/tcdrain.c: Likewise.
80513         * sysdeps/unix/sysv/tcflow.c: Likewise.
80514         * sysdeps/unix/sysv/tcflush.c: Likewise.
80515         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80516         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80517         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80518         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80519         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80521         * sysdeps/unix/siglist.c: Remove file.
80523         * sysdeps/unix/getppid.S: Remove file.
80525         * sysdeps/unix/mkdir.c: Remove file.
80526         * sysdeps/unix/rmdir.c: Likewise.
80528 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80530         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80531         ERR_MAX value.
80532         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80533         errlist-compat value.
80535 2012-04-18  David S. Miller  <davem@davemloft.net>
80537         * sysdeps/generic/memcopy.h (reg_char): Delete.
80538         * debug/strcat_chk.c: Use char, not reg_char.
80539         * debug/strcpy_chk.c: Likewise.
80540         * debug/strncat_chk.c: Likewise.
80541         * debug/strncpy_chk.c: Likewise.
80542         * string/memchr.c: Likewise.
80543         * string/memrchr.c: Likewise.
80544         * string/rawmemchr.c: Likewise.
80545         * string/strcat.c: Likewise.
80546         * string/strchr.c: Likewise.
80547         * string/strchrnul.c: Likewise.
80548         * string/strcmp.c: Likewise.
80549         * string/strcpy.c: Likewise.
80550         * string/strncat.c: Likewise.
80551         * string/strncmp.c: Likewise.
80552         * string/strncpy.c: Likewise.
80554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80556         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80557         __builtin_memcopy is called when src and dest ranges are known to not
80558         overlap.
80560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80563         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80564         fwd_align_merge macro call.
80565         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80566         bwd_align_merge macro call.
80567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80569 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80571         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80572         bwd_align_merge macros.
80573         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80574         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80577 2012-04-18  David S. Miller  <davem@davemloft.net>
80579         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80581 2012-04-18  Andreas Jaeger  <aj@suse.de>
80583         [BZ #6794]
80584         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80585         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80586         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80588         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80589         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80592         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80593         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80594         Adjust for changed ldbl-128 files.
80596         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80597         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80598         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80600 2012-04-17  David S. Miller  <davem@davemloft.net>
80602         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80604 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80606         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80607         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80608         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80609         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80610         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80611         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80613 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80615         [BZ #6794]
80616         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80617         * math/libm-test.inc: Add ilogb errno and exception tests.
80618         * math/w_ilogb.c: New file: ilogb wrapper.
80619         * math/w_ilogbf.c: New file: ilogbf wrapper.
80620         * math/w_ilogbl.c: New file: ilogbl wrapper.
80621         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80622         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80623         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80624         exception being thrown with 0.0 as argument.
80625         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80626         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80627         exception being thrown with 0.0 as argument.
80628         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80629         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80630         exception being thrown with 0.0 as argument.
80631         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80632         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80633         exception being thrown with 0.0 as argument.
80634         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80635         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80636         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80637         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80638         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80639         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80640         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80641         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80642         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80644 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80646         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80647         with altivec.
80649 2012-04-16  Marek Polacek  <polacek@redhat.com>
80651         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80653 2012-04-16  Marek Polacek  <polacek@redhat.com>
80655         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80656         operands of fdivp instruction.
80658 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80660         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80661         * elf/tst-auditmod3b.c: Likewise.
80662         * elf/tst-auditmod4b.c: Likewise.
80663         * elf/tst-auditmod5b.c: Likewise.
80664         * elf/tst-auditmod6b.c: Likewise.
80665         * elf/tst-auditmod6c.c: Likewise.
80666         * elf/tst-auditmod7b.c: Likewise.
80667         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80668         * sysdeps/x86_64/preconfigure.in: Likewise.
80669         * sysdeps/x86_64/preconfigure: Regenerated.
80671 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80673         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80674         __ILP32__.
80676 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80679         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80681 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80683         [BZ #13973]
80684         * locale/iso-639.def: Fix gl language name. Spotted by
80685         Yaron Shahrabani.
80687 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80689         [BZ #2074]
80690         * libio/libio.h (__io_write_fn): Update comment.
80692 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80694         [BZ #2074]
80695         * stdio.texi (Hook Functions): The user provided writer function
80696         is not allowed to return -1.
80698 2012-04-11  David S. Miller  <davem@davemloft.net>
80700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80702 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80704         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80705         Add a leading slash to rtkaio.
80707 2012-04-11  Jim Meyering  <meyering@redhat.com>
80709         [BZ #11959]
80710         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80711         It is not necessarily an error to ignore fwrite's return
80712         value.  One can reliably use ferror to test for errors after
80713         the fact.
80715 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80717         * bits/types.h (__snseconds_t): New type.
80718         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80720         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80722         (__SNSECONDS_T_TYPE): Likewise.
80723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80724         (__SNSECONDS_T_TYPE): Likewise.
80725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80726         (__SNSECONDS_T_TYPE): Likewise.
80728 2012-04-10  Andreas Jaeger  <aj@suse.de>
80730         [BZ #2636]
80731         * manual/time.texi (Processor Time): Return type of times is
80732         elapsed real time since an arbitrary point in the past.
80733         (CPU Time): Move CLK_TCK from here...
80734         (Processor Time): ...to here.  Correct description.
80735         * manual/conf.texi (Constants for Sysconf): Correct description of
80736         _SC_CLK_TCK.
80738 2012-04-10  David S. Miller  <davem@davemloft.net>
80740         [BZ #13967]
80741         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80742         where the is a gap between DT_REL(A) and DT_JMPREL.
80744 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80746         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80747         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80748         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80750 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80752         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80753         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80754         (dl_main): Handle --inhibit-cache.
80755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80756         _dl_inhibit_cache.
80757         * elf/dl-load.c (_dl_map_object): Use it.
80758         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80760 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80762         [BZ #13872]
80763         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80764         (__ieee754_powl): Saturate large exponents rather than testing for
80765         overflow of y*log2(x).
80766         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80767         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80768         exceptions.
80770         [BZ #11521]
80771         * math/s_ctan.c: Include <float.h>.
80772         (__ctan): Avoid internal overflow or cancellation in calculating
80773         denominator.
80774         * math/s_ctanf.c: Likewise.
80775         * math/s_ctanl.c: Likewise.
80776         * math/s_ctanh.c: Likewise.
80777         * math/s_ctanhf.c: Likewise.
80778         * math/s_ctanhl.c: Likewise.
80779         * math/libm-test.inc (ctan_test): Add more tests.
80780         (ctanh_test): Likewise.
80781         * sysdeps/i386/fpu/libm-test-ulps: Update.
80782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80784 2012-04-09  Andreas Jaeger  <aj@suse.de>
80786         [BZ #6894]
80787         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80788         is an optional BSD extension.
80790         [BZ #10254]
80791         * manual/stdio.texi (Opening Streams): Document additional fopen
80792         parameters.
80794 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80796         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80797         %eax without telling the compiler.
80799 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80801         [BZ # 13963]
80802         * manual/install.texi: Use sourceware.org.
80804 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80806         [BZ #13873]
80807         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80808         (__ieee754_pow): Generate overflow and underflow using huge*huge
80809         and tiny*tiny rather than just returning constant infinity or zero
80810         for large exponents.
80811         * math/libm-test.inc (pow_test): Require overflow exceptions for
80812         applicable cases of large exponents.
80814         [BZ #706]
80815         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80816         (__ieee754_pow): Use iterative multiplication algorithm only for
80817         integer exponents with absolute value below 1024.  Check for odd
80818         integer exponents when using algorithm for real exponents.
80819         * math/libm-test.inc (pow_test): Add more tests.
80820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80822 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80824         [BZ #13705]
80825         * math/libm-test.inc (exp_test): Do not allow overflow exception
80826         on underflow test.
80828 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80830         [BZ #13705]
80831         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80832         instead of __kernel_standard_f.
80834 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80836         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80837         * sysdeps/x86_64/memset_chk.S: Likewise.
80839 2012-04-08  Andreas Jaeger  <aj@suse.de>
80841         [BZ #10153]
80842         * manual/startup.texi (Environment Access): Describe return value
80843         for putenv and setenv.
80845         [BZ #6895]
80846         * manual/filesys.texi (Directory Entries): Add description for
80847         DT_LNK.
80849         [BZ #6890]
80850         * manual/filesys.texi (Directory Entries): Clarify that it's file
80851         system not operating system in the description of DT_UNKNOWN.
80853         [BZ #6578]
80854         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80856 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80858         [BZ #6649]
80859         * manual/llio.texi (Opening and Closing Files): Add cross
80860         reference to explain mode argument.
80862 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80864         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80865         * sysdeps/x86_64/memset_chk.S: Likewise.
80867 2012-04-07  David S. Miller  <davem@davemloft.net>
80869         * elf/elf.h (R_SPARC_WDISP10): Define.
80870         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80871         R_SPARC_SIZE32.
80872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80873         R_SPARC_SIZE64 and R_SPARC_H34.
80875 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80878         conditions and remove no longer applicable assertion.
80880 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80882         * bits/byteswap.h: Include <features.h>.
80883         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80884         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80886 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80888         * bits/byteswap.h (__bswap_16): Removed.
80889         Include <bits/byteswap-16.h> to get __bswap_16.
80890         * sysdeps/i386/bits/byteswap.h: Likewise.
80891         * sysdeps/s390/bits/byteswap.h: Likewise.
80892         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80893         * bits/byteswap-16.h: New file.
80894         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80895         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80896         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80897         * string/Makefile (headers): Add bits/byteswap-16.h.
80899 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80901         [BZ #13895]
80902         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80903         extra indirection.
80904         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80905         * nss/tst-nss-static.c: New.
80907 2012-04-06  Robert Millan  <rmh@gnu.org>
80909         [BZ #6486]
80910         * manual/llio.texi (File Position Primitive): lseek
80911         refers to WHENCE when it really means OFFSET.
80913 2012-04-06  Andreas Jaeger  <aj@suse.de>
80915         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80916         strncmp declarations.
80918         * abilist/libc.abilist: Add __poll and __ppoll.
80920 2012-04-05  David S. Miller  <davem@davemloft.net>
80922         * scripts/check-local-headers.sh: Accept a host triplet in the
80923         path matched by the exclude regexp.
80925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80926         definition.
80927         * sysdeps/powerpc/powerpc32/dl-machine.h
80928         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80929         * sysdeps/s390/s390-32/dl-machine.h
80930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80931         * sysdeps/sparc/sparc32/dl-machine.h
80932         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80933         * sysdeps/sparc/sparc64/dl-machine.h
80934         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80936         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80937         lazy binding.
80938         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80939         undefined symbol errors.
80941         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80942         DT_NEEDED entries.
80944 2012-04-05  Michael Matz  <matz@suse.de>
80946         [BZ #13592]
80947         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80949 2012-04-05  Andreas Jaeger  <aj@suse.de>
80951         [BZ #13908]
80952         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80953         comment.
80955 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80957         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80958         which ROUND is no valid rounding mode.
80960 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80962         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80963         read again.
80964         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80966 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80968         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80969         an exception using FPU order intentionally.
80971 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80973         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80974         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80975         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80976         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80978 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80980         [BZ #12340]
80981         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80982         EINVAL when BUFLEN is too smal.
80984 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80986         [BZ #13553]
80987         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80988         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80990 2012-04-03  Andreas Jaeger  <aj@suse.de>
80992         [BZ #13938]
80993         * manual/setjmp.texi (System V contexts): Fix sentence.
80995         [BZ #13926]
80996         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80997         New macro for this case.
80998         [!__GNUC__] (__bswap_64): New inline function for this case.
80999         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81000         * bits/byteswap.h: Likewise.
81001         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81002         ull, guard with __GLIBC_HAVE_LONG_LONG.
81004         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81005         __GLIBC_HAVE_LONG_LONG.
81007         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81008         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81010 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81012         [BZ #13691]
81013         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81014         inptr and inend, rather than using last_ch.
81016 2012-04-02  David S. Miller  <davem@davemloft.net>
81018         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81019         * stdio-common/printf-parse.h (read_int): Change return type to
81020         'int', return -1 on INT_MAX overflow.
81021         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81022         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81023         overflows INT_MAX.  Check for overflow of in-format-string precision
81024         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81025         SIZE_MAX not INT_MAX for integer overflow test.
81026         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81027         skip the construct in the format string but do not record anything.
81028         * stdio-common/bug22.c: Adjust to test both width/prevision
81029         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81030         explicitly for proper errno values.
81032 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81034         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81035         CHAR_MAX.
81036         * string/test-strcmp.c [! WIDE]: Likewise.
81037         * time/tst-mktime2.c: Likewise for INT_MAX.
81038         * string/test-string.h: #include <sys/param.h> for MIN.
81040         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81041         * sysdeps/i386/init-first.c (init): Likewise.
81042         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81043         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81044         * sysdeps/sh/init-first.c (init): Likewise.
81046 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81048         * po/ru.po: Update from translation team.
81049         * po/vi.po: Likewise.
81051 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81053         * resolv/nss_dns/dns-host.c: Merge copyright years.
81055 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81058         Optimize memcpy with prefetch if
81059         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81060         src, dst pointers have unequal 16 byte alignments.
81062 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81064         [BZ #13928]
81065         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81066         from a CNAME entry and return the minimum ttl for the query.
81067         (gaih_getanswer_slice): Likewise.
81069 2012-03-30  Jeff Law  <law@redhat.com>
81071         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81072         due to long keys.
81073         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81074         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81076         * resolv/nss_dns/dns-host.c: Update copyright year.
81078 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81080         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81081         requests to save a system call.  Fix check that all bytes are sent.
81083         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81084         comments for sendmmsg.
81086 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81088         [BZ #13691]
81089         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81090         with only 1 character between 0x0041 and 0x01b0.
81091         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81092         * wcsmbs/tst-mbsnrtowcs.c: New file.
81094 2012-03-29  David S. Miller  <davem@davemloft.net>
81096         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81097         small copies by hand.
81099 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81101         [BZ #13761]
81102         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81103         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81104         group memberships.
81106 2012-03-28  David S. Miller  <davem@davemloft.net>
81108         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81109         that branches into memcpy.
81110         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81113         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81115         bits.
81116         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81117         implementation too.
81118         * sysdeps/sparc/mempcpy.S: New file.
81120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81121         the IFUNC routine in the libc case.
81122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81125         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81126         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81127         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81128         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81129         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81130         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81131         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81133         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81134         loop to 256 bytes instead of 64 bytes and fix test signedness.
81136         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81137         * sysdeps/sparc/sparc32/Makefile: rather than here...
81138         * sysdeps/sparc/sparc64/Makefile: and here.
81140 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81142         * malloc/mallocbug.c: Avoid warnings about unused variables.
81144 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81146         [BZ #13760]
81147         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81148         in the right place. Discard and retry query if response is
81149         larger than input buffer size.
81151 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81153         [BZ #369]
81154         [BZ #2678]
81155         [BZ #3866]
81156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81157         x for large integer exponent.
81158         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81159         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81160         sign of result as needed afterwards.
81161         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81162         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81163         result for underflowing pow the same as for overflow.
81164         (__kernel_standard_l): Handle powl overflow and underflow here
81165         rather than calling __kernel_standard.
81166         * math/libm-test.inc (pow_test): Add more tests.
81168         [BZ #3868]
81169         [BZ #13879]
81170         [BZ #13910]
81171         [BZ #13911]
81172         [BZ #13912]
81173         [BZ #13913]
81174         [BZ #13915]
81175         [BZ #13916]
81176         [BZ #13917]
81177         [BZ #13918]
81178         [BZ #13919]
81179         [BZ #13920]
81180         [BZ #13921]
81181         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81182         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81183         (__kernel_standard_l): New function.
81184         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81185         __kernel_standard.
81186         * math/w_acosl.c (__acosl): Likewise.
81187         * math/w_asinl.c (__asinl): Likewise.
81188         * math/w_atan2l.c (__atan2l): Likewise.
81189         * math/w_atanhl.c (__atanhl): Likewise.
81190         * math/w_coshl.c (__coshl): Likewise.
81191         * math/w_exp10l.c (__exp10l): Likewise.
81192         * math/w_exp2l.c (__exp2l): Likewise.
81193         * math/w_fmodl.c (__fmodl): Likewise.
81194         * math/w_hypotl.c (__hypotl): Likewise.
81195         * math/w_j0l.c (__j0l, __y0l): Likewise.
81196         * math/w_j1l.c (__j1l, __y1l): Likewise.
81197         * math/w_jnl.c (__jnl, __ynl): Likewise.
81198         * math/w_lgammal.c (__lgammal): Likewise.
81199         * math/w_log10l.c (__log10l): Likewise.
81200         * math/w_log2l.c (__log2l): Likewise.
81201         * math/w_logl.c (__logl): Likewise.
81202         * math/w_powl.c (__powl): Likewise.
81203         * math/w_remainderl.c (__remainderl): Likewise.
81204         * math/w_scalbl.c (sysv_scalbl): Likewise.
81205         * math/w_sinhl.c (__sinhl): Likewise.
81206         * math/w_sqrtl.c (__sqrtl): Likewise.
81207         * math/w_tgammal.c (__tgammal): Likewise.
81208         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81209         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81210         * math/libm-test.inc (acos_test): Add more tests.
81211         (acosh_test): Likewise.
81212         (asin_test): Likewise.
81213         (atanh_test): Likewise.
81214         (exp_test): Likewise.
81215         (exp10_test): Likewise.
81216         (exp2_test): Likewise.
81217         (expm1_test): Likewise.
81218         (lgamma_test): Likewise.
81219         (log_test): Likewise.
81220         (log10_test): Likewise.
81221         (log1p_test): Likewise.
81222         (log2_test): Likewise.
81223         (pow_test): Do not allow some spurious overflow exceptions.
81224         (sqrt_test): Add more tests.
81225         (tgamma_test): Likewise.
81226         (y0_test): Likewise.
81227         (y1_test): Likewise.
81228         (yn_test): Likewise.
81230 2012-03-27  Anton Blanchard  <anton@samba.org>
81232         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81233         MAP_HUGETLB.
81234         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81235         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81238 2012-03-27  David S. Miller  <davem@davemloft.net>
81240         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81242         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81243         have-as-vis3 check.
81245 2012-03-27  Andreas Jaeger  <aj@suse.de>
81247         * sysdeps/x86_64/elf/configure.in: Moved to ...
81248         * sysdeps/x86_64/configure.in: ... here.
81249         * sysdeps/x86_64/elf/start.S: Moved to ...
81250         * sysdeps/x86_64/start.S: ... here.
81251         * sysdeps/x86_64/elf/configure: Delete.
81253         * sysdeps/x86_64/configure.in: Merge contents from
81254         sysdeps/i386/configure.in (without i686 check).
81256         * sysdeps/i386/elf/Versions: Merge into ...
81257         * sysdeps/i386/Versions: ... this.
81258         * sysdeps/i386/elf/Versions: Delete file.
81259         * sysdeps/i386/elf/start.S: Moved to ...
81260         * sysdeps/i386/start.S: ...here.
81261         * sysdeps/i386/elf/configure.in: Merge into...
81262         * sysdeps/i386/configure.in: ...here.
81263         * sysdeps/i386/elf/configure.in: Delete file.
81264         * sysdeps/i386/elf/configure: Delete file.
81266         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81267         * debug/backtracesyms.c: ... here.
81268         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81269         * debug/backtracesymsfd.c: ... here.
81270         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81271         * sysdeps/generic/ifunc-sel.h: ... here.
81273         * sysdeps/unix/i386/start.c: Delete file.
81274         * sysdeps/unix/sparc/start.c: Delete file.
81275         * sysdeps/unix/start.c: Delete file.
81277         * sysdeps/sh/elf/configure.in: Moved to ...
81278         * sysdeps/sh/configure.in: ... here.
81279         * sysdeps/sh/elf/start.S: Moved to ...
81280         * sysdeps/sh/start.S: ... here.
81281         * sysdeps/sh/elf/configure: Delete file.
81283         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81284         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81285         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81286         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81287         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81288         * sysdeps/powerpc/powerpc64/start.S: here.
81289         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81290         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81291         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81292         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81293         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81295         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81296         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81297         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81298         * sysdeps/powerpc/powerpc32/start.S: ... here.
81299         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81300         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81301         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81303         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81304         * sysdeps/powerpc/ifunc-sel.h: ... here.
81305         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81306         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81308         * sysdeps/sparc/elf/configure.in: Moved to ...
81309         * sysdeps/sparc/configure.in: ... here.
81310         * sysdeps/sparc/elf/configure: Delete file.
81311         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81312         * sysdeps/sparc/sparc32/start.S: ... here.
81313         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81314         * sysdeps/sparc/sparc64/start.S: ... here.
81315         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81316         * sysdeps/sparc/sparc32/Makefile: ... this.
81317         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81318         * sysdeps/sparc/sparc64/Makefile: ... this.
81320         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81321         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81322         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81323         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81324         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81325         * sysdeps/s390/s390-32/setjmp.S: ... here.
81326         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81327         * sysdeps/s390/s390-32/configure.in: ... here.
81328         * sysdeps/s390/s390-32/elf/configure: Delete file.
81329         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81330         * sysdeps/s390/s390-32/start.S: ... here.
81332         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81333         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81334         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81335         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81336         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81337         * sysdeps/s390/s390-64/setjmp.S: ... here.
81338         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81339         * sysdeps/s390/s390-64/configure.in: ... here
81340         * sysdeps/s390/s390-64/elf/configure: Delete file.
81341         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81342         * sysdeps/s390/s390-64/start.S: ... here.
81343         * sysdeps/s390/s390-64/elf/configure: Delete.
81345         * configure.in: Remove support for elf directories in sysdeps.
81347         * configure: Regenerated.
81348         * sysdeps/i386/configure: Regenerated.
81349         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81350         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81351         * sysdeps/s390/s390-32/configure: Regenerated.
81352         * sysdeps/s390/s390-64/configure: Regenerated.
81353         * sysdeps/sh/configure: Regenerated.
81354         * sysdeps/sparc/configure: Regenerated.
81355         * sysdeps/x86_64/configure: Regenerated.
81357 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81362         denormal result into account.
81364 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81366         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81367         Reported by Allan McRae <allan@archlinux.org>.
81369 2012-03-23  Jeff Law  <law@redhat.com>
81371         * nss/getnssent.c (__nss_getent): Fix typo.
81373 2012-03-23  David S. Miller  <davem@davemloft.net>
81375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81377 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81379         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81380         to pad to uint64_t for each field.
81381         (dl_tls_index): Replace unsigned long with uint64_t.
81383 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81384         Paul Pluzhnikov  <ppluzhnikov@google.com>
81386         [BZ #6528]
81387         * grp/Makefile (otherlibs): Don't set it.
81388         * inet/Makefile (otherlibs): Likewise.
81389         * login/Makefile (otherlibs): Likewise.
81390         * nscd/Makefile (otherlibs): Likewise.
81391         * posix/Makefile (otherlibs): Likewise.
81392         * pwd/Makefile (otherlibs): Likewise.
81393         * rt/Makefile (otherlibs): Likewise.
81394         * sunrpc/Makefile (otherlibs): Likewise.
81395         * nss/Makefile (otherlibs): Likewise.
81396         Add libnss_files to routines and static-only-routines.
81397         ($(objpfx)getent): Remove rule.
81398         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81399         static-only-routines.
81401 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81403         [BZ #13892]
81404         * math/s_cexp.c: Include <float.h>.
81405         (__cexp): Handle exp result overflowing not necessarily
81406         overflowing both real and imaginary parts of result.
81407         * math/s_cexpf.c: Likewise.
81408         * math/s_cexpl.c: Likewise.
81409         * math/libm-test.inc (cexp_test): Add more tests.
81410         * sysdeps/i386/fpu/libm-test-ulps: Update.
81411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81415         * include/link.h (ELFW): New macro.
81416         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81417         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81419 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81421         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81422         with uint64_t.
81424 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81426         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81427         declaration.
81428         (struct La_x32_retval): Likewise.
81430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81432         * sysdeps/x86_64/preconfigure.in: New file.
81433         * sysdeps/x86_64/preconfigure: New generated file.
81435 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81437         [BZ #13824]
81438         * math/e_exp2l.c: Include <float.h>.
81439         (__ieee754_exp2l): Handle overflow and underflow cases
81440         separately.  Only pass fractional part of argument to
81441         __ieee754_expl.
81442         * math/libm-test.inc (exp2_test): Add more tests.
81444         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81445         negating x to take absolute value.
81446         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81447         Likewise.
81448         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81449         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81450         Likewise.
81451         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81452         computing low part if x was negated.
81453         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81455 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81457         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81458         la_x32_gnu_pltexit.
81459         (pltexit): Cast int_retval to ptrdiff_t.
81460         * elf/tst-auditmod3b.c: Likewise.
81461         * elf/tst-auditmod4b.c: Likewise.
81462         * elf/tst-auditmod5b.c: Likewise.
81463         * elf/tst-auditmod6b.c: Likewise.
81464         * elf/tst-auditmod6c.c: Likewise.
81465         * elf/tst-auditmod7b.c: Likewise.
81467         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81468         and x32_gnu_pltexit.
81470         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81471         __ELF_NATIVE_CLASS.
81472         (La_x32_regs): New macro.
81473         (La_x32_retval): Likewise.
81474         (la_x32_gnu_pltenter): New function prototype.
81475         (la_x32_gnu_pltexit): Likewise.
81477 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
81479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81480         exponent.
81482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81484         * configure.in (libc_cv_cc_nofma): Check for option to disable
81485         generation of FMA instructions.
81486         * configure: Regenerate.
81487         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81488         * sysdeps/ieee754/dbl-64/Makefile: New file.
81489         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81490         Remove brandred-fma4.
81491         (CFLAGS-brandred-fma4.c): Remove.
81492         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81493         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81494         define.
81495         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81496         define.
81498 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81500         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81501         LLONG_MAX != LONG_MAX.
81502         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81503         (_fitoa_word): Likewise.
81504         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81505         LLONG_MAX != LONG_MAX.
81506         * stdio-common/_itowa.h: Include <_itoa.h>.
81507         (_itowa_word): Use _ITOA_WORD_TYPE on value.
81508         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
81509         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
81510         only if not defined.
81511         (_ITOA_WORD_TYPE): Likewise.
81512         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81513         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81515 2012-03-21  David S. Miller  <davem@davemloft.net>
81517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81521         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81522         of x86_64 when setting libc_cv_slibdir, libdir and
81523         libc_cv_localedir.
81524         * sysdeps/unix/sysv/linux/configure: Regenerated.
81526 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81528         * manual/lang.texi (Old Varargs): Remove section.
81529         (How Variadic): Update menu.
81530         (va_start): Do not mention varargs.h.
81532 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81533             Joseph Myers  <joseph@codesourcery.com>
81535         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81536         link test.
81537         * configure: Regenerated.
81539 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81541         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81542         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81543         conformtest.pl
81545 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81547         * NOTES: Remove.
81548         * Makefile (files-for-dist): Remove NOTES.
81549         (NOTES): Remove rule.
81550         * README: Don't refer to NOTES.
81551         * manual/creature.texi: Don't include macros.texi.
81552         * manual/intro.texi (creature.texi): Remove comment referring to
81553         NOTES.
81555         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81556         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81557         * configure: Regenerated.
81558         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81559         LIBC_TRY_CC_OPTION.
81560         (libc_cv_as_i686): Likewise.
81561         (libc_cv_cc_avx): Likewise.
81562         (libc_cv_cc_sse2avx): Likewise.
81563         (libc_cv_cc_fma4): Likewise.
81564         (libc_cv_cc_novzeroupper): Likewise.
81565         * sysdeps/i386/configure: Regenerated.
81567         [BZ #13883]
81568         * sysdeps/i386/fpu/s_cexp.S: Remove.
81569         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81570         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81571         * math/libm-test.inc (cexp_test): Add more tests.
81572         * sysdeps/i386/fpu/libm-test-ulps: Update.
81573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81575 2012-03-21  Allan McRae  <allan@archlinux.org>
81577         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81579 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81581         [BZ #13871]
81582         * math/w_exp2.c: Do not include <float.h>.
81583         (o_threshold, u_threshold): Remove.
81584         (__exp2): Calculate result before checking finiteness and calling
81585         __kernel_standard.
81586         * math/w_exp2f.c: Likewise.
81587         * math/w_exp2l.c: Likewise.
81588         * math/libm-test.inc (exp2_test): Require overflow exception for
81589         1e6 input.
81591         [BZ #3866]
81592         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81593         range of signed 64-bit integers before using fistpll.  Remove
81594         checks for whether integers fit in mantissa bits.
81595         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81596         the range of signed 32-bit integers before using fistpl.  Remove
81597         checks for whether integers fit in mantissa bits.
81598         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81599         (__ieee754_powl): Test for y outside the range of signed 64-bit
81600         integers before using fistpll.  Reduce 64-bit values to 63-bit
81601         ones as needed.
81602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81603         divide-by-zero is raised for zero to large negative powers.
81604         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81605         (__ieee754_powl): Test for y outside the range of signed 64-bit
81606         integers before using fistpll.  Reduce 64-bit values to 63-bit
81607         ones as needed.
81608         * math/libm-test.inc (pow_test): Add more tests.
81610 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81612         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81613         <stdio-common/_itoa.h>.
81614         * debug/segfault.c: Likewise.
81615         * elf/dl-cache.c: Likewise.
81616         * elf/dl-minimal.c: Likewise.
81617         * elf/dl-misc.c: Likewise.
81618         * elf/dl-sysdep.c: Likewise.
81619         * elf/dl-version.c: Likewise.
81620         * elf/rtld.c: Likewise.
81621         * hurd/hurdsock.c: Likewise.
81622         * hurd/lookup-retry.c: Likewise.
81623         * malloc/malloc.c: Likewise.
81624         * malloc/mtrace.c: Likewise.
81625         * nscd/nscd_getgr_r.c: Likewise.
81626         * nscd/nscd_getpw_r.c: Likewise.
81627         * nscd/nscd_getserv_r.c: Likewise.
81628         * posix/getopt_init.c: Likewise.
81629         * posix/wordexp.c: Likewise.
81630         * stdio-common/_itoa.c: Likewise.
81631         * stdio-common/printf_fphex.c: Likewise.
81632         * stdio-common/vfprintf.c: Likewise.
81633         * string/_strerror.c: Likewise.
81634         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81635         * sysdeps/i386/i686/hp-timing.h: Likewise.
81636         * sysdeps/mach/_strerror.c: Likewise.
81637         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81638         * sysdeps/mach/hurd/sethostid.c: Likewise.
81639         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81640         * sysdeps/mach/xpg-strerror.c: Likewise.
81641         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81643         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81644         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81645         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81646         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81648         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81649         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81650         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81651         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81652         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81653         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81654         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81655         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81656         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81657         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81658         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81659         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81660         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81661         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81663         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81665         * stdio-common/_itoa.h: Moved to ...
81666         * sysdeps/generic/_itoa.h: Here.
81668         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81670         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81671         instead of "_itoa.h" and "_itowa.h".
81672         * stdio-common/vfprintf.: Likewise.
81674 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81676         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81677         <bits/wordsize.h>.
81678         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81679         (__signbit): Likewise.
81680         (llrintf): Likewise.
81681         (llrint): Likewise.
81683 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81685         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81686         __WORDSIZE != 64.
81688 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81690         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81691         OVERFLOW_EXCEPTION_OK.
81692         * math/libm-test.inc ("Philosophy"): Update comment about
81693         exception testing.
81694         (OVERFLOW_EXCEPTION): Define.
81695         (OVERFLOW_EXCEPTION_OK): Likewise.
81696         (INVALID_EXCEPTION_OK): Renumber.
81697         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81698         (IGNORE_ZERO_INF_SIGN): Likewise.
81699         (test_exceptions): Handle FE_OVERFLOW.
81700         (exp10_test): Expect overflow exceptions.
81701         (exp2_test): Likewise.
81702         (expm1_test): Likewise.
81703         (nextafter_test): Likewise.
81704         (pow_test): Likewise.
81705         (scalbn_test): Likewise.
81706         (scalbln_test): Likewise.
81708 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81710         * sysdeps/x86_64/bits/atomic.h
81711         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81712         64bit integer.
81713         (atomic_exchange_acq): Likewise.
81714         (__arch_exchange_and_add_body): Likewise.
81715         (__arch_add_body): Likewise.
81716         (atomic_add_negative): Likewise.
81717         (atomic_add_zero): Likewise.
81719 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81721         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81722         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81726         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81727         Check __x86_64__ instead of __WORDSIZE.
81729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81731         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81733 2012-03-19  David S. Miller  <davem@davemloft.net>
81735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81737         * sysdeps/sparc/fpu/fenv_private.h: New file.
81738         * sysdeps/sparc/fpu/math_private.h: Use it.
81739         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81740         Remove.
81741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81742         (libc_feholdexcept_setroundl): Remove.
81743         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81744         Remove.
81745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81750         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81751         int64_t instead of long int.
81752         (INSERT_WORDS64): Likewise.
81754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81756         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81757         _Unwind_GetCFA return to _Unwind_Ptr first.
81759 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81761         [BZ #13629]
81762         * math/s_clog.c: Include <float.h>.
81763         (__clog): Scale large or subnormal inputs.
81764         * math/s_clogf.c: Likewise.
81765         * math/s_clogl.c: Likewise.
81766         * math/s_clog10.c: Include <float.h>.
81767         (M_LOG10_2): Define.
81768         (__clog10): Scale large or subnormal inputs.
81769         * math/s_clog10f.c: Likewise.
81770         * math/s_clog10l.c: Likewise.
81771         * math/libm-test.inc (clog_test): Add more tests.
81772         (clog10_test): Likewise.
81773         * sysdeps/i386/fpu/libm-test-ulps: Update.
81774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81776         [BZ #11451]
81777         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81778         x and y.
81779         * math/libm-test.inc (atan2_test): Add another test.
81781         * Makerules (common-objdir-compile): Remove.
81782         * sysdeps/unix/Makefile (config-generated): Do not add
81783         $(unix-generated) to variable.
81784         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81785         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81786         Remove rule.
81787         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81788         Likewise.
81789         [generic bits/local_lim.h] (before-compile): Do not append to
81790         variable.
81791         [generic bits/local_lim.h] (common-generated): Likewise.
81792         [generic sys/param.h] (before-compile): Do not append to variable.
81793         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81794         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81796         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81797         include.
81798         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81799         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81800         [generic sys/param.h] ($(addprefix
81801         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81802         [generic sys/param.h] (common-generated): Do not append to
81803         variable.
81804         [generic sys/param.h] (sysdep_headers): Likewise.
81805         [generic bits/errno.h] (before-compile): Do not append to
81806         variable.
81807         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81808         rule.
81809         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81810         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81811         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81812         [generic bits/errno.h] (common-generated): Do not append to
81813         variable.
81814         [generic bits/ioctls.h] (before-compile): Do not append to
81815         variable.
81816         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81817         rule.
81818         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81819         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81820         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81821         rule.
81822         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81823         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81824         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81825         [generic bits/ioctls.h] (common-generated): Do not append to
81826         variable.
81827         [generic sys/syscall.h] (syscall.h): Remove variable.
81828         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81829         rule.
81830         [generic sys/syscall.h] (before-compile): Do not append to
81831         variable.
81832         [generic sys/syscall.h] (common-generated): Likewise.
81833         * sysdeps/unix/errnos-tmpl.c: Remove file.
81834         * sysdeps/unix/errnos.awk: Likewise.
81835         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81836         * sysdeps/unix/ioctls.awk: Likewise.
81837         * sysdeps/unix/mk-local_lim.c: Likewise.
81838         * sysdeps/unix/snarf-ioctls: Likewise.
81840 2012-03-19  Richard Henderson  <rth@twiddle.net>
81842         * sysdeps/i386/fpu/fenv_private.h: New file.
81843         * sysdeps/i386/fpu/math_private.h: Use it.
81844         (math_opt_barrier, math_force_eval): Remove.
81845         (libc_feholdexcept_setround_53bit): Remove.
81846         (libc_feupdateenv_53bit): Remove.
81847         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81848         (math_opt_barrier, math_force_eval): Remove.
81849         (libc_feholdexcept): Remove.
81850         (libc_feholdexcept_setround): Remove.
81851         (libc_fetestexcept, libc_fesetenv): Remove.
81852         (libc_feupdateenv_test): Remove.
81853         (libc_feupdateenv, libc_feholdsetround): Remove.
81854         (libc_feresetround): Remove.
81856         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81857         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81859         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81860         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81861         (libc_feupdateenv_testl): New.
81862         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81863         (libc_feupdateenv_testf): New.
81864         (libc_feupdateenv): Use libc_feupdateenv_test.
81865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81868         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81869         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81870         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81871         (libc_feresetround_noex): New.
81872         (libc_feresetround_noexf): New.
81873         (libc_feresetround_noexl): New.
81874         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81875         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81876         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81878         SET_RESTORE_ROUND.
81879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81881         (__cos): Likewise.
81882         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81883         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81884         SET_RESTORE_ROUND_NOEX.
81885         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81886         SET_RESTORE_ROUND_NOEXF.
81887         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81888         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81889         (libc_feholdsetroundf): New.
81890         (libc_feresetround, libc_feresetroundf): New.
81892         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81893         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81894         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81896         * sysdeps/generic/math_private.h: Include <fenv.h>.
81897         (default_libc_feholdexcept): New.
81898         (default_libc_feholdexcept_setround): New.
81899         (default_libc_fesetenv, default_libc_feupdateenv): New.
81900         (libc_feholdexcept): Only define if undefined.
81901         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81902         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81903         (libc_feholdexcept_setroundl): Likewise.
81904         (libc_feholdexcept_setround_53bit): Likewise.
81905         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81906         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81907         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81908         (libc_feupdateenv_53bit): Likewise.
81909         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81910         (libc_feholdexcept): Convert from macro to inline function.
81911         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81912         (libc_fesetenv, libc_feupdateenv): Likewise.
81914         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81915         not previously defined.
81916         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81917         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81918         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81919         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81920         * sysdeps/ieee754/flt-32/math_private.h: New file.
81921         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81922         math_private.h below SET_FLOAT_WORD.
81923         (__isnan, __isinf_ns, __finite): Remove.
81924         (__isnanf, __isinf_nsf, __finitef): Remove.
81926 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81930 2012-03-17  David S. Miller  <davem@davemloft.net>
81932         [BZ #6471]
81933         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81934         for 2.16.
81936 2012-03-16  David S. Miller  <davem@davemloft.net>
81938         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81939         warnings.
81941         [BZ #6471]
81942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81943         properly.
81944         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81945         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81946         sysdep_routines when subdir is sysvipc.
81947         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81948         __getshmlba helper.
81950         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81952 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81954         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81955         [__LP64__].
81957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81959         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81960         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81961         (__lround): Renamed to ...
81962         (__llround): This.  Replace long int with long long int.
81963         Define lround functions as aliases of llround functions.
81964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81968         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81969         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81970         adresses to uintptr_t.  Replace "long int" and "unsigned long
81971         int" with "greg_t" on va_arg.
81973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81975         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81976         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81978         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81979         Move e_machine check before EI_CLASS check.  Handle x32
81980         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81981         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81982         SKIP_EM_IA_64 and include
81983         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81985         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81986         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81987         (add_system_dir): New macro.
81989         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81990         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81992 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81994         [BZ #2551]
81995         [BZ #2552]
81996         [BZ #2553]
81997         [BZ #2554]
81998         [BZ #2562]
81999         [BZ #2563]
82000         [BZ #2565]
82001         [BZ #2566]
82002         [BZ #2576]
82003         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82004         (y0): Likewise.
82005         * math/w_j0f.c (j0f): Likewise.
82006         (y0f): Likewise.
82007         * math/w_j0l.c (__j0l): Likewise.
82008         (__y0l): Likewise.
82009         * math/w_j1.c (j1): Likewise.
82010         (y1): Likewise.
82011         * math/w_j1f.c (j1f): Likewise.
82012         (y1f): Likewise.
82013         * math/w_j1l.c (__j1l): Likewise.
82014         (__y1l): Likewise.
82015         * math/w_jn.c (jn): Likewise.
82016         (yn): Likewise.
82017         * math/w_jnf.c (jnf): Likewise.
82018         (ynf): Likewise.
82019         * math/w_jnl.c (__jnl): Likewise.
82020         (__ynl): Likewise.
82021         * math/libm-test.inc (j0_test): Add more tests.
82022         (j1_test): Likewise.
82023         (jn_test): Likewise.  Add trailing semicolon to existing test.
82024         (y0_test): Likewise.
82025         (y1_test): Likewise.
82026         * sysdeps/i386/fpu/libm-test-ulps: Update.
82027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82029         [BZ #13851]
82030         [BZ #13854]
82031         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82032         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82033         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82034         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82035         (__tanl): Set errno for infinite argument.
82036         * sysdeps/i386/fpu/mptan.c: Remove.
82037         * sysdeps/i386/fpu/s_tan.S: Likewise.
82038         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82039         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82040         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82041         * math/libm-test.inc (tan_test): Add more tests and enable more
82042         tests for double and long double.
82043         * sysdeps/i386/fpu/libm-test-ulps: Update.
82044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82046 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82048         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82049         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82051 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82053         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82054         * configure.in: Use it for both main tree and add-ons.
82055         * configure: Regenerated.
82057 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82059         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82061 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82063         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82064         in comment.
82066         [BZ #13851]
82067         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82068         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82069         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82070         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82071         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82072         infinite argument.
82073         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82074         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82075         != 0 for prec == 2.
82076         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82077         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82078         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82079         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82080         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82081         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82082         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82083         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82084         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82085         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82086         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82087         * math/libm-test.inc (cos_test): Add more tests and enable more
82088         tests for long double.
82089         (sin_test): Likewise.
82090         (sincos_test): Likewise.
82091         * sysdeps/i386/fpu/libm-test-ulps: Update.
82092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82094 2012-03-16  David S. Miller  <davem@davemloft.net>
82096         * sysdeps/sparc/fpu/math_private.h: New file.
82098 2012-03-15  David S. Miller  <davem@davemloft.net>
82100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82101         file.
82102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82104         file.
82105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82111         sysdep routines.
82112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82114         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82115         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82117         * sysdeps/sparc/sparc-ifunc.h: New file.
82118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82119         sparc-ifunc.h
82120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82122         Likewise.
82123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82124         Likewise.
82125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82129         Likewise.
82130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82135         Likewise.
82136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82137         Likewise.
82138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82163 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82165         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82166         scaling.
82167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82169 2012-03-15  Andreas Jaeger  <aj@suse.de>
82171         [BZ #13852]
82172         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82173         ieee754/flt-32 implementation for sin, cos and sincos.
82174         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82175         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82176         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82177         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82178         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82179         ieee754/flt-32 implementation for tan.
82181         * math/libm-test.inc (cos_test): Enable some large input tests for
82182         float as well
82183         (sin_test): Likewise.
82184         (sincos_test): Likewise.
82185         (tan_test): Add tests for large input.
82187         * sysdeps/i386/fpu/libm-test-ulps: Update.
82189 2012-03-15  Andreas Jaeger  <aj@suse.de>
82191         [BZ #13658]
82192         * math/libm-test.inc (cos_test): Add more test cases.
82193         (sin_test): Likewise.
82194         (sincos_test): Likewise.
82196 2012-03-15  Andreas Jaeger  <aj@suse.de>
82198         [BZ #13837]
82199         * math/libm-test.inc (cos_test): Add a test case for large input
82200         value.
82201         (sin_test): Likewise.
82202         (sincos_test): Likewise.
82204 2012-03-15  Andreas Jaeger  <aj@suse.de>
82205             Joseph Myers  <joseph@codesourcery.com>
82207         [BZ #13658]
82208         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82209         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82210         * sysdeps/i386/fpu/branred.c: Likewise.
82211         * sysdeps/i386/fpu/dosincos.c: Likewise.
82212         * sysdeps/i386/fpu/mpa.c: Likewise.
82213         * sysdeps/i386/fpu/s_cos.S: Likewise.
82214         * sysdeps/i386/fpu/s_sin.S: Likewise.
82215         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82216         * sysdeps/i386/fpu/sincos32.c: Likewise.
82218         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82219         Define.
82220         (libc_feupdateenv_53bit): Define.
82221         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82222         Define.
82223         (libc_feupdateenv_53bit): Define.
82225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82226         53 bit (without extend i386 double precision).
82228         * math/libm-test.inc (sincos_test): Add tests for large input.
82229         (sin): Likewise.
82230         (cos): Likewise.
82232         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82234 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82238 2012-03-15  David S. Miller  <davem@davemloft.net>
82240         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82241         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82242         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82243         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82256         file.
82257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82259         file.
82260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82262         file.
82263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82265         file.
82266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82268         fmin/fmax sysdep routines.
82269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82271 2012-03-14  David S. Miller  <davem@davemloft.net>
82273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82302         routines.
82303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82304         file.
82305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82307         file.
82308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82310         file.
82311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82313         file.
82314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82316         file.
82317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82319         file.
82320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82321         file.
82322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82323         file.
82324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82325         file.
82326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82327         New file.
82328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82329         file.
82330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82331         file.
82332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82334         file.
82335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82337         file.
82338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82340         file.
82341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82343         VIS3 routines.
82345         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82346         New file.
82348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82350         * sysdeps/sparc/configure.in: New file.
82351         * sysdeps/sparc/configure: Generate.
82352         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82353         * configure: Regenerate.
82354         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82355         * config.make.in (have-as-vis3): New.
82356         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82357         available use -Av9d instead of -Av9a.
82358         * sysdeps/sparc/sparc64/Makefile: Likewise.
82359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82361         New file.
82362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82363         file.
82364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82365         New file.
82366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82367         file.
82368         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82374         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82375         fzeros/fnegs to load 0x80000000 into a float register instead of
82376         using the stack.
82377         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82379 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82382         bits/syscall.h.
82383         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82384         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82385         ($(inst_includedir)/bits/syscall.h): Remove rule.
82386         ($(objpfx)bits/syscall.d): Include instead of
82387         $(objpfx)syscall-list.d.
82388         (generated): Change syscall-list.h and syscall-list.d to
82389         bits/syscall.h and bits/syscall.d.
82391 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82393         [BZ #13846]
82394         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82396 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82398         [BZ #13841]
82399         * math/s_csqrt.c: Include <float.h>.
82400         (__csqrt): Scale large or subnormal inputs.
82401         * math/s_csqrtf.c: Likewise.
82402         * math/s_csqrtl.c: Likewise.
82403         * math/libm-test.inc (csqrt_test): Add more tests.
82404         * sysdeps/i386/fpu/libm-test-ulps: Update.
82405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82407         [BZ #13840]
82408         * math/libm-test.inc (hypot_test): Add more tests.
82410 2012-03-13  David S. Miller  <davem@davemloft.net>
82412         [BZ #13840]
82413         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82414         double-precision for the calculation instead of scaling.
82416 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82418         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82419         manipulate bits before adding and subtracting TWO52[sx].
82420         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82421         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82422         Likewise.
82423         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82425 2012-03-13  David S. Miller  <davem@davemloft.net>
82427         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82428         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82430         rtld-global-offsets.h
82431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82433         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82434         large parameters.
82436         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82438         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82439         'err' in the ifdef scope in which it is actually used.
82441         * nss/nss_db/db-init.c: Include string.h
82443 2012-03-12  David S. Miller  <davem@davemloft.net>
82445         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82446         masking out of the most significant byte of random value used.
82447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82448         Fix coding style in previous change.
82450         * sysdeps/unix/sysv/linux/kernel-features.h
82451         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82452         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82453         expression.
82454         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82455         later.
82457 2012-03-11  David S. Miller  <davem@davemloft.net>
82459         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82460         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82461         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82462         for 'resultvar' otherwise things get truncated on 64-bit.
82464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82465         Fix masking out of the most significant byte of random value used.
82467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82469 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82473 2012-03-09  David S. Miller  <davem@davemloft.net>
82475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82476         variables with appropriate CPP guards.
82477         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82478         from the frame pointer, not the stack pointer.  Correct layout
82479         comments.  Fix test on resulting framesize and the management of
82480         the outregs buffer for pltexit.  Preserve floating point return
82481         values across _dl_call_pltexit call.
82482         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82483         framesize and the management of the outregs buffer for pltexit.
82484         Preserve floating point return values across _dl_call_pltexit
82485         call.
82486         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82487         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82488         (la_sparc64_gnu_pltexit): New functions.
82489         (print_exit): Fix format string for return register value.
82491 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
82493         * sunrpc/Makefile (others): Add rpcgen.
82494         ($(objpfx)rpcgen): Remove special build rule and dependency on
82495         libc.
82496         * sunrpc/rpcgen.c: New file.
82498 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
82500         [BZ #13673]
82501         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82502         * stdio-common/bug-vfprintf-nargs.c: Likewise.
82503         * sysdeps/i386/crti.S: Likewise.
82504         * sysdeps/i386/crtn.S: Likewise.
82505         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82506         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82507         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82508         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82509         * sysdeps/sh/crti.S: Likewise.
82510         * sysdeps/sh/crtn.S: Likewise.
82511         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82513         [BZ #13673]
82514         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82515         with URL.
82516         * locale/programs/locfile-kw.gperf: Likewise.
82517         * locale/programs/charmap-kw.h: Regenerated.
82518         * locale/programs/locfile-kw.h: Likewise.
82520         [BZ #13673]
82521         * intl/plural.y: Replace FSF snail mail address with URL.
82522         * intl/plural.c: Regenerated.
82524 2012-03-09  Richard Henderson  <rth@twiddle.net>
82526         * include/math_private.h: Remove file.
82527         * math/math_private.h: Move file ...
82528         * sysdeps/generic/math_private.h: ... here.
82530         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82531         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82532         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82534         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82535         and <math_private.h>.
82536         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82537         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82538         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82539         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82540         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82541         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82542         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82543         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82544         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82545         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82547         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82548         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82550         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82551         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82553         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82554         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82555         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82557         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82558         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82560         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82562         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82566         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82568         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82569         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82570         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82573         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82574         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82576         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82582         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82583         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82584         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82585         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82586         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82587         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82588         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82589         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82590         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82591         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82592         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82593         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82594         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82595         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82597         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82599         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82600         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82604         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82605         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82608         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82610         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82615         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82616         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82617         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82619         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82620         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82623         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82624         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82625         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82626         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82627         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82628         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82629         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82630         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82631         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82632         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82633         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82635         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82636         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82637         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82638         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82639         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82640         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82641         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82642         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82643         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82648         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82649         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82650         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82651         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82652         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82653         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82655         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82656         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82657         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82658         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82659         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82660         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82661         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82662         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82663         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82664         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82665         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82666         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82667         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82668         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82669         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82670         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82672         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82673         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82674         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82675         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82676         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82677         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82678         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82679         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82680         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82681         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82682         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82683         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82684         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82685         * sysdeps/ieee754/k_standard.c: Likewise.
82686         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82687         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82688         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82689         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82690         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82691         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82692         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82693         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82694         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82698         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82699         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82700         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82701         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82702         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82703         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82704         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82705         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82706         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82707         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82708         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82709         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82710         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82711         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82712         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82713         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82714         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82717         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82718         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82719         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82720         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82721         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82722         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82723         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82724         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82725         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82726         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82727         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82729         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82730         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82731         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82732         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82733         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82734         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82735         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82737         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82738         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82739         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82741         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82742         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82743         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82744         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82745         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82746         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82747         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82748         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82752         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82756         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82758         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82760         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82761         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82762         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82765         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82766         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82771         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82776         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82778         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82779         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82783         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82785         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82789         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82790         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82793         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82794         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82800         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82802         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82803         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82804         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82805         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82807         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82808         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82813         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82814         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82815         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82816         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82817         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82818         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82819         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82820         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82821         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82822         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82823         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82824         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82825         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82826         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82827         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82828         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82829         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82830         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82831         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82832         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82834         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82835         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82836         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82838         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82839         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82840         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82841         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82842         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82843         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82844         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82845         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82846         * sysdeps/ieee754/s_lib_version.c: Likewise.
82847         * sysdeps/ieee754/s_matherr.c: Likewise.
82848         * sysdeps/ieee754/s_signgam.c: Likewise.
82849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82851         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82852         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82853         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82854         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82855         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82856         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82857         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82858         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82859         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82860         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82861         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82862         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82863         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82864         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82866         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82867         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82871 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82873         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82874         * sunrpc/rpc_main.c: Likewise.
82875         * sunrpc/rpc_svcout.c: Likewise.
82877 2012-03-09  David S. Miller  <davem@davemloft.net>
82879         * include/math_private.h: New file.
82881 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82883         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82884         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82885         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82886         from <bits/socket_type.h>.
82887         (enum __socket_type): Don't define here.
82888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82890         bits/socket_type.h.
82892         [BZ #13566]
82893         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82894         checking __USE_GNU.
82896         * Makerules ($(inst_includedir)/%.h): New rule.
82897         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82898         (install-others): Remove variable setting.
82899         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82901 2012-03-08  Richard Henderson  <rth@twiddle.net>
82903         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82904         from macro to inline function; merge with the
82905         !__LIBC_INTERNAL_MATH_INLINES version.
82906         (__ieee754_sqrtf): Likewise.
82908         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82909         to inline function.
82910         (__rintf, __floor, __floorf): Likewise.
82912         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82913         macro to inline function.
82914         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82917         not <math/math_private.h>.
82919 2012-03-08  David S. Miller  <davem@davemloft.net>
82921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82922         copyright year.
82923         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82925 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82927         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82928         normalization.
82929         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82930         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82932 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82934         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82935         be defined individually, they must be defined as a block.  Define
82936         S for printing a string instead of hidint the different by using a
82937         macro for adding the 'l'.
82938         * stdio-common/tst-fphex-wide.c: Adjust.
82940 2012-03-07  Marek Polacek  <polacek@redhat.com>
82942         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82944 2012-03-08  Marek Polacek  <polacek@redhat.com>
82946         [BZ #13806]
82947         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82948         * stdio-common/tst-fphex.c: Define a few macros to make the
82949         test reusable.  Use them.
82950         * stdio-common/tst-fphex-wide.c: New file.
82952 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82954         [BZ #6911]
82955         * manual/macros.texi (gnusystems): New macro.
82956         (nongnusystems): Likewise.
82957         (gnulinuxhurdsystems): Likewise.
82958         (gnuhurdsystems): Likewise..
82959         (gnulinuxsystems): Likewise.
82960         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82961         variants of the GNU system, not "GNU system".
82962         * manual/conf.texi: Likewise.
82963         * manual/errno.texi: Likewise.  Update example of errno macro
82964         expansion.
82965         * manual/filesys.texi: Likewise.
82966         (getumask): Document as specific to GNU/Hurd.
82967         * manual/install.texi: Likewise.  Reword some references to
82968         GNU/Linux.
82969         * manual/intro.texi: Likewise.
82970         * manual/io.texi: Likewise.
82971         (File Name Portability): Detail which constraints are inapplicable
82972         to all GNU systems and which are only inapplicable to GNU/Hurd.
82973         * manual/job.texi: Likewise.
82974         * manual/llio.texi: Likewise.
82975         (O_NOCTTY): Document as present on GNU/Linux.
82976         * manual/maint.texi: Likewise.
82977         * manual/memory.texi: Likewise.
82978         * manual/pattern.texi: Likewise.
82979         * manual/pipe.texi: Likewise.
82980         * manual/process.texi: Likewise.
82981         * manual/resource.texi: Likewise.
82982         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82983         child on GNU/Hurd.
82984         * manual/setjmp.texi: Likewise.
82985         * manual/signal.texi: Likewise.
82986         * manual/startup.texi: Likewise.
82987         * manual/stdio.texi: Likewise.
82988         * manual/terminal.texi: Likewise.
82989         (ONLCR): Document as POSIX.
82990         (OXTABS): Document availability on GNU/Linux as XTABS.
82991         (ONOEOT): Document availability separately from other bits.
82992         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82993         * manual/time.texi: Likewise.
82994         * manual/users.texi: Likewise.
82995         * INSTALL: Regenerated.
82996         * sysdeps/gnu/errlist.c: Regenerated.
82998         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82999         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83000         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83001         puts.
83002         * configure: Regenerated.
83004 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83006         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83007         default includes instead of AC_HEADER_CHECK.
83008         * sysdeps/i386/configure: Regenerated.
83010         [BZ #10716]
83011         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83012         * math/s_cacoshf.c (__cacoshf): Likewise.
83013         * math/s_cacoshl.c (__cacoshl): Likewise.
83014         * math/s_casinh.c (__casinh): Set signs of result from argument.
83015         * math/s_casinhf.c (__casinhf): Likewise.
83016         * math/s_casinhl.c (__casinhl): Likewise.
83017         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83018         (casinh_test): Add more tests.
83019         * sysdeps/i386/fpu/libm-test-ulps: Update.
83020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83022 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83024         * po/zh_TW.po: Update from translation team.
83026         * login/Makefile (distribute): Remove variable.
83027         * catgets/Makefile: Likewise.
83028         * mach/Makefile: Likewise.
83029         * malloc/Makefile: Likewise.
83030         * misc/Makefile: Likewise.
83031         * iconv/Makefile: Likewise.
83032         * nscd/Makefile: Likewise.
83033         * hurd/Makefile: Likewise.
83034         * manual/Makefile: Likewise.
83035         * locale/Makefile: Likewise.
83036         * intl/Makefile: Likewise.
83037         * conform/Makefile: Likewise.
83038         * nss/Makefile: Likewise.
83039         * time/Makefile: Likewise.
83040         * soft-fp/Makefile: Likewise.
83041         * dirent/Makefile: Likewise.
83042         * gmon/Makefile: Likewise.
83043         * po/Makefile: Likewise.
83044         * rt/Makefile: Likewise.
83045         * socket/Makefile: Likewise.
83046         * math/Makefile: Likewise.
83047         * signal/Makefile: Likewise.
83048         * debug/Makefile: Likewise.
83049         * elf/Makefile: Likewise.
83050         * timezone/Makefile: Likewise.
83051         * stdlib/Makefile: Likewise.
83052         * iconvdata/Makefile: Likewise.
83053         * sunrpc/Makefile: Likewise.
83054         * io/Makefile: Likewise.
83055         * argp/Makefile: Likewise.
83056         * inet/Makefile: Likewise.
83057         * hesiod/Makefile: Likewise.
83058         * grp/Makefile: Likewise.
83059         * csu/Makefile: Likewise.
83060         * wctype/Makefile: Likewise.
83061         * crypt/Makefile: Likewise.
83062         * libio/Makefile: Likewise.
83063         * string/Makefile: Likewise.
83064         * nis/Makefile: Likewise.
83065         * resolv/Makefile: Likewise.
83066         * stdio-common/Makefile: Likewise.
83067         * wcsmbs/Makefile: Likewise.
83068         * dlfcn/Makefile: Likewise.
83069         * posix/Makefile: Likewise.
83071         [BZ #6959]
83072         * timezone/Makefile: Don't install timezone files, just the programs
83073         and scripts.
83075 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83077         * nss/databases.def: Add missing gshadow entry.
83079         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83081 2012-03-06  Marek Polacek  <polacek@redhat.com>
83083         [BZ #13726]
83084         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83085         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83086         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83087         * stdio-common/tst-long-dbl-fphex.c: New file.
83089 2012-03-06  David S. Miller  <davem@davemloft.net>
83091         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83092         (set_obp_int): New function.
83093         (get_obp_int): New function.
83094         (__get_clockfreq_via_dev_openprom): Likewise.
83095         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83096         Avoid unused variable warnings on 'val' and use builtin_expect.
83097         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83098         __builtin_expect.
83099         (INLINE_CLONE_SYSCALL): Likewise.
83101 2012-03-05  David S. Miller  <davem@davemloft.net>
83103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83105 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83109         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83110         only for |x| >= 40.
83111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83113 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83116         Replace gettimeofday with __vdso_gettimeofday.
83118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83119         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83120         __vdso_clock_gettime and __vdso_getcpu.
83122         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83123         time with __vdso_time.
83125 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83127         * manual/lang.texi (size_t): Note types to which size_t may be
83128         equivalent with the GNU C Library, but do not describe when
83129         differences between them are significant.
83131 2012-03-05  Andreas Jaeger  <aj@suse.de>
83133         * sysdeps/i386/fpu/libm-test-ulps: Update.
83135 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83137         [BZ #3976]
83138         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83139         (__ieee754_pow): Save and restore rounding mode and use
83140         round-to-nearest for main computations.
83141         * math/libm-test.inc (pow_test_tonearest): New function.
83142         (pow_test_towardzero): Likewise.
83143         (pow_test_downward): Likewise.
83144         (pow_test_upward): Likewise.
83145         (main): Call the new functions.
83146         * sysdeps/i386/fpu/libm-test-ulps: Update.
83147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83149         [BZ #3976]
83150         * math/libm-test.inc (cosh_test_tonearest): New function.
83151         (cosh_test_towardzero): Likewise.
83152         (cosh_test_downward): Likewise.
83153         (cosh_test_upward): Likewise.
83154         (sinh_test_tonearest): Likewise.
83155         (sinh_test_towardzero): Likewise.
83156         (sinh_test_downward): Likewise.
83157         (sinh_test_upward): Likewise.
83158         (main): Call the new functions.
83159         * sysdeps/i386/fpu/libm-test-ulps: Update.
83160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83162 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83165         default stack guard is set in last bytes.
83166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83168 2012-03-05  Kees Cook  <keescook@chromium.org>
83170         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83172         [BZ #13656]
83173         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83174         possibly allocate from heap instead of stack.
83175         * stdio-common/bug-vfprintf-nargs.c: New file.
83176         * stdio-common/Makefile (tests): Add nargs overflow test.
83178 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83182 2012-03-03  Marek Polacek  <polacek@redhat.com>
83184         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83185         * math/math_private.h: Likewise.
83186         * stdlib/tst-strtod.c: Likewise.
83187         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83188         * sysdeps/x86_64/bits/atomic.h: Likewise.
83190 2012-03-02  David S. Miller  <davem@davemloft.net>
83192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83196         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83197         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83198         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83199         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83201 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83203         [BZ #13792]
83204         * manual/examples/README: New file, says the example source files
83205         can be used under GPL>=2.
83206         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83207         line containing just "*/".
83208         * manual/examples/add.c: Add copyright header (GPL>=2).
83209         * manual/examples/argp-ex1.c: Likewise.
83210         * manual/examples/argp-ex2.c: Likewise.
83211         * manual/examples/argp-ex3.c: Likewise.
83212         * manual/examples/argp-ex4.c: Likewise.
83213         * manual/examples/atexit.c: Likewise.
83214         * manual/examples/db.c: Likewise.
83215         * manual/examples/dir.c: Likewise.
83216         * manual/examples/dir2.c: Likewise.
83217         * manual/examples/execinfo.c: Likewise.
83218         * manual/examples/filecli.c: Likewise.
83219         * manual/examples/filesrv.c: Likewise.
83220         * manual/examples/fmtmsgexpl.c: Likewise.
83221         * manual/examples/genpass.c: Likewise.
83222         * manual/examples/inetcli.c: Likewise.
83223         * manual/examples/inetsrv.c: Likewise.
83224         * manual/examples/isockad.c: Likewise.
83225         * manual/examples/longopt.c: Likewise.
83226         * manual/examples/memopen.c: Likewise.
83227         * manual/examples/memstrm.c: Likewise.
83228         * manual/examples/mkfsock.c: Likewise.
83229         * manual/examples/mkisock.c: Likewise.
83230         * manual/examples/mygetpass.c: Likewise.
83231         * manual/examples/pipe.c: Likewise.
83232         * manual/examples/popen.c: Likewise.
83233         * manual/examples/rprintf.c: Likewise.
83234         * manual/examples/search.c: Likewise.
83235         * manual/examples/select.c: Likewise.
83236         * manual/examples/setjmp.c: Likewise.
83237         * manual/examples/sigh1.c: Likewise.
83238         * manual/examples/sigusr.c: Likewise.
83239         * manual/examples/stpcpy.c: Likewise.
83240         * manual/examples/strdupa.c: Likewise.
83241         * manual/examples/strftim.c: Likewise.
83242         * manual/examples/strncat.c: Likewise.
83243         * manual/examples/subopt.c: Likewise.
83244         * manual/examples/swapcontext.c: Likewise.
83245         * manual/examples/termios.c: Likewise.
83246         * manual/examples/testopt.c: Likewise.
83247         * manual/examples/testpass.c: Likewise.
83248         * manual/examples/timeval_subtract.c: Likewise.
83250         [BZ #13792]
83251         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83252         function to ...
83253         * manual/timeval_subtract.c.texi: ... here, new file.
83255 2012-03-02  David S. Miller  <davem@davemloft.net>
83257         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83259 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83261         [BZ #3976]
83262         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83263         (__sin): Save and restore rounding mode and use round-to-nearest
83264         for all computations.
83265         (__cos): Save and restore rounding mode and use round-to-nearest
83266         for all computations.
83267         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83268         <fenv.h>.
83269         (tan): Save and restore rounding mode and use round-to-nearest for
83270         all computations.
83271         * math/libm-test.inc (cos_test_tonearest): New function.
83272         (cos_test_towardzero): Likewise.
83273         (cos_test_downward): Likewise.
83274         (cos_test_upward): Likewise.
83275         (sin_test_tonearest): Likewise.
83276         (sin_test_towardzero): Likewise.
83277         (sin_test_downward): Likewise.
83278         (sin_test_upward): Likewise.
83279         (tan_test_tonearest): Likewise.
83280         (tan_test_towardzero): Likewise.
83281         (tan_test_downward): Likewise.
83282         (tan_test_upward): Likewise.
83283         (main): Call the new functions.
83284         * sysdeps/i386/fpu/libm-test-ulps: Update.
83285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83287         [BZ #10135]
83288         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83289         small n, then large n, before computing and testing k+n.
83290         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83292         Likewise.
83293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83294         Likewise.
83295         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83296         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83301         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83303         * math/libm-test.inc (scalbn_test): Add more tests.
83304         (scalbln_test): Likewise.
83306         * manual/filesys.texi (mode_t): Describe constraints on size and
83307         signedness, not exact equivalence to a particular type.
83308         (ino_t): Likewise.
83309         (ino64_t): Likewise.
83310         (dev_t): Likewise.
83311         (nlink_t): Likewise.
83312         (blkcnt_t): Likewise.
83313         (blkcnt64_t): Likewise.
83314         * manual/llio.texi (off_t): Likewise.
83316         [BZ #3976]
83317         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83318         (__ieee754_exp): Save and restore rounding mode and use
83319         round-to-nearest for all computations.
83320         * math/libm-test.inc (exp_test_tonearest): New function.
83321         (exp_test_towardzero): Likewise.
83322         (exp_test_downward): Likewise.
83323         (exp_test_upward): Likewise.
83324         (main): Call the new functions.
83325         * sysdeps/i386/fpu/libm-test-ulps: Update.
83326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83328 2012-03-01  Chris Demetriou  <cgd@google.com>
83330         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83331         have predictable order.
83333 2012-03-01  David S. Miller  <davem@davemloft.net>
83335         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83337         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83338         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83339         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83340         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83342         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83343         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83344         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83346         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83347         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83348         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83349         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83350         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83354         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83355         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83356         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83358         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83359         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83360         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83361         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83362         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83364         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83365         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83366         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83367         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83368         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83369         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83371         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83372         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83374         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83375         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83376         * sysdeps/sparc/elf/configure: Regenerated.
83378 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83380         * configure.in (AS, LD): Require binutils 2.20 or later.
83381         * configure: Regenerated.
83382         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83383         as required minimum version.
83384         * INSTALL: Regenerated.
83386         [BZ #2541]
83387         [BZ #4108]
83388         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83389         before squaring exponent.
83390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83391         bottom long double and 27 bits of top long double before squaring
83392         exponent.
83393         * math/libm-test.inc (erfc_test): Add more tests.
83394         * sysdeps/i386/fpu/libm-test-ulps: Update.
83395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83398 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83400         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83401         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83402         containing bit-fields.
83403         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83404         * soft-fp/single.h (_FP_UNION_S): Likewise.
83405         * soft-fp/double.h (_FP_UNION_D): Likewise.
83407 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83409         [BZ #13786]
83410         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83411         not include ../strcmp.S.
83412         [USE_AS_STRNCASECMP_L]: Likewise.
83413         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83414         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83415         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83416         (__strncasecmp_l_ia32): Define as alias to
83417         __strncasecmp_l_nonascii.
83419         [BZ #5794]
83420         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83421         * sysdeps/i386/fpu/libm-test-ulps: Update.
83422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83424         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83427 2012-02-29  Jeff Law  <law@redhat.com>
83429         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83430         out of bounds read.
83432 2012-02-29  Marek Polacek  <polacek@redhat.com>
83434         [BZ #13706]
83435         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83436         * elf/Makefile: Add rules to run tst-unused-dep.out.
83438 2012-02-28  David S. Miller  <davem@davemloft.net>
83440         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83441         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83444         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83445         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83447 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83449         * math/libm-test.inc (llround_test): Move one test from
83450         lround_test.  Use TEST_f_L in moved test.
83451         (lround_test): Move misplaced test to llround_test.  Add testcase
83452         from bug 2561.
83454 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83456         * sysdeps/x86_64/fpu/e_expf.S: New file.
83457         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83459 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83461         [BZ #13637]
83462         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83463         of remain_len that may cause incomplete multi-byte character and
83464         false match.
83465         * posix/bug-regex33.c: New file.
83466         * posix/Makefile (tests): Add bug-regex33.
83468 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83470         * manual/macros.texi: New file.
83471         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83472         * manual/libc.texinfo: Include macros.texi.
83473         * manual/creatute.texi: Likewise.
83474         * manual/install.texi: Likewise.
83475         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83476         @glibcadj{} in references to the GNU C Library.
83477         * manual/charset.texi: Likewise.
83478         * manual/conf.texi: Likewise.
83479         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
83480         when not using those macros.
83481         * manual/creature.texi: Likewise.
83482         * manual/crypt.texi: Likewise.
83483         * manual/errno.texi: Likewise.
83484         * manual/filesys.texi: Likewise.
83485         * manual/header.texi: Likewise.
83486         * manual/install.texi: Likewise.
83487         * manual/intro.texi: Likewise.
83488         * manual/io.texi: Likewise.
83489         * manual/job.texi: Likewise.
83490         * manual/lang.texi: Likewise.
83491         * manual/libc.texiinfo: Likewise.
83492         * manual/llio.texi: Likewise.
83493         * manual/locale.texi: Likewise.
83494         * manual/maint.texi: Likewise.
83495         * manual/math.texi: Likewise.
83496         * manual/memory.texi: Likewise.
83497         * manual/message.texi: Likewise.
83498         * manual/nss.texi: Likewise.
83499         * manual/pattern.texi: Likewise.
83500         * manual/process.texi: Likewise.
83501         * manual/resource.texi: Likewise.
83502         * manual/search.texi: Likewise.
83503         * manual/setjmp.texi: Likewise.
83504         * manual/signal.texi: Likewise.
83505         * manual/socket.texi: Likewise.
83506         * manual/startup.texi: Likewise.
83507         * manual/stdio.texi: Likewise.
83508         * manual/string.texi: Likewise.
83509         * manual/sysinfo.texi: Likewise.
83510         * manual/syslog.texi: Likewise.
83511         * manual/terminal.texi: Likewise.
83512         * manual/time.texi: Likewise.
83513         * manual/users.texi: Likewise.
83514         * INSTALL: Regenerated.
83515         * NOTES: Regenerated.
83516         * sysdeps/gnu/errlist.c: Regenerated.
83518 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83520         * include/dirent.h: Include <dirstream.h> before
83521         <dirent/dirent.h>.
83523 2012-02-28  David S. Miller  <davem@davemloft.net>
83525         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83526         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83527         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83528         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83530 2012-02-27  David S. Miller  <davem@davemloft.net>
83532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83534         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83535         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83538         frame pointer instead of stack pointer relative arg slot.
83539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83540         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83541         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83543 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83545         [BZ #3992]
83546         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83548 2012-02-27  David S. Miller  <davem@davemloft.net>
83550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83554         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83555         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83556         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83557         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83559 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83561         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83562         later.  Allow versions 5-9.
83563         * configure: Regenerated.
83564         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83565         required minimum version and 4.6 as recommended version.  Do not
83566         mention bugs in GCC 2.7 and 2.8.
83567         * INSTALL: Regenerated.
83569 2012-02-27  David S. Miller  <davem@davemloft.net>
83571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83575         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83576         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83577         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83578         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83580         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83581         manipulate bits before adding and subtracting TWO112[sx].
83582         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83584 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83586         [BZ #13775]
83587         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83588         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83589         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83590         being in POSIX, because they are in 1003.1-2008.
83592         * rt/tst-aio.c: Include <fcntl.h>.
83593         * rt/tst-aio7.c: Likewise.
83594         * rt/tst-aio64.c: Likewise.
83596         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83598 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83600         * manual/install.texi (--with-headers): Describe headers as
83601         interface headers, not private headers.
83602         (Specific advice for GNU/Linux systems): Describe use of headers
83603         from "make headers_install", not private headers from older
83604         kernels.
83605         * INSTALL: Regenerated.
83606         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83607         Change to 2.6.19.
83608         * sysdeps/unix/sysv/linux/configure: Regenerated.
83610         * manual/llio.texi (fclean): Remove documentation.
83612         * manual/Makefile (libc-texi-generated): New variable.  Include
83613         version.texi.
83614         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83615         $(libc-texi-generated), not duplicated list of files.
83616         (version.texi, stamp-version): New rules.
83617         (realclean): Remove $(libc-texi-generated), not individual files
83618         from that list.  Do not remove dir-add.texinfo.
83619         * manual/libc.texinfo: Comment out uses of edition numbers and
83620         references to printed manual.  Remove last-updated dates.
83621         (EDITION): Comment out.
83622         (ISBN): Likewise.
83623         (VERSION, UPDATED): Remove.
83624         (version.texi): Include.
83626 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83628         * sysdeps/posix/spawni.c: Include <signal.h>.
83629         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83630         * sysdeps/pthread/aio_fsync.c: Likewise.
83632 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83634         * conform/Makefile (tests): Run only when not cross-compiling and
83635         when fast-check is not defined.
83637         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83638         * conform/data/limits.h-data: Fixes for POSIX2008.
83639         * conform/run-conformtest.sh: Run all tests.
83640         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83641         headers.
83642         * include/bits/dlfcn.h: Likewise.
83643         * include/langinfo.h: Likewise.
83644         * include/monetary.h: Likewise.
83645         * include/sys/poll.h: Likewise.
83647         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83648         for __USE_GNU.
83649         * posix/spawn.h: Define __need_sigset_t.
83650         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83651         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83652         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83653         to get sigevent_t only.
83654         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83655         only for __USE_GNU.
83656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83657         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83658         process_vm_writev only for __USE_GNU.
83659         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83661         * conform/Makefile: For now ignore errors from run-conformtest.
83662         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83663         POSIX to avoid namespace pollution.  Don't prepend headers.
83664         * conform/data/aio.h-data: Fixes for POSIX testing.
83665         * conform/data/fcntl.h-data: Likewise.
83666         * conform/data/glob.h-data: Likewise.
83667         * conform/data/grp.h-data: Likewise.
83668         * conform/data/pthread.h-data: Likewise.
83669         * conform/data/pwd.h-data: Likewise.
83670         * conform/data/signal.h-data: Likewise.
83671         * conform/data/spawn.h-data: Likewise.
83672         * conform/data/stdio.h-data: Likewise.
83673         * conform/data/stdlib.h-data: Likewise.
83674         * conform/data/stropts.h-data: Likewise.
83675         * conform/data/sys/mman.h-data: Likewise.
83676         * conform/data/sys/stat.h-data: Likewise.
83677         * conform/data/sys/types.h-data: Likewise.
83678         * conform/data/sys/wait.h-data: Likewise.
83679         * conform/data/time.h-data: Likewise.
83680         * conform/data/unistd.h-data: Likewise.
83681         * conform/data/utime.h-data: Likewise.
83683         * io/sys/stat.h: fchmod was always in POSIX.
83684         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83685         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83686         * rt/aio.h: Define __need_timespec before including <time.h>.
83687         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83688         struct.  Add forward declaration of pthread_attr_t and use it in
83689         sigevent.
83690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83692         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83693         always remove CLK_TCK definition.
83695 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83697         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83699 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83701         * conform/run-conformtest.sh: New file.
83702         * conform/Makefile: Run run-conformtest for tests.
83703         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83704         support.
83706         * conform/data/uchar.h-data: New file.
83707         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83708         * conform/data/arpa/inet.h-data: Likewise.
83709         * conform/data/assert.h-data: Likewise.
83710         * conform/data/complex.h-data: Likewise.
83711         * conform/data/cpio.h-data: Likewise.
83712         * conform/data/ctype.h-data: Likewise.
83713         * conform/data/dirent.h-data: Likewise.
83714         * conform/data/dlfcn.h-data: Likewise.
83715         * conform/data/errno.h-data: Likewise.
83716         * conform/data/fcntl.h-data: Likewise.
83717         * conform/data/float.h-data: Likewise.
83718         * conform/data/fmtmsg.h-data: Likewise.
83719         * conform/data/fnmatch.h-data: Likewise.
83720         * conform/data/ftw.h-data: Likewise.
83721         * conform/data/glob.h-data: Likewise.
83722         * conform/data/grp.h-data: Likewise.
83723         * conform/data/iconv.h-data: Likewise.
83724         * conform/data/inttypes.h-data: Likewise.
83725         * conform/data/langinfo.h-data: Likewise.
83726         * conform/data/libgen.h-data: Likewise.
83727         * conform/data/limits.h-data: Likewise.
83728         * conform/data/locale.h-data: Likewise.
83729         * conform/data/math.h-data: Likewise.
83730         * conform/data/monetary.h-data: Likewise.
83731         * conform/data/mqueue.h-data: Likewise.
83732         * conform/data/ndbm.h-data: Likewise.
83733         * conform/data/net/if.h-data: Likewise.
83734         * conform/data/netdb.h-data: Likewise.
83735         * conform/data/netinet/in.h-data: Likewise.
83736         * conform/data/nl_types.h-data: Likewise.
83737         * conform/data/poll.h-data: Likewise.
83738         * conform/data/pthread.h-data: Likewise.
83739         * conform/data/pwd.h-data: Likewise.
83740         * conform/data/regex.h-data: Likewise.
83741         * conform/data/sched.h-data: Likewise.
83742         * conform/data/search.h-data: Likewise.
83743         * conform/data/semaphore.h-data: Likewise.
83744         * conform/data/setjmp.h-data: Likewise.
83745         * conform/data/signal.h-data: Likewise.
83746         * conform/data/spawn.h-data: Likewise.
83747         * conform/data/stdarg.h-data: Likewise.
83748         * conform/data/stdio.h-data: Likewise.
83749         * conform/data/stdlib.h-data: Likewise.
83750         * conform/data/string.h-data: Likewise.
83751         * conform/data/strings.h-data: Likewise.
83752         * conform/data/stropts.h-data: Likewise.
83753         * conform/data/sys/ipc.h-data: Likewise.
83754         * conform/data/sys/mman.h-data: Likewise.
83755         * conform/data/sys/msg.h-data: Likewise.
83756         * conform/data/sys/resource.h-data: Likewise.
83757         * conform/data/sys/select.h-data: Likewise.
83758         * conform/data/sys/sem.h-data: Likewise.
83759         * conform/data/sys/shm.h-data: Likewise.
83760         * conform/data/sys/socket.h-data: Likewise.
83761         * conform/data/sys/stat.h-data: Likewise.
83762         * conform/data/sys/statvfs.h-data: Likewise.
83763         * conform/data/sys/time.h-data: Likewise.
83764         * conform/data/sys/timeb.h-data: Likewise.
83765         * conform/data/sys/times.h-data: Likewise.
83766         * conform/data/sys/types.h-data: Likewise.
83767         * conform/data/sys/uio.h-data: Likewise.
83768         * conform/data/sys/un.h-data: Likewise.
83769         * conform/data/sys/utsname.h-data: Likewise.
83770         * conform/data/sys/wait.h-data: Likewise.
83771         * conform/data/syslog.h-data: Likewise.
83772         * conform/data/tar.h-data: Likewise.
83773         * conform/data/termios.h-data: Likewise.
83774         * conform/data/utime.h-data: Likewise.
83775         * conform/data/utmpx.h-data: Likewise.
83776         * conform/data/varargs.h-data: Likewise.
83777         * conform/data/wchar.h-data: Likewise.
83778         * conform/data/wctype.h-data: Likewise.
83779         * conform/data/wordexp.h-data: Likewise.
83781         * include/stropts.h: New file.
83782         * include/uchar.h: New file.
83783         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83784         * include/assert.h: Likewise.
83785         * include/ctype.h: Likewise.
83786         * include/dirent.h: Likewise.
83787         * include/dlfcn.h: Likewise.
83788         * include/fcntl.h: Likewise.
83789         * include/fnmatch.h: Likewise.
83790         * include/glob.h: Likewise.
83791         * include/grp.h: Likewise.
83792         * include/libio.h: Likewise.
83793         * include/locale.h: Likewise.
83794         * include/math.h: Likewise.
83795         * include/net/if.h: Likewise.
83796         * include/netdb.h: Likewise.
83797         * include/netinet/in.h: Likewise.
83798         * include/pthread.h: Likewise.
83799         * include/pwd.h: Likewise.
83800         * include/regex.h: Likewise.
83801         * include/sched.h: Likewise.
83802         * include/search.h: Likewise.
83803         * include/setjmp.h: Likewise.
83804         * include/signal.h: Likewise.
83805         * include/stdio.h: Likewise.
83806         * include/stdlib.h: Likewise.
83807         * include/string.h: Likewise.
83808         * include/sys/cdefs.h: Likewise.
83809         * include/sys/mman.h: Likewise.
83810         * include/sys/msg.h: Likewise.
83811         * include/sys/resource.h: Likewise.
83812         * include/sys/select.h: Likewise.
83813         * include/sys/socket.h: Likewise.
83814         * include/sys/stat.h: Likewise.
83815         * include/sys/statvfs.h: Likewise.
83816         * include/sys/time.h: Likewise.
83817         * include/sys/times.h: Likewise.
83818         * include/sys/uio.h: Likewise.
83819         * include/sys/utsname.h: Likewise.
83820         * include/sys/wait.h: Likewise.
83821         * include/termios.h: Likewise.
83822         * include/time.h: Likewise.
83823         * include/ulimit.h: Likewise.
83824         * include/unistd.h: Likewise.
83825         * include/utime.h: Likewise.
83826         * include/wchar.h: Likewise.
83827         * include/wctype.h: Likewise.
83828         * include/wordexp.h: Likewise.
83830         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83832         * time/time.h: TIME_UTC must be a macro.
83833         Make timespec_get available for ISO C11 only as well.
83835 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83837         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83838         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83842         * configure.in: Use -o not -a in test for unsupported multi-arch.
83844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83846         * manual/texinfo.tex: Update to version 2012-01-19.16.
83848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83850         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83852 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83854         [BZ #13738]
83855         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83856         * manual/fdl-1.3.texi: New file.
83857         * manual/fdl-1.1.texi: File removed.
83859         [BZ #13738]
83860         * manual/libc.texinfo (FDL_VERSION): New @set.
83861         Use it for mention of FDL in cover text.
83862         (Documentation License): Use it in @include file name.
83864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83865             Roland McGrath  <roland@hack.frob.com>
83867         [BZ #5461]
83868         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83869         (not LONG_LONG_MAX and LONG_LONG_MIN.
83870         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83871         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83872         name.
83873         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83877         [BZ #2547]
83878         [BZ #11365]
83879         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83880         manipulate bits before adding and subtracting TWO23[sx].
83881         * math/libm-test.inc (nearbyint_test): Add more tests.
83883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83885         [BZ #2548]
83886         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83887         bits before adding and subtracting TWO23[sx].
83888         * math/libm-test.inc (rint_test): Add more tests.
83889         (rint_test_tonearest): Likewise.
83890         (rint_test_towardzero): Likewise.
83891         (rint_test_downward): Likewise.
83892         (rint_test_upward: Likewise.
83894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83896         [BZ #10110]
83897         * include/stdc-predef.h: New file.  Extracted from features.h.
83898         * include/features.h: Include stdc-predef.h.
83899         * Makefile (headers): Add stdc-predef.h.
83900         * CONFORMANCE (Compiler limitations): Update.
83902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83904         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83906 2012-02-21  David S. Miller  <davem@davemloft.net>
83908         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83911 2012-02-20  David S. Miller  <davem@davemloft.net>
83913         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83914         using a normal save/restore sequence, rather than allocating a
83915         dummy stack frame just to store a frame pointer and restore.
83916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83918 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83920         * manual/install.texi: Fix stray word in line-wrapped comment.
83922 2012-02-20  David S. Miller  <davem@davemloft.net>
83924         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83925         both binutils and gcc support GOTDATA.
83927         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83928         "rd %pc" in the PIC register setup sequences.
83930         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83931         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83932         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83933         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83934         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83936         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83939         (SYSCALL_ERROR_HANDLER): Likewise.
83940         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83941         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83943         (SYSCALL_ERROR_HANDLER): Likewise.
83945         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83946         (HAVE_GCC_GOTDATA): New.
83947         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83948         relocation support in both binutils and gcc.
83949         * sysdeps/sparc/elf/configure: Regenerate.
83951         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83952         * sysdeps/sparc/sparc32/elf/configure: Delete.
83953         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83954         * sysdeps/sparc/sparc64/elf/configure: Delete.
83955         * sysdeps/sparc/elf/configure.in: New file.
83956         * sysdeps/sparc/elf/configure: Generate.
83958         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83959         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83960         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83961         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83962         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83966         * manual/install.texi: Do not mention specific glibc version
83967         numbers.
83968         * manual/libc.texinfo (VERSION, UPDATED): Update.
83969         (@copying): Use @copyright{} and range of years.
83971 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83973         [BZ #13695]
83974         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83975         [crti.S not in sysdirs] (generated): Do not append.
83976         [crti.S not in sysdirs] (omit-deps): Likewise.
83977         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83978         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83979         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83980         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83981         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83982         Likewise.
83983         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83984         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83985         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83986         * csu/defs.awk: Remove file.
83987         * sysdeps/generic/initfini.c: Likewise.
83988         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83989         variable.
83990         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83991         Likewise.
83993 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83995         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83996         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83997         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83998         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83999         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84000         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84001         <bits/epoll.h>.
84002         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84003         (__EPOLL_PACKED): Define to empty if not defined by
84004         <bits/epoll.h>.
84005         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84007         bits/epoll.h.
84009 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84011         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84012         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84013         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84014         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84015         <bits/timerfd.h>.
84016         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84018         bits/timerfd.h.
84020 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84022         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84023         in C locale.
84024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84026         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84029 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84031         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84032         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84034 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84036         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84037         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84038         defined.
84039         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84040         Likewise.
84041         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84042         entry for 2.16.
84044 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84046         * math/w_acos.c: Use non-signaling floating-point comparisons.
84047         * math/w_acosf.c: Likewise.
84048         * math/w_acosh.c: Likewise.
84049         * math/w_acoshf.c: Likewise.
84050         * math/w_acoshl.c: Likewise.
84051         * math/w_acosl.c: Likewise.
84052         * math/w_asin.c: Likewise.
84053         * math/w_asinf.c: Likewise.
84054         * math/w_asinl.c: Likewise.
84055         * math/w_atanh.c: Likewise.
84056         * math/w_atanhf.c: Likewise.
84057         * math/w_atanhl.c: Likewise.
84058         * math/w_exp2.c: Likewise.
84059         * math/w_exp2f.c: Likewise.
84060         * math/w_exp2l.c: Likewise.
84061         * math/w_j0.c: Likewise.
84062         * math/w_j0f.c: Likewise.
84063         * math/w_j0l.c: Likewise.
84064         * math/w_j1.c: Likewise.
84065         * math/w_j1f.c: Likewise.
84066         * math/w_j1l.c: Likewise.
84067         * math/w_jn.c: Likewise.
84068         * math/w_jnf.c: Likewise.
84069         * math/w_log.c: Likewise.
84070         * math/w_log10.c: Likewise.
84071         * math/w_log10f.c: Likewise.
84072         * math/w_log10l.c: Likewise.
84073         * math/w_log2.c: Likewise.
84074         * math/w_log2f.c: Likewise.
84075         * math/w_log2l.c: Likewise.
84076         * math/w_logf.c: Likewise.
84077         * math/w_logl.c: Likewise.
84078         * math/w_sqrt.c: Likewise.
84079         * math/w_sqrtf.c: Likewise.
84080         * math/w_sqrtl.c: Likewise.
84081         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84082         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84084         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84085         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84087 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84089         [BZ #9739]
84090         * manual/string.texi (strnlen): Use correct parameter name in
84091         equivalent expression.
84093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84095         [BZ #11174]
84096         * manual/users.texi (seteuid): Consistently use neweuid for
84097         argument name.
84099 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84101         [BZ #13704]
84102         * manual/nss.texi (Services in the NSS configuration): Correct
84103         list of services in example configuration file.
84105 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84107         [BZ #11322]
84108         * manual/arith.texi: Remove statements about negative zero
84109         behaving identically to zero.
84111 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84113         [BZ #5993]
84114         * manual/install.texi: Do not document upgrading from libc5.
84116 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84118         [BZ #4596]
84119         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84121 2012-02-18  David S. Miller  <davem@davemloft.net>
84123         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84124         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84125         %o7 across the call.
84126         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84127         instead.
84128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84129         SETUP_PIC_REG_LEAF.
84130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84131         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84132         * sysdeps/sparc/crtn.S: Likewise.
84134 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84136         * aout/Makefile: Remove.
84138 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84140         [BZ #13058]
84141         * manual/examples/argp-ex1.c (main): Format definition in GNU
84142         style.
84143         * manual/examples/argp-ex2.c (main): Likewise.
84144         * manual/examples/argp-ex3.c (main): Likewise.
84145         * manual/examples/argp-ex4.c (main): Likewise.
84146         * manual/examples/longopt.c (main): Use new-style prototype
84147         definition.
84148         * manual/examples/strncat.c (main): Specify return type and use
84149         (void) for arguments.
84150         * manual/examples/subopt.c (main): Use char **argv argument.
84152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84154         [BZ #5077]
84155         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84156         rounding modes.
84158 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84160         [BZ #6907]
84161         * manual/string.texi (strchr): Change when strchrnul is
84162         recommended.
84164 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84166         [BZ #174]
84167         * manual/locale.texi (setlocale): Document LOCPATH.
84169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84171         [BZ #10210]
84172         * manual/process.texi (execle): Move @dots{} before last argument.
84174 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84176         [BZ #12047]
84177         * manual/charset.texi (Generic Charset Conversion): Fix typo
84178         (LC_TYPE -> LC_CTYPE).
84180 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84182         [BZ #5805]
84183         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84184         (scalbnf): Likewise.
84185         (scalbnl): Likewise.
84186         (scalbln): Likewise.
84187         (scalblnf): Likewise.
84188         (scalblnl): Likewise.
84189         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84190         (vwarnx): Likewise.
84191         (verr): Likewise.
84192         (verrx): Likewise.
84193         * manual/filesys.texi (telldir): Use braces around return type.
84194         * manual/llio.texi (mmap): Add space after comma.
84195         (mmap64): Likewise.
84196         * manual/math.texi (jn): Use @var{} on parameter names.
84197         (jnf): Likewise.
84198         (jnl): Likewise.
84199         (yn): Likewise.
84200         (ynf): Likewise.
84201         (ynl): Likewise.
84202         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84203         line.
84204         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84205         "...".
84206         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84207         (sched_get_priority_max): Likewise.
84208         * manual/signal.texi (sigvec): Add space after comma.
84209         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84210         names.
84211         (if_indextoname): Likewise.
84212         (if_freenameindex): Likewise.
84213         (sendto): Use ',' instead of '.' in prototype.
84214         * manual/startup.texi (syscall): Use @dots{} instead of literal
84215         "...".
84216         * manual/stdio.texi (__fpending): Separate initial words of
84217         paragraph from @deftypefun line.
84218         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84219         "...".
84220         (vsyslog): Use @var{} on parameter names.
84221         * manual/terminal.texi (stty): Use @var{} on parameter names.
84222         * manual/users.texi (getutmp): Use @var{} on parameter names.
84223         (getutmpx): Likewise.
84225 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84227         [BZ #6884]
84228         * manual/stdio.texi (fopen): Fix typos in description of
84229         ",ccs=STRING".
84231 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84233         [BZ #4026]
84234         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84235         get clock_id definition.
84237 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84239         [BZ #4822]
84240         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84241         (madvise): Cast every argument to void on its own.
84243 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84245         [BZ #9902]
84246         * manual/startup.texi (Exit Status): Fix typo.
84248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84250         [BZ #10140]
84251         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84252         * manual/examples/argp-ex2.c: Likewise.
84253         * manual/examples/argp-ex3.c: Likewise.
84255 2012-02-16  Richard Henderson  <rth@redhat.com>
84257         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84258         * sysdeps/s390/s390-32/initfini.c: Remove.
84259         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84260         * sysdeps/s390/s390-64/initfini.c: Remove.
84262 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84264         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84265         compiler output for sysdeps/generic/initfini.c.
84266         * sysdeps/sh/elf/initfini.c: Remove file.
84268 2012-02-16  David S. Miller  <davem@davemloft.net>
84270         [BZ #11494]
84271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84273         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84274         * sysdeps/sparc/crti.S: New file.
84275         * sysdeps/sparc/crtn.S: New file.
84276         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84277         * sysdeps/sparc/sparc64/Makefile: Likewise.
84279 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84281         [BZ #3335]
84282         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84284 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84286         [BZ #4822]
84287         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84289         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84290         (write, read, close): Likewise.
84291         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84293 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84295         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84296         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84297         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84298         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84299         <bits/signalfd.h>.
84300         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84302         bits/signalfd.h.
84304 2012-02-14  Marek Polacek  <polacek@redhat.com>
84306         * sysdeps/x86_64/crti.S: New file.
84307         * sysdeps/x86_64/crtn.S: New file.
84308         * sysdeps/x86_64/elf/initfini.c: Remove file.
84310 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84312         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84313         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84314         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84315         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84316         <bits/inotify.h>.
84317         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84319         bits/inotify.h.
84321 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84323         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84324         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84325         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84326         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84327         <bits/eventfd.h>.
84328         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84330         bits/eventfd.h.
84332 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84334         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84335         __feraiseexcept instead of feraiseexcept.
84337         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84338         nanosleep invocations.
84339         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84340         strings, and add error checking for a nanosleep invocations.
84342 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84344         Replace FSF snail mail address with URLs, as per GNU coding standards.
84345         Most of the snail mail addresses were wrong anyway, and omitting
84346         them makes the source code easier to maintain.  Almost all of the
84347         changes are to license notices and to locale LC_IDENTIFICATION
84348         addresses, except for this one:
84349         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84350         not its snail mail address.
84352 2012-02-09  Richard Henderson  <rth@twiddle.net>
84354         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84355         of kernel-features.h.
84357         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84359 2012-02-08  Marek Polacek  <polacek@redhat.com>
84361         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84362         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84363         * sysdeps/gnu/_G_config.h: Likewise.
84364         * sysdeps/generic/_G_config.h: Likewise.
84366 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84368         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84369         tests.
84370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84372         * sysdeps/powerpc/powerpc32/crti.S: New file.
84373         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84374         * sysdeps/powerpc/powerpc64/crti.S: New file.
84375         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84377         * Makeconfig (have-initfini): Don't set.
84378         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84379         * configure.in (nopic_initfini): Don't substitute.
84380         * config.h.in (HAVE_INITFINI): Don't #undef.
84381         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84382         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84384 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84386         Support crti.S and crtn.S provided directly by architectures.
84387         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84388         [crti.S in sysdirs] (omit-deps): Likewise.
84389         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84390         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84391         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84392         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84393         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84394         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84395         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84396         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84397         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84398         compiler output for sysdeps/generic/initfini.c.
84399         * sysdeps/i386/elf/Makefile: Remove file.
84400         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84402 2012-02-07  Marek Polacek  <polacek@redhat.com>
84404         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84405         * sysdeps/gnu/_G_config.h: Likewise.
84406         * sysdeps/mach/hurd/_G_config.h: Likewise.
84408 2012-02-07  Marek Polacek  <polacek@redhat.com>
84410         * math/Makefile (tests): Add tst-CMPLX2.
84411         * math/tst-CMPLX2.c: New file.
84413 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84415         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84417         * math/libm-test.inc (jn_test): Add missing L suffix.
84419 2012-02-06  Marek Polacek  <polacek@redhat.com>
84421         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84422         * sysdeps/i386/fpu/e_powf.S: Likewise.
84423         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84424         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84426         * sysdeps/i386/fpu/e_pow.S: Likewise.
84427         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84428         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84429         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84430         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84431         * sysdeps/i386/fpu/e_log2.S: Likewise.
84432         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84434         * sysdeps/i386/fpu/e_powl.S: Likewise.
84435         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84437         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84438         * sysdeps/i386/fpu/e_logl.S: Likewise.
84439         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84440         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84441         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84442         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84443         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84444         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84445         * sysdeps/i386/fpu/e_log.S: Likewise.
84446         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84447         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84448         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84449         * sysdeps/i386/fpu/e_logf.S: Likewise.
84450         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84451         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84452         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84453         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84454         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84455         * sysdeps/i386/fpu/e_log10.S: Likewise.
84456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84461         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84462         * sysdeps/i386/asm-syntax.h: Likewise.
84463         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84465         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84466         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84467         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84468         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84469         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84470         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84472         * sysdeps/powerpc/sysdep.h: Likewise.
84473         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84474         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84476 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84478         [BZ #411]
84479         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84481 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84483         * sysdeps/i386/sysdep.h: Include <features.h>.
84484         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84485         version.
84487 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
84489         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84490         Define.
84491         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84492         LOAD_PIC_REG_STR.
84494 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84496         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84497         (SETUP_PIC_REG): Use GET_PC_THUNK.
84498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84499         macro.
84501 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84503         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84504         for non-PIC compilation.
84505         (SETUP_PIC_REG): Add .p2align directive.
84506         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84507         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84508         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84509         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84511         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84512         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84513         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84514         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84515         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84516         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84517         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84518         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84519         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84520         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84521         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84522         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84523         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84524         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84525         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84526         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84528         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84529         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84534         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84535         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84537         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84539         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84540         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84541         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84542         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84543         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84544         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84545         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84546         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84548 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84550         * math/tst-CMPLX.c: Include <stdio.h>.
84552 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84554         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84555         float.
84556         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84557         * sysdeps/sparc/bits/mathdef.h: Likewise.
84559 2012-01-31  Marek Polacek  <polacek@redhat.com>
84561         * libio/libio.h: Don't define _PARAMS.
84562         * locale/programs/config.h: Don't define PARAMS.
84563         * stdlib/strtol_l.c: Likewise.
84564         (__strtol_l): Remove PARAMS from the prototype.
84566 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84568         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84569         names.  Just use the correct names.  Remove unnecessary wrapper
84570         functions.
84571         * malloc/arena.c: Likewise.
84572         * malloc/hooks.c: Likewise.
84574         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84575         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84576         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84578 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84580         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84581         into tail calls.
84582         (update_get_addr): New function.
84583         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84584         GET_ADDR_MODULE parameter.
84586 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84588         * crypt/cert.c: Remove __STDC__ conditionals.
84589         * crypt/crypt-entry.c: Likewise.
84590         * crypt/crypt_util.c: Likewise.
84591         * libio/filedoalloc.c: Likewise.
84592         * libio/fileops.c: Likewise.
84593         * libio/genops.c: Likewise.
84594         * libio/iofclose.c: Likewise.
84595         * libio/iofdopen.c: Likewise.
84596         * libio/iofopen.c: Likewise.
84597         * libio/iofopen64.c: Likewise.
84598         * libio/iogetdelim.c: Likewise.
84599         * libio/iopopen.c: Likewise.
84600         * libio/obprintf.c: Likewise.
84601         * libio/oldfileops.c: Likewise.
84602         * libio/oldiofclose.c: Likewise.
84603         * libio/oldiofdopen.c: Likewise.
84604         * libio/oldiofopen.c: Likewise.
84605         * libio/oldiopopen.c: Likewise.
84606         * libio/wfiledoalloc.c: Likewise.
84607         * libio/wgenops.c: Likewise.
84608         * locale/programs/xmalloc.c: Likewise.
84609         * misc/syslog.c: Likewise.
84610         * stdio-common/xbug.c: Likewise.
84611         * string/memchr.c: Likewise.
84612         * string/memcmp.c: Likewise.
84613         * string/memrchr.c: Likewise.
84614         * string/rawmemchr.c: Likewise.
84615         * sysdeps/posix/getcwd.c: Likewise.
84616         * time/strftime_l.c: Likewise.
84618 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84620         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84621         * config.make.in (config-cflags-sse2avx): Define.
84622         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84623         Fix typo.
84625 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84627         * scripts/config.guess: Update from upstream config git repository.
84628         * scripts/config.sub: Likewise.
84630 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84632         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84633         (EM_NUM): Update.
84634         (R_TILEPRO_*, R_TILEGX_*): New macros.
84636         * scripts/firstversions.awk: Fix bug in version range handling.
84638         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84642         * include/sys/epoll.h: New file.
84643         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84644         libc_hidden_def.
84646 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84648         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84649         Avoid unnecessary __WORDSIZE == 64 test.
84650         (fmaxf): Use VEX format if possible.
84651         (fmax): Likewise.
84652         (fminf): Likewise.
84653         (fmin): Likewise.
84655         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84656         * math/math_private.h: Remove libc_fegetround* and
84657         libc_fesetround*.
84658         * sysdeps/i386/configure.in: Check for -msse2avx.
84659         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84660         also if SSE2AVX is defined.
84661         Remove libc_fegetround* and libc_fesetround*.
84662         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84663         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84665         of HAS_YMM_USABLE.
84666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84667         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84668         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84669         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84672         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84674 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84676         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84677         size is not set.
84678         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84680 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84682         [BZ #13618]
84683         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84684         relocation.
84685         * Makeconfig (libm): Define.
84686         * elf/Makefile: Add rules to build and run tst-relsort1.
84687         * elf/tst-relsort1.c: New file.
84688         * elf/tst-relsort1mod1.c: New file.
84689         * elf/tst-relsort1mod2.c: New file.
84691 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84693         * math/s_ldexp.c: Remove __STDC__ conditionals.
84694         * math/s_ldexpf.c: Likewise.
84695         * math/s_ldexpl.c: Likewise.
84696         * math/s_nextafter.c: Likewise.
84697         * math/s_nexttowardf.c: Likewise.
84698         * math/s_significand.c: Likewise.
84699         * math/s_significandf.c: Likewise.
84700         * math/s_significandl.c: Likewise.
84701         * math/w_jnl.c: Likewise.
84702         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84703         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84704         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84705         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84706         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84708         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84714         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84715         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84716         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84717         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84718         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84719         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84720         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84723         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84724         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84726         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84727         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84728         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84729         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84730         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84731         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84733         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84734         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84735         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84736         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84737         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84738         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84739         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84740         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84741         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84742         * sysdeps/ieee754/k_standard.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84759         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84760         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84774         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84775         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84776         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84782         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84783         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84785         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84786         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84788         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84789         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84791         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84792         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84793         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84796         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84799         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84803         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84804         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84805         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84810         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84811         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84812         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84813         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84814         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84815         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84818         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84819         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84820         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84821         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84822         * sysdeps/ieee754/s_matherr.c: Likewise.
84823         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84824         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84828 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84830         * crypt/md5.h: Remove __STDC__ conditionals.
84831         * libio/libioP.h: Likewise.
84832         * locale/programs/config.h: Likewise.
84833         * sysdeps/generic/sysdep.h: Likewise.
84834         * sysdeps/i386/asm-syntax.h: Likewise.
84835         * sysdeps/s390/asm-syntax.h: Likewise.
84836         * sysdeps/unix/sysdep.h: Likewise.
84837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84840 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84842         * libio/libio.h: Remove __STDC__ conditionals.
84843         * malloc/obstack.h: Likewise.
84844         * math/complex.h: Likewise.
84845         * math/math.h: Likewise.
84846         * sysdeps/generic/_G_config.h: Likewise.
84847         * sysdeps/gnu/_G_config.h: Likewise.
84848         * sysdeps/mach/hurd/_G_config.h: Likewise.
84849         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84850         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84851         * sysdeps/sparc/bits/mathdef.h: Likewise.
84853 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84855         [BZ #13583]
84856         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84857         Clean up HAS_* macros.
84858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84859         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84860         possible.
84861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84862         HAS_AVX.
84863         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84864         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84866         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84867         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84869 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84871         * elf/tst-unique3.cc (gets): Remove declaration.
84872         * elf/tst-unique3lib.cc (gets): Likewise.
84873         * elf/tst-unique3lib2.cc (gets): Likewise.
84874         * elf/tst-unique4.cc (gets): Likewise.
84876 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84878         * include/stdio.h: Add C++ protection.  Add gets declarations and
84879         definitions.
84880         * debug/tst-chk1.c: Don't declare gets here.
84881         * stdio-common/tst-gets.c: Likewise.
84883 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84885         * posix/glob: Remove directory.
84887 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84889         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84891 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84893         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84894         of the non-standard EPFNOSUPPORT.
84896 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84898         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84899         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84900         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84902 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84904         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84906 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84908         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84909         transient errors.
84910         * nscd/grpcache.c (cache_addgr): Likewise.
84911         * nscd/hstcache.c (cache_addhst): Likewise.
84912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84913         * nscd/pwdcache.c (cache_addpw): Likewise.
84914         * nscd/servicescache.c (cache_addserv): Likewise.
84916 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84918         * malloc/malloc.c: Various cleanups.
84919         * malloc/hooks.c: Likewise.
84921         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84922         * stdlib/bug-fmtmsg1.c: New file.
84924         * stdlib/fmtmsg.c (init): Add missing unlock.
84925         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84927 2012-01-12  Marek Polacek  <polacek@redhat.com>
84929         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84930         and _GNU_SOURCE.
84932 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84934         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84935         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84936         macro to ensure uniqueness of label name.
84937         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84938         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84940 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84942         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84944         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84945         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84946         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84949 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84951         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84953         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84954         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84955         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84957         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84959         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84960         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84964         * math/bits/math-finite.h: Add ldexp support.
84966 2012-01-10  Marek Polacek  <polacek@redhat.com>
84968         * locale/programs/localedef.h (show_archive_content): Add noreturn
84969         attribute.
84971 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84973         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84975 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84977         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84979         * io/Makefile (headers): Add bits/poll2.h.
84981 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84984         typo #include statement.
84986 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84988         * include/sys/cdefs.h: Define __attribute_alloc_size.
84989         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84990         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84991         * elf/pldd.c: Likewise.
84992         * iconv/iconv_charmap.c: Likewise.
84993         * iconv/iconvconfig.c: Likewise.
84994         * iconv/strtab.c: Likewise.
84995         * locale/programs/locale.c: Likewise.
84996         * locale/programs/localedef.h: Likewise.
84997         * locale/programs/simple-hash.c: Likewise.
84998         * nscd/nscd.h: Likewise.
84999         * nss/makedb.c: Likewise.
85000         * sysdeps/generic/ldconfig.h: Likewise.
85001         * locale/programs/localedef.c: Remove xmalloc prototype.
85002         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85004 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85006         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85007         appropriate.
85009 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85011         * math/Makefile (tests): Add tst-CMPLX.
85012         * math/tst-CMPLX.c: New file.
85014         * math/complex.h (CMPLXL): Fix typo.
85016         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85017         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85018         GLIBC_2.16.
85019         * debug/tst-chk1.c: Add poll and ppoll tests.
85020         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85021         * include/sys/poll.h: Add hidden proto for ppoll.
85022         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85023         * sysdeps/mach/hurd/ppoll.c: Likewise.
85024         * io/ppoll.c: Likewise.
85025         * debug/poll_chk.c: New file.
85026         * debug/ppoll_chk.c: New file.
85027         * include/bits/poll2.h: New file.
85028         * io/bits/poll2.h: New file.
85030         [BZ #1350]
85031         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85033         * configure.in: static is always set to yes.  Remove.
85034         * config.make.in: Don't set build-static.
85035         * Makeconfig: Remove use of build-static.
85036         * dlfcn/Makefile: Likewise.
85037         * elf/Makefile: Likewise.
85038         * math/Makefile: Likewise.
85039         * misc/Makefile: Likewise.
85040         * nptl/Makefile: Likewise.
85041         * sysdeps/mach/hurd/Makefile: Likewise.
85043         * configure.in: PWD_P is not used anymore.
85044         * config.make.in: Remove PWD_P entry.
85046         * configure.in: Remove last remnants of RANLIB.
85047         No need to check for signed size_t anymore.
85048         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85049         and IA-64.
85050         Remove __builtin_expect test because we require at least gcc 3.4.
85051         * aclocal.m4: Likewise.
85053         * wcsmbs/mbrtoc16.c: Implement using towc function.
85054         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85055         * wcsmbs/wcsmbsload.c: Likewise.
85056         * iconv/gconv_simple.c: Likewise.
85057         * iconv/gconv_int.h: Likewise.
85058         * iconv/gconv_builtin.h: Likewise.
85059         * iconv/iconv_prog.c: Remove CHAR16 handling.
85061         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85063         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85065         * configure.in: Remove --with-elf and --enable-bounded options.
85066         Dont set base_machine for ia64.  More non-ELF conditions removed.
85067         Remove testing and setting of leading underscore information.
85068         * config.make.in (build-bounded): Set to no.
85069         * config.h.in: Remove NO_UNDERSCORES entry.
85070         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85071         them.
85072         * csu/start.c: Remove !NO_UNDERSCORE code.
85073         * locale/localeinfo.h: Likewise.
85074         * sysdeps/generic/machine-gmon.h: Likewise.
85075         * sysdeps/generic/sysdep.h: Likewise.
85076         * sysdeps/i386/sysdep.h: Likewise.
85077         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85078         * sysdeps/mach/sysdep.h: Likewise.
85079         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85080         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85081         * sysdeps/sh/sysdep.h: Likewise.
85082         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85083         * sysdeps/unix/i386/sysdep.S: Likewise.
85084         * sysdeps/unix/sparc/start.c: Likewise.
85085         * sysdeps/unix/sparc/sysdep.S: Likewise.
85086         * sysdeps/unix/sparc/sysdep.h: Likewise.
85087         * sysdeps/unix/start.c: Likewise.
85088         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85089         * sysdeps/x86_64/sysdep.h: Likewise.
85091 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85093         [BZ #13553]
85094         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85095         for non-gcc.
85096         * argp/argp-fmtstream.h: Use const instead __const.
85097         * argp/argp.h: Likewise.
85098         * assert/assert.h: Likewise.
85099         * bits/fenv.h: Likewise.
85100         * bits/sched.h: Likewise.
85101         * bits/sigset.h: Likewise.
85102         * bits/sigthread.h: Likewise.
85103         * catgets/nl_types.h: Likewise.
85104         * conform/data/pthread.h-data: Likewise.
85105         * crypt/crypt-private.h: Likewise.
85106         * crypt/crypt.h: Likewise.
85107         * crypt/crypt_util.c: Likewise.
85108         * ctype/ctype.h: Likewise.
85109         * debug/execinfo.h: Likewise.
85110         * debug/mbsnrtowcs_chk.c: Likewise.
85111         * debug/mbsrtowcs_chk.c: Likewise.
85112         * debug/wcsnrtombs_chk.c: Likewise.
85113         * debug/wcsrtombs_chk.c: Likewise.
85114         * debug/wcstombs_chk.c: Likewise.
85115         * dirent/dirent.h: Likewise.
85116         * dlfcn/dlfcn.h: Likewise.
85117         * elf/neededtest4.c: Likewise.
85118         * grp/grp.h: Likewise.
85119         * gshadow/gshadow.h: Likewise.
85120         * iconv/gconv.h: Likewise.
85121         * iconv/gconv_int.h: Likewise.
85122         * iconv/gconv_simple.c: Likewise.
85123         * iconv/iconv.h: Likewise.
85124         * iconv/loop.c: Likewise.
85125         * iconv/skeleton.c: Likewise.
85126         * include/aio.h: Likewise.
85127         * include/aliases.h: Likewise.
85128         * include/argz.h: Likewise.
85129         * include/arpa/inet.h: Likewise.
85130         * include/assert.h: Likewise.
85131         * include/dirent.h: Likewise.
85132         * include/dlfcn.h: Likewise.
85133         * include/execinfo.h: Likewise.
85134         * include/fcntl.h: Likewise.
85135         * include/fenv.h: Likewise.
85136         * include/glob.h: Likewise.
85137         * include/grp.h: Likewise.
85138         * include/libintl.h: Likewise.
85139         * include/mntent.h: Likewise.
85140         * include/netdb.h: Likewise.
85141         * include/pwd.h: Likewise.
85142         * include/rpc/netdb.h: Likewise.
85143         * include/sched.h: Likewise.
85144         * include/search.h: Likewise.
85145         * include/shadow.h: Likewise.
85146         * include/signal.h: Likewise.
85147         * include/stdio.h: Likewise.
85148         * include/stdlib.h: Likewise.
85149         * include/string.h: Likewise.
85150         * include/sys/socket.h: Likewise.
85151         * include/sys/stat.h: Likewise.
85152         * include/sys/statfs.h: Likewise.
85153         * include/sys/statvfs.h: Likewise.
85154         * include/sys/syslog.h: Likewise.
85155         * include/sys/time.h: Likewise.
85156         * include/sys/uio.h: Likewise.
85157         * include/time.h: Likewise.
85158         * include/unistd.h: Likewise.
85159         * include/utmp.h: Likewise.
85160         * include/wchar.h: Likewise.
85161         * include/wctype.h: Likewise.
85162         * inet/aliases.h: Likewise.
85163         * inet/arpa/inet.h: Likewise.
85164         * inet/netinet/ether.h: Likewise.
85165         * inet/netinet/in.h: Likewise.
85166         * intl/libintl.h: Likewise.
85167         * io/bits/fcntl2.h: Likewise.
85168         * io/fcntl.h: Likewise.
85169         * io/ftw.h: Likewise.
85170         * io/sys/poll.h: Likewise.
85171         * io/sys/stat.h: Likewise.
85172         * io/sys/statfs.h: Likewise.
85173         * io/sys/statvfs.h: Likewise.
85174         * io/utime.h: Likewise.
85175         * libio/bits/stdio.h: Likewise.
85176         * libio/bits/stdio2.h: Likewise.
85177         * libio/libio.h: Likewise.
85178         * libio/libioP.h: Likewise.
85179         * libio/stdio.h: Likewise.
85180         * locale/lc-ctype.c: Likewise.
85181         * locale/locale.h: Likewise.
85182         * login/utmp.h: Likewise.
85183         * malloc/arena.c: Likewise.
85184         * malloc/malloc.c: Likewise.
85185         * malloc/malloc.h: Likewise.
85186         * malloc/mcheck.c: Likewise.
85187         * malloc/mtrace.c: Likewise.
85188         * math/bits/mathcalls.h: Likewise.
85189         * math/fenv.h: Likewise.
85190         * math/math_private.h: Likewise.
85191         * misc/bits/error.h: Likewise.
85192         * misc/bits/syslog.h: Likewise.
85193         * misc/err.h: Likewise.
85194         * misc/error.h: Likewise.
85195         * misc/fstab.h: Likewise.
85196         * misc/mntent.h: Likewise.
85197         * misc/regexp.h: Likewise.
85198         * misc/search.h: Likewise.
85199         * misc/sgtty.h: Likewise.
85200         * misc/sys/mman.h: Likewise.
85201         * misc/sys/syslog.h: Likewise.
85202         * misc/sys/uio.h: Likewise.
85203         * misc/sys/xattr.h: Likewise.
85204         * misc/ttyent.h: Likewise.
85205         * nis/rpcsvc/ypclnt.h: Likewise.
85206         * nss/nss.h: Likewise.
85207         * posix/bits/unistd.h: Likewise.
85208         * posix/fnmatch.h: Likewise.
85209         * posix/glob.h: Likewise.
85210         * posix/sched.h: Likewise.
85211         * posix/spawn.h: Likewise.
85212         * posix/sys/wait.h: Likewise.
85213         * posix/unistd.h: Likewise.
85214         * posix/wordexp.h: Likewise.
85215         * pwd/pwd.h: Likewise.
85216         * resolv/netdb.h: Likewise.
85217         * resource/sys/resource.h: Likewise.
85218         * rt/aio.h: Likewise.
85219         * rt/bits/mqueue2.h: Likewise.
85220         * rt/mqueue.h: Likewise.
85221         * shadow/shadow.h: Likewise.
85222         * signal/signal.h: Likewise.
85223         * socket/send.c: Likewise.
85224         * socket/sendto.c: Likewise.
85225         * socket/sys/socket.h: Likewise.
85226         * stdio-common/printf.h: Likewise.
85227         * stdlib/bits/stdlib.h: Likewise.
85228         * stdlib/fmtmsg.h: Likewise.
85229         * stdlib/monetary.h: Likewise.
85230         * stdlib/stdlib.h: Likewise.
85231         * stdlib/ucontext.h: Likewise.
85232         * streams/stropts.h: Likewise.
85233         * string/argz.h: Likewise.
85234         * string/bits/string2.h: Likewise.
85235         * string/string.h: Likewise.
85236         * string/strings.h: Likewise.
85237         * sunrpc/rpc/auth.h: Likewise.
85238         * sunrpc/rpc/auth_des.h: Likewise.
85239         * sunrpc/rpc/clnt.h: Likewise.
85240         * sunrpc/rpc/netdb.h: Likewise.
85241         * sunrpc/rpc/pmap_clnt.h: Likewise.
85242         * sunrpc/rpc/xdr.h: Likewise.
85243         * sysdeps/generic/inttypes.h: Likewise.
85244         * sysdeps/generic/net/if.h: Likewise.
85245         * sysdeps/generic/sys/swap.h: Likewise.
85246         * sysdeps/gnu/net/if.h: Likewise.
85247         * sysdeps/gnu/utmpx.h: Likewise.
85248         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85249         * sysdeps/i386/i486/bits/string.h: Likewise.
85250         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85251         * sysdeps/s390/bits/string.h: Likewise.
85252         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85253         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85254         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85255         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85256         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85257         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85258         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85259         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85260         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85261         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85262         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85263         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85264         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85265         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85266         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85267         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85268         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85271         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85272         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85273         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85274         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85275         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85276         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85277         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85278         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85279         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85280         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85281         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85282         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85283         * sysvipc/sys/ipc.h: Likewise.
85284         * sysvipc/sys/msg.h: Likewise.
85285         * sysvipc/sys/sem.h: Likewise.
85286         * sysvipc/sys/shm.h: Likewise.
85287         * termios/termios.h: Likewise.
85288         * time/sys/time.h: Likewise.
85289         * time/time.h: Likewise.
85290         * wcsmbs/bits/wchar2.h: Likewise.
85291         * wcsmbs/uchar.h: Likewise.
85292         * wcsmbs/wchar.h: Likewise.
85293         * wctype/wctype.h: Likewise.
85295         [BZ #13551]
85296         * Makeconfig: Remove all but ELF support including AIX support.
85297         * Makerules: Likewise.
85298         * config.h.in: Likewise.
85299         * config.make.in: Likewise.
85300         * configure: Likewise.
85301         * configure.in: Likewise.
85302         * csu/Makefile: Likewise.
85303         * csu/version.c: Likewise.
85304         * debug/Makefile: Likewise.
85305         * dlfcn/Makefile: Likewise.
85306         * elf/Makefile: Likewise.
85307         * extra-lib.mk: Likewise.
85308         * iconv/Makefile: Likewise.
85309         * include/libc-symbols.h: Likewise.
85310         * include/shlib-compat.h: Likewise.
85311         * resolv/Makefile: Likewise.
85312         * resolv/res_libc.c: Likewise.
85313         * rt/Makefile: Likewise.
85314         * sysdeps/i386/asm-syntax.h: Likewise.
85315         * sysdeps/i386/sysdep.h: Likewise.
85316         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85317         * sysdeps/mach/sysdep.h: Likewise.
85318         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85319         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85320         * sysdeps/s390/asm-syntax.h: Likewise.
85321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85322         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85323         * sysdeps/sh/sysdep.h: Likewise.
85324         * sysdeps/unix/sparc/sysdep.h: Likewise.
85325         * sysdeps/wordsize-32/divdi3.c: Likewise.
85326         * sysdeps/x86_64/sysdep.h: Likewise.
85328         * argp/Versions: Remove _argp_unlock_xxx.
85330         [BZ #13559]
85331         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85332         * abilist/libBrokenLocale.abilist: Likewise.
85333         * abilist/libanl.abilist: Likewise.
85334         * abilist/libc.abilist: Likewise.
85335         * abilist/libcrypt.abilist: Likewise.
85336         * abilist/libdl.abilist: Likewise.
85337         * abilist/libm.abilist: Likewise.
85338         * abilist/libnsl.abilist: Likewise.
85339         * abilist/libpthread.abilist: Likewise.
85340         * abilist/libresolv.abilist: Likewise.
85341         * abilist/librt.abilist: Likewise.
85342         * abilist/libthread_db.abilist: Likewise.
85343         * abilist/libutil.abilist: Likewise.
85344         * abilist/libnss_db.abilist: New file.
85346         * scripts/abilist.awk: Add support for indirect functions.
85348         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85350         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85352         * shlib-versions: Remove entries for ports architectures.
85354         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85355         files in ports.
85356         * elf/stackguard-macros.h: Remove support for IA-64.
85357         * elf/tst-auditmod1.c: Likewise.
85358         * sysdeps/generic/ldsodefs.h: Likewise.
85360         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85361         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85362         configure files.
85364         [BZ #13552]
85365         * configure.in: Remove --enable-omitfp support.
85366         * FAQ.in: Adjust.
85367         * config.make.in: Likewise.
85368         * Makeconfig: Likewise.
85369         * manual/install.texi: Likewise.
85371         In case anyone cares, the IA-64 architecture could move to ports.
85372         * sysdeps/ia64/*: Removed.
85373         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85374         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85376         [BZ #13555]
85377         * configure.in: Remove entries for unsupported architectures.
85379         [BZ #13533]
85380         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85381         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85382         routines.
85383         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85384         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85385         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85386         fall back to using wcrtomb.
85387         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85388         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85389         renaming.
85390         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85391         * wcsmbs/tst-c16c32-1.c: New file.
85393         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85394         local variable.
85396         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85398         * elf/tst-unique3.cc: Add explicit declaration of gets.
85399         * elf/tst-unique3lib.cc: Likewise.
85400         * elf/tst-unique3lib2.cc: Likewise.
85401         * elf/tst-unique4.cc: Likewise.
85403         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85405 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85407         [BZ #13566]
85408         * assert/assert.h (static_assert): Don't define for C++.
85409         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85410         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85412 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85414         * iconv/loop.c (single loop): Fix assertion in storing of
85415         remaining bytes.
85417         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85419 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85421         * posix/getconf.c: Update copyright year.
85422         * nss/getent.c: Likewise.
85423         * nss/makedb.c: Likewise.
85424         * iconv/iconvconfig.c: Likewise.
85425         * iconv/iconv_prog.c: Likewise.
85426         * elf/ldconfig.c: Likewise.
85427         * elf/pldd.c: Likewise.
85428         * elf/sotruss.ksh: Likewise.
85429         * catgets/gencat.c: Likewise.
85430         * csu/version.c: Likewise.
85431         * elf/ldd.bash.in: Likewise.
85432         * elf/sprof.c (print_version): Likewise.
85433         * locale/programs/locale.c: Likewise.
85434         * locale/programs/localedef.c: Likewise.
85435         * login/programs/pt_chown.c: Likewise.
85436         * nscd/nscd.c (print_version): Likewise.
85437         * debug/xtrace.sh: Likewise.
85438         * malloc/memusage.sh: Likewise.
85439         * malloc/mtrace.pl: Likewise.
85440         * debug/catchsegv.sh: Likewise.
85442 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85444         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85445         pure attribute.
85447 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85449         [BZ #13533]
85450         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85451         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85452         transformations.
85453         * iconv/gconv_int.h: Likewise.
85454         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85455         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85456         from libc for GLIBC_2.16.
85457         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85458         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85459         * wcsmbs/uchar.h: Really define mbstate_t.
85460         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85461         * wcsmbs/c16rtomb.c: New file.
85462         * wcsmbs/mbrtoc16.c: New file.
85463         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85464         for C/POSIX locale.
85465         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85466         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85468         * wcsmbs/wchar.h: Add missing __restrict.
85470 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85472         [BZ #13532]
85473         * time/Makefile (routines): Add timespec_get.
85474         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85475         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
85476         timespec for ISO C11.
85477         * time/timespec_get.c: New file.
85478         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85479         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85481         [BZ #13531]
85482         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85483         * stdlib/stdlib.h: Declare aligned_alloc.
85484         * Versions.def: Add GLIBC_2.16 for libc.
85485         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85487         [BZ 13527]
85488         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85489         ISO C11.
85491         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85492         code.
85494         [BZ #13528]
85495         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85497         [BZ #13529]
85498         * assert/assert.h (static_assert): Define.
85500         * version.h: Update for 2.16 development version.
85502         [BZ #13526]
85503         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85504         _ISOC11_SOURCE.
85506         * version.h (RELEASE): Bump for 2.15 release.
85507         * include/features.h (__GLIBC_MINOR__): Bump to 15.
85509         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85510         Patch by Marek Polacek <mpolacek@redhat.com>.
85512         * bits/byteswap.h: Protect long long constants with __extension__.
85513         * sysdeps/i386/bits/byteswap.h: Likewise.
85514         * sysdeps/ia64/bits/byteswap.h: Likewise.
85515         * sysdeps/s390/bits/byteswap.h: Likewise.
85516         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85518 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85520         [BZ #13540]
85521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85522         destination buffer.
85523         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85525 2011-12-23  Marek Polacek  <polacek@redhat.com>
85527         * elf/dl-addr.c (determine_info): Add inline keyword.
85528         * elf/tst-auditmod4b.c (check_avx): Likewise.
85529         * elf/tst-auditmod6b.c (check_avx): Likewise.
85530         * elf/tst-auditmod6c.c (check_avx): Likewise.
85531         * elf/tst-auditmod7b.c (check_avx): Likewise.
85533 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85535         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85536         !__SSE_MATH__.
85538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85540         [BZ #13540]
85541         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85542         processing for last bytes.
85544 2011-08-06  Bruno Haible  <bruno@clisp.org>
85546         [BZ #13061]
85547         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85548         U+0385, not to U+1FEE.
85550         [BZ #13062]
85551         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85552         entry for U+00A5 U+0301.
85554 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85556         [BZ #13166]
85557         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85558         buffer for the output is too small.
85560         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85561         optimization.
85563         [BZ #13185]
85564         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85565         SSE flags if possible.
85567 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85569         [BZ #13540]
85570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85571         processing for last bytes.
85573 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85575         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85576         (syscall-list-default-options, syscall-list-default-condition)
85577         (syscall-list-includes): Define.
85578         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85579         list of ABIs and options and #if conditions for each ABI.  Do not
85580         handle common syscalls between ABIs specially.
85581         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85582         Remove.
85583         (syscall-list-variants, syscall-list-32bit-options)
85584         (syscall-list-32bit-condition, syscall-list-64bit-options)
85585         (syscall-list-64bit-condition): Define.
85586         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85587         (syscall-list-variants, syscall-list-32bit-options)
85588         (syscall-list-32bit-condition, syscall-list-64bit-options)
85589         (syscall-list-64bit-condition): Define.
85590         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85591         Remove.
85592         (syscall-list-variants, syscall-list-32bit-options)
85593         (syscall-list-32bit-condition, syscall-list-64bit-options)
85594         (syscall-list-64bit-condition): Define.
85595         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85596         Remove.
85597         (syscall-list-variants, syscall-list-32bit-options)
85598         (syscall-list-32bit-condition, syscall-list-64bit-options)
85599         (syscall-list-64bit-condition): Define.
85601 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85603         * locale/iso-639.def: Add brx entry.
85605         [BZ #13328]
85606         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85607         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85609         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85610         __feraiseexcept_renamed.
85612 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85614         [BZ #13538]
85615         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85616         EPOLLET with unsigned values.
85617         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85618         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85620         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85621         to large cancellation.
85622         * math/s_cacoshf.c: Likewise.
85623         * math/s_cacoshl.c: Likewise.
85625 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85627         [BZ #13305]
85628         [BZ #12786]
85629         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85630         * math/s_cacoshf.c: Likewise.
85631         * math/s_cacoshl.c: Likewise.
85633 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85635         [BZ #13439]
85636         * iconv/gconv.h: Define __GCONV_SWAP.
85637         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85638         * iconvdata/utf-16.c: Likewise.
85639         * iconvdata/utf-32.c: Likewise.
85641 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85643         [BZ #13524]
85644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85645         numerator after shifting it by one limb.
85647 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85649         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85650         under [__USE_EXTERN_INLINES].
85652 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85654         [BZ #13446]
85655         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85657 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85659         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85660         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85661         optimized code.
85662         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85663         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85664         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85665         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85666         for strncasecmp/strncasecmp_l compilation.
85667         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85668         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85670 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85672         [BZ #13484]
85673         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85674         of __asm__.
85676 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85678         [BZ #13506]
85679         * time/tzfile.c (__tzfile_read): Check values from file header.
85681 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85683         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85684         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85685         * powerpc/powerpc32/dl-start.S: Likewise.
85686         * powerpc/powerpc32/elf/start.S: Likewise.
85687         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85688         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85689         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85690         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85691         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85692         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85693         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85694         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85695         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85696         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85697         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85698         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85699         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85700         * powerpc/powerpc32/memset.S: Likewise.
85701         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85702         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85703         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85704         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85705         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85706         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85707         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85708         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85709         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85710         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85711         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85712         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85713         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85715 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85717         * math/libm-test.inc: Added more nearbyint tests.
85718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85723 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85725         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85726         FD_CLOEXEC.
85728 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85730         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85731         Add wcscpy-ssse3 wcscpy-c.
85732         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85733         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85734         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85735         * sysdeps/x86_64/wcschr.S: New file.
85736         * sysdeps/x86_64/wcsrchr.S: New file.
85737         * string/test-strcmp.c: Remove checking of wcscmp function for
85738         wrong alignments.
85739         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85740         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85741         wcsrchr-sse2 wcsrchr-c.
85742         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85743         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85744         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85745         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85746         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85747         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85748         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85749         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85750         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85751         * wcsmbc/wcschr.c (WCSCHR): New macro.
85753 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85755         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85756         * wcsmbs/test-wcsrchr.c: New file.
85757         * string/test-strrchr.c: Add wcsrchr support.
85758         (WIDE): New macro.
85759         * wcsmbs/test-wcscpy.c: New file.
85760         * string/test-strcpy.c: Add wcscpy support.
85761         (WIDE): New macro.
85763 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85765         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85766         the inner loop.
85768 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85770         [BZ #13472]
85771         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85773 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85775         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85776         Minor optimizations.
85778         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85779         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85780         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85782 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85784         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85785         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85786         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85787         for gcc to avoid warnings.
85788         * inet/Makefile (tests): Add tst-checks.
85789         * inet/tst-checks.c: New file.
85791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85792         warning.
85794         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85795         __wmemcmp_sse2.
85797         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85798         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85800         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85802 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85804         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85805         problem.
85807         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85809 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85812         conditional on GCC version.
85813         (__arch_compare_and_exchange_val_8_acq)
85814         (__arch_compare_and_exchange_val_16_acq)
85815         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85816         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85817         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85819 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85821         * sysdeps/sh/backtrace.c: New file.
85823 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85825         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85826         parenthesis.
85828 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85830         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85831         falling back to utime.
85833 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85835         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85836         expectations for float.
85838 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85840         * locale/weight.h (findidx): Add parameter len.
85841         * locale/weightwc.h (findidx): Likewise.
85842         * posix/fnmatch_loop.c (FCT): Adjust caller.
85843         * posix/regcomp.c (build_equiv_class): Likewise.
85844         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85845         * posix/regexec.c (check_node_accept_bytes): Likewise.
85846         * string/strcoll_l.c (STRCOLL): Likewise.
85847         * string/strxfrm_l.c (STRXFRM): Likewise.
85849 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85851         * Makefile.in: Remove CVSOPT handling.
85852         * configure.in: Remove use of AC_REVISION.
85853         * iconvdata/Makefile (distribute): No need to filter out CVS.
85854         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85855         handling.
85857 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85860         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85861         [USE_AS_STRNCASECMP_L]: Likewise.
85862         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85863         NO_TLS_DIRECT_SEG_REFS.
85864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85865         Fix argument offsets for non-PIC.
85866         [USE_AS_STRNCASECMP_L]: Likewise.
85867         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85868         NO_TLS_DIRECT_SEG_REFS.
85870 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85872         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85873         O_CLOEXEC.
85874         * locale/loadlocale.c (_nl_load_locale): Likewise.
85876 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85879         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85881         (SYSCALL_GETTIME): Set errno on error.
85883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85884         count references to noai6ai_cached.
85886 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85888         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85890         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85891         FD_CLOEXEC for /proc/self/maps.
85893         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85894         FD_CLOEXEC for /proc/meminfo.
85896         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85897         gai.conf.
85899         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85900         FD_CLOEXEC for given file.
85902         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85904         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85905         FD_CLOEXEC for /etc/hosts.
85906         (_gethtent): Likewise.
85908         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85910         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85911         cancellation and set FD_CLOEXEC for /etc/netgroup.
85913         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85914         reading /etc/publickey.
85916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85917         allow cancellation when reading /etc/group.
85919         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85920         cancellation.
85921         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85923         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85924         when using data file.
85926         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85928         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85929         (write_nis_obj): Use "c" and "e" in fopen.
85931         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85933         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85935         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85937         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85939         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85940         locale.alias.
85942         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85944         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85946         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85948         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85949         file parsing and set FD_CLOEXEC.
85951 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85953         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85955 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85957         * malloc/arena.c (arena_get2): Don't call reused_arena when
85958         _int_new_arena failed.
85960 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85962         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85963         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85964         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85966         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85967         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85968         to compile strcasecmp and strncasecmp.
85969         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85970         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85974 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85976         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85977         locale-defines.sym to gen-as-const-headers.
85978         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85979         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85981         to compile strcasecmp and strncasecmp.
85982         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85983         strcasecmp_l and strncasecmp_l.
85984         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85985         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85986         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85987         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85988         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85989         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85990         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85991         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85992         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85993         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85994         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85996 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85998         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85999         result of SYSDEP_GETTIME_CPU to retval.
86000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86001         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86003         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86004         variable.
86006         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86007         mantissa words.
86008         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86011         from unused variable.
86013         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86014         DWARF definitions.
86015         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86016         for assembling.
86018         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86019         over namespaces.
86021         * sunrpc/rpc_prot.c (rejected): Fix case value.
86023         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86024         unsigned long long int to avoid warnings in shift.
86026         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86027         of use of trans.
86028         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86029         variable tmp.
86031         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86032         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86033         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86035         * nis/nis_table.c (nis_list): Use variable of correct type for
86036         result of __follow_path call.
86038 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86040         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86041         of math functions ceil, trunc, floor, round, and sqrt, when
86042         avaliable on the platform.
86043         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86044         name clash.
86045         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86046         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86047         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86049 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86051         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86052         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86054 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86056         * include/unistd.h: Fix __readlink return type.
86057         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86059 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86061         * stdlib/ucontext.h: Undo last change for makecontext.
86063 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86065         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86067         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86068         * setjmp/setjmp.h: Mark functions as non-leaf.
86069         * setjmp/bits/setjmp2.h: Likewise.
86070         * stdlib/ucontext.h: Likewise.
86072 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86074         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86075         (reused_arena): Don't check arena limit.
86076         (arena_get2): Atomically check arena limit.
86078 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86080         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86081         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86084         instructions.
86086 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86088         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86089         handler when locking.
86091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86092         Fix size of allocated buffer.
86094 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86096         [BZ #10103]
86097         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86098         declarations for long double functions.
86099         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86101         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86103 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86105         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86106         installed.
86108         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86109         is disabled.
86111 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86113         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86115 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86117         * include/alloca.h (stackinfo_alloca_round): Define.
86118         (extend_alloca): Use it.
86119         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86120         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86121         here.
86123         * scripts/check-local-headers.sh: Ignore libaudit.h.
86125         * nscd/Makefile (extra-objs): Make recursively expanded.
86127 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86129         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86130         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86132         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86133         * posix/tst-rfc3484-2.c: Likewise.
86134         * posix/tst-rfc3484-3.c: Likewise.
86136         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86137         process_vm_writev.
86138         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86139         process_vm_writev.
86140         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86141         process_vm_writev from libc using GLIBC_2.15 version.
86143         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86145 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86147         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86148         stack usage.
86150 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86152         [BZ #13367]
86153         * nss/getent.c (initgroups_keys): Show error message in case no group
86154         names are given.
86156         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86157         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86158         __bump_nl_timestamp.
86159         * nscd/connections (nscd_init): When host database is served open
86160         netlink socket and request notification about configuration changes.
86161         (main_loop_poll): Track netlink file descriptor and bump timestamp
86162         in case data becomes available.
86163         (main_loop_epoll): Likewise.
86164         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86165         (database_pers_head): Add extra_data fileds.
86166         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86167         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86168         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86169         Adjust caller.
86170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86171         in6ai data, call __free_in6ai.
86172         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86173         Add -DHAVE_NETLINK.
86174         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86175         interface information.  Reuse previous data if netlink timestamp
86176         is not changed.
86177         (__bump_nl_timestamp): New function.
86178         (__free_in6ai): New function.
86180 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86183         close_not_cancel_no_status here.
86184         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86186 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86188         [BZ #13276]
86189         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86190         return value.
86192         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86193         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86194         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86196 2011-07-03  Andreas Jaeger  <aj@suse.de>
86198         [BZ #10709]
86199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86200         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86201         * math/libm-test.inc (sin_test): Add test case.
86203 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86205         [BZ #13337]
86206         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86209         * elf/chroot_canon.c (chroot_canon): Cleanups.
86211         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86213         [BZ #13335]
86214         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86217         * string/test-strchr.c: Make usable for strchrnul testing.
86218         * string/test-strchrnul.c: New file.
86219         * string/Makefile (strop-tests): Add strchrnul.
86221         * po/it.po: Update from translation team.
86222         * po/es.po: Likewise.
86224 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86226         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86227         the three constants needed as parameters.  Drop the others.
86228         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86229         __m128i_strloadu_tolower.
86230         Create and initialize variable zero and use it in all the places
86231         where _mm_setzero_si128 was used.
86233         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86234         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86235         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86236         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86237         anymore.
86238         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86239         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86240         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86241         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86242         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86243         __mpranred, __mptan.
86244         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86245         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86246         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86247         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86248         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86249         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86250         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86251         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86252         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86254 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86256         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86257         redefine if SHARED.
86258         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86261         wide char related routines to wcsmbs subdir.
86263 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86265         [BZ #13344]
86266         * misc/sys/cdefs.h (__THROWNL): Define.
86267         * posix/unistd.h: Use __THREADNL instead of __THREAD
86268         for memory synchronization functions.
86270 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86272         [BZ #13349]
86273         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86274         doesn't exist.
86275         * manual/stdio.texi (Obstack Streams): Node removed.
86277 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86279         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86281         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86283         * math/math_private.h (math_force_eval): Allow non-addressable
86284         arguments.
86285         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86287 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86289         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86290         file is not needed.
86292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86294         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86295         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86296         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86297         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86298         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86299         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86300         Add AVX variants.
86301         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86302         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86303         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86304         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86305         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86306         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86307         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86308         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86309         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86310         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86311         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86312         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86314         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86315         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86316         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86317         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86318         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86319         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86321         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86322         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86324         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86325         place.  Use VEX encoding when compiling for AVX.
86327 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86329         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86330         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86332         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86334 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86336         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86337         useless if() expression.
86338         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86339         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86340         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86341         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86342         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86344         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86350         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86351         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86352         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86353         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86354         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86355         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86356         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86358         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86360 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86362         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86363         condition.
86364         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86366 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86368         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86369         .text section.  Avoid duplicate constants.
86370         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86378         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86379         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86380         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86381         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86382         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86383         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86384         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86385         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86386         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86387         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86388         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86390         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86391         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86392         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86394         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86395         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86396         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86397         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86398         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86399         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86400         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86401         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86402         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86403         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86404         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86405         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86406         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86407         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86408         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86409         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86410         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86411         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86412         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86413         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86414         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86416 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86418         * sysdeps/x86_64/dla.h: Move to ...
86419         * sysdeps/x86_64/fpu/dla.h: ...here.
86420         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86421         situations.  Use __builtin_fma only for gcc 4.6 and up.
86423         * config.make.in: Add have-mfma4 entry.
86424         * configure.in: Substitute libc_cv_cc_fma4.
86425         * math/Makefile (dbl-only-routines): Add sincostab.
86426         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86427         Use __sincostab not sincos.
86428         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86429         name is a macro.
86430         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86434         using __copysign.
86435         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86436         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86437         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86438         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86439         and __inv.
86440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86441         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86442         __copysign.
86443         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86444         define aliases when function name is a macro.
86445         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86446         sysdeps/ieee754/dbl-64/sincos.tbl.
86447         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86448         fma4-enabled routines.
86449         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86450         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86451         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86452         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86453         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86454         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86455         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86456         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86457         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86458         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86459         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86460         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86461         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86462         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86463         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86464         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86465         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86466         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86467         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86468         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86469         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86470         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86474         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86475         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86476         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86477         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86478         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86480         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86481         rename.
86482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86491 2011-10-24  Andreas Schwab  <schwab@redhat.com>
86493         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86495 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86499         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86500         prediction.
86501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86503         * string/strnlen.c: Don't define STRNLEN, reverse logic.
86504         Remove unused variable magic_bits.
86505         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86507         * string/strnlen.c: Define and use STRNLEN macro.
86508         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86509         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86511         * wcsmbs/wcslen.c: Define and use WCSLEN.
86512         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86513         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86514         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86515         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86516         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86517         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86518         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86520 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86523         strnlen-sse2-no-bsf.
86524         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86525         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86526         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86527         Add strnlen support.
86528         (USE_AS_STRNLEN): New macro.
86529         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86531         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86532         * sysdeps/x86_64/wcslen.S: New file.
86534 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86536         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86537         XMM-moves are used for copying on small sizes.
86539 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86541         * wcsmbs/Makefile (strop-tests): Add wcschr.
86542         * wcsmbs/test-wcschr.c: New file.
86543         * string/test-strchr.c: Update.
86544         Add wcschr support.
86545         (WIDE): New macro.
86547 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86549         * wcsmbs/Makefile (strop-tests): Add wcslen.
86550         * wcsmbs/test-wcslen.c: New file.
86551         * string/test-strlen.c: Update.
86552         Add wcslen support.
86553         (WIDE): New macro.
86555 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86557         * po/it.po: Update from translation team.
86559 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86561         * sysdeps/x86_64/wcscmp.S: Update.
86562         Fix wrong comparison semantics.
86563         wcscmp shall use signed comparison not unsigned.
86564         Don't use substraction to avoid overflow bug.
86565         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86566         * wcsmbc/wcscmp.c: Likewise.
86567         * string/test-strcmp.c: Likewise.
86568         Add new tests to check cases with negative values.
86570 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86572         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86573         * sysdeps/x86_64/dla.h: ...here.  New file.
86574         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86584 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86587         __ynl_finite aliases.
86589 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86593         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86594         define DLA_FMA.
86595         [DLA_FMA] (EMULV): Use DLA_FMA.
86596         [DLA_FMA] (MUL12): Use EMULV.
86597         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86598         that are not needed.
86599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86605         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86607 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86609         * math/s_nan.c: Undef __nan.
86610         * math/s_nanf.c: Undef __nanf.
86611         * math/s_nanl.c: Undef __nanl.
86612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86613         "math_private.h".
86615 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86617         * math/s_catan.c: Add branch predictions.
86618         * math/s_catanf.c: Likewise.
86619         * math/s_catanh.c: Likewise.
86620         * math/s_catanhf.c: Likewise.
86621         * math/s_catanhl.c: Likewise.
86622         * math/s_catanl.c: Likewise.
86623         * math/s_cexp.c: Likewise.
86624         * math/s_cexpf.c: Likewise.
86625         * math/s_cexpl.c: Likewise.
86626         * math/s_clog.c: Likewise.
86627         * math/s_clog10.c: Likewise.
86628         * math/s_clog10f.c: Likewise.
86629         * math/s_clog10l.c: Likewise.
86630         * math/s_clogf.c: Likewise.
86631         * math/s_clogl.c: Likewise.
86632         * math/s_csqrt.c: Likewise.
86633         * math/s_csqrtf.c: Likewise.
86634         * math/s_csqrtl.c: Likewise.
86635         * math/s_ctanf.c: Likewise.
86636         * math/s_ctanh.c: Likewise.
86637         * math/s_ctanhf.c: Likewise.
86638         * math/s_ctanhl.c: Likewise.
86639         * math/s_ctanl.c: Likewise.
86641         * math/math_private.h: Define __nan, __nanf, __nanl.
86642         * math/s_cacosh.c: Include <math_private.h>.
86643         * math/s_cacoshl.c: Likewise.
86644         * math/s_casinh.c: Likewise.
86645         * math/s_casinhf.c: Likewise.
86646         * math/s_casinhl.c: Likewise.
86647         * math/s_ccos.c: Rely entire on ccosh.
86648         * math/s_ccosf.c: Rely entire on ccoshf.
86649         * math/s_ccosl.c: Rely entirely on ccoshl.
86650         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86651         Remove tests for FE_INVALID.
86652         * math/s_ccoshf.c: Likewise.
86653         * math/s_ccoshl.c: Likewise.
86654         * math/s_csin.c: Likewise.
86655         * math/s_csinf.c: Likewise.
86656         * math/s_csinh.c Likewise.
86657         * math/s_csinhf.c: Likewise.
86658         * math/s_csinhl.c: Likewise.
86659         * math/s_csinl.c: Likewise.
86660         * math/s_ctan.c: Likewise.
86661         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86662         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86665 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86668         compilation problems.
86670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86671         __builtin_expect.
86673 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86675         * sysdeps/i386/configure.in: Test for -mfma4 option.
86676         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86677         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86678         COMMON_CPUID_INDEX_80000001.
86679         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86680         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86681         use it if FMA3 is not supported.
86682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86684         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86685         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86687 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86689         [BZ #12892]
86690         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86691         it would create a cycle with a link time dependency.
86693 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86695         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86696         instruction.
86697         * string/Makefile (strop-tests): Add rawmemchr.
86698         * string/test-rawmemchr.c: New file.
86700         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86701         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86702         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86703         when compiling str{,n}casecmp and when AVX is available.  Hook up
86704         new optimized code in initializers.
86706 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86708         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86709         __feraiseexcept instead of feraiseexcept.
86711 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86713         * math/math_private.h: Define defaults for libc_fetestexcept and
86714         libc_feupdateenv.
86715         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86716         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86717         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86718         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86719         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86720         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86721         libc_fetestexcept and libc_feupdateenv.
86723         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86724         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86725         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86726         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86727         libc_feholdexcept_setround.
86729         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86730         Add s_nearbyint-c and s_nearbyintf-c.
86731         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86732         nearbyintf inlines.
86733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86736         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86738         * math/math_private.h: Define defaults for libc_fegetround,
86739         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86740         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86741         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86742         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86743         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86744         standard functions.
86745         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86746         Remove comments and hacks for old compiler versions.
86747         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86748         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86749         libc_feholdexceptl.
86751 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86753         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86754         (__feraiseexcept_renamed): Add __NTH.
86755         (feraiseexcept): Add __NTH.  Rename local variables to fix
86756         namespace violations.
86758 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86762         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86764         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86765         recently added interfaces.
86766         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86768         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86769         about macro parameter expansion.
86771         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86772         __NO_MATH_INLINES is defined.  Cleanups.
86774         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86775         and __floorf is target has SSE4.1.
86776         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86777         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86778         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86779         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86781         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86782         name.
86783         (floorf): Likewise.
86785         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86787 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86789         * misc/sys/cdefs.h: Fix last change.
86791         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86792         database lookup.
86794 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86796         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86798         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86800         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86801         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86802         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86803         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86805         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86806         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86807         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86808         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86809         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86810         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86811         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86812         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86813         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86814         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86815         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86816         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86817         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86818         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86819         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86821         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86822         ceil, ceilf, floor, floorf.
86824         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86825         Perform IRELATIVE relocations last.
86827         * elf/do-rel.h: Add another parameter nrelative, replacing the
86828         local variable with the same name.  Change name of the function
86829         to end in Rel or Rela (uppercase).
86830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86831         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86832         elf_dynamic_do_##reloc function.
86834 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86836         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86837         is sufficient, at least on modern CPUs.
86839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86841         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86842         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86844         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86845         __expl_finite.
86846         * math/bits/math-finite.h: Add entries for exp.
86847         * math/e_expl.c: Add __*_finite alias.
86848         * sysdeps/i386/fpu/e_exp.S: Likewise.
86849         * sysdeps/i386/fpu/e_expf.S: Likewise.
86850         * sysdeps/i386/fpu/e_expl.c: Likewise.
86851         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86852         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86855         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86856         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86857         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86859         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86860         is sufficient, at least on modern CPUs.
86862         * ctype/ctype-info.c (__ctype_init): Define.
86863         * include/ctype.h (__ctype_init): Declare.
86864         (__ctype_b_loc): The variable is always initialized.
86865         (__ctype_toupper_loc): Likewise.
86866         (__ctype_tolower_loc): Likewise.
86867         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86868         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86870 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86872         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86874         * configure.in: Also look in $cxxmachine/include for C++ system
86875         headers.
86877 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86879         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86880         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86881         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86882         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86884         (USE_AS_WMEMCMP): New macro.
86885         Fixing indents.
86886         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86887         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86888         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86889         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86891         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86892         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86894         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86895         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86896         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86897         (USE_AS_WMEMCMP): New macro.
86898         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86899         * sysdeps/string/test-memcmp.c: Update.
86900         Fix simple_wmemcmp.
86901         Add new tests.
86902         * wcsmbs/wmemcmp.c: Update.
86903         (WMEMCMP): New macro.
86904         Fix overflow bug.
86906 2011-10-12  Andreas Jaeger  <aj@suse.de>
86908         [BZ #13268]
86909         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86911 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86913         * libio/iofwide.c (do_length): Avoid warning.
86915         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86917 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86919         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86921         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86922         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86923         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86924         * sysdeps/i386/i686/fpu/e_log.S: New file.
86925         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86926         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86928         * ctype/ctype.h: Add support for inlined isXXX functions when
86929         compiling C++ code.
86931 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86933         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86937 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86939         [BZ #13291]
86940         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86942 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86944         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86945         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86946         feraiseexcept.
86948         * sysdeps/x86_64/memrchr.S: Check for zero size.
86950         * string/stratcliff.c: Add memrchr tests.
86952 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86955         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86956         rawmemchr-sse2 rawmemchr-sse2-bsf.
86957         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86958         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86959         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86960         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86961         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86962         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86963         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86964         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86966         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86967         * string/memrchr.c (MEMRCHR): New macro.
86969 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86971         Add integration with gcc's -ffinite-math-only and optimize wrapper
86972         functions in libm.
86973         * Versions.def: Define GLIBC_2.15 version for libm.
86974         * math/Makefile (headers): Add bits/math-finite.h.
86975         * math/bits/math-finite.h: New file.
86976         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86977         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86978         * math/e_acoshl.c: Add __*_finite alias.
86979         * math/e_acosl.c: Likewise.
86980         * math/e_asinl.c: Likewise.
86981         * math/e_atan2l.c: Likewise.
86982         * math/e_atanhl.c: Likewise.
86983         * math/e_coshl.c: Likewise.
86984         * math/e_exp10.c: Likewise.
86985         * math/e_exp10f.c: Likewise.
86986         * math/e_exp10l.c: Likewise.
86987         * math/e_exp2l.c: Likewise.
86988         * math/e_fmodl.c: Likewise.
86989         * math/e_gammal_r.c: Likewise.
86990         * math/e_hypotl.c: Likewise.
86991         * math/e_j0l.c: Likewise.
86992         * math/e_j1l.c: Likewise.
86993         * math/e_jnl.c: Likewise.
86994         * math/e_lgammal_r.c: Likewise.
86995         * math/e_log10l.c: Likewise.
86996         * math/e_log2l.c: Likewise.
86997         * math/e_logl.c: Likewise.
86998         * math/e_powl.c: Likewise.
86999         * math/e_sinhl.c: Likewise.
87000         * math/e_sqrtl.c: Likewise.
87001         * math/e_scalb.c: Completely rewritten and optimized.
87002         * math/e_scalbf.c: Likewise.
87003         * math/e_scalbl.c: Likewise.
87004         * math/w_acos.c: Likewise.
87005         * math/w_acosf.c: Likewise.
87006         * math/w_acosl.c: Likewise.
87007         * math/w_acosh.c: Likewise.
87008         * math/w_acoshf.c: Likewise.
87009         * math/w_acoshl.c: Likewise.
87010         * math/w_asin.c: Likewise.
87011         * math/w_asinf.c: Likewise.
87012         * math/w_asinl.c: Likewise.
87013         * math/w_atan2.c: Likewise.
87014         * math/w_atan2f.c: Likewise.
87015         * math/w_atan2l.c: Likewise.
87016         * math/w_atanh.c: Likewise.
87017         * math/w_atanhf.c: Likewise.
87018         * math/w_atanhl.c: Likewise.
87019         * math/w_exp10.c: Likewise.
87020         * math/w_exp10f.c: Likewise.
87021         * math/w_exp10l.c: Likewise.
87022         * math/w_fmod.c: Likewise.
87023         * math/w_fmodf.c: Likewise.
87024         * math/w_fmodl.c: Likewise.
87025         * math/w_j0.c: Likewise.
87026         * math/w_j0f.c: Likewise.
87027         * math/w_j0l.c: Likewise.
87028         * math/w_j1.c: Likewise.
87029         * math/w_j1f.c: Likewise.
87030         * math/w_j1l.c: Likewise.
87031         * math/w_jn.c: Likewise.
87032         * math/w_jnf.c: Likewise.
87033         * math/w_log.c: Likewise.
87034         * math/w_logf.c: Likewise.
87035         * math/w_logl.c: Likewise.
87036         * math/w_log10.c: Likewise.
87037         * math/w_log10f.c: Likewise.
87038         * math/w_log10l.c: Likewise.
87039         * math/w_log2.c: Likewise.
87040         * math/w_log2f.c: Likewise.
87041         * math/w_log2l.c: Likewise.
87042         * math/w_pow.c: Likewise.
87043         * math/w_powf.c: Likewise.
87044         * math/w_powl.c: Likewise.
87045         * math/w_remainder.c: Likewise.
87046         * math/w_remainderf.c: Likewise.
87047         * math/w_remainderl.c: Likewise.
87048         * math/w_scalb.c: Likewise.
87049         * math/w_scalbf.c: Likewise.
87050         * math/w_scalbl.c: Likewise.
87051         * math/w_sqrt.c: Likewise.
87052         * math/w_sqrtf.c: Likewise.
87053         * math/w_sqrtl.c: Likewise.
87054         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87055         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87056         used.
87057         * math/math_private.h: Declare __kernel_standard_f.
87058         * math/w_cosh.c: Remove cruft and optimize a bit.
87059         * math/w_coshf.c: Likewise.
87060         * math/w_coshl.c: Likewise.
87061         * math/w_exp2.c: Likewise.
87062         * math/w_exp2f.c: Likewise.
87063         * math/w_exp2l.c: Likewise.
87064         * math/w_hypot.c: Likewise.
87065         * math/w_hypotf.c: Likewise.
87066         * math/w_hypotl.c: Likewise.
87067         * math/w_lgamma.c: Likewise.
87068         * math/w_lgamma_r.c: Likewise.
87069         * math/w_lgammaf.c: Likewise.
87070         * math/w_lgammaf_r.c: Likewise.
87071         * math/w_lgammal.c: Likewise.
87072         * math/w_lgammal_r.c: Likewise.
87073         * math/w_sinh.c: Likewise.
87074         * math/w_sinhf.c: Likewise.
87075         * math/w_sinhl.c: Likewise.
87076         * math/w_tgamma.c: Likewise.
87077         * math/w_tgammaf.c: Likewise.
87078         * math/w_tgammal.c: Likewise.
87079         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87080         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87081         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87082         Minor optimizations.  Pretty printing.  Remove cruft.
87083         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87085         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87086         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87087         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87088         * sysdeps/i386/fpu/e_asin.S: Likewise.
87089         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87090         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87091         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87092         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87093         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87094         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87095         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87096         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87097         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87098         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87099         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87100         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87101         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87102         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87103         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87104         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87105         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87106         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87107         * sysdeps/i386/fpu/e_log.S: Likewise.
87108         * sysdeps/i386/fpu/e_log10.S: Likewise.
87109         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87111         * sysdeps/i386/fpu/e_log2.S: Likewise.
87112         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87113         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87114         * sysdeps/i386/fpu/e_logf.S: Likewise.
87115         * sysdeps/i386/fpu/e_logl.S: Likewise.
87116         * sysdeps/i386/fpu/e_pow.S: Likewise.
87117         * sysdeps/i386/fpu/e_powf.S: Likewise.
87118         * sysdeps/i386/fpu/e_powl.S: Likewise.
87119         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87120         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87121         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87122         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87123         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87124         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87125         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87126         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87127         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87128         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87131         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87132         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87133         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87134         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87135         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87143         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87145         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87148         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87149         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87152         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87153         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87154         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87155         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87156         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87157         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87158         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87159         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87160         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87161         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87162         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87163         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87164         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87165         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87166         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87167         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87168         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87169         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87170         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87171         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87173         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87174         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87175         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87176         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87177         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87178         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87179         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87183         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87184         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87185         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87186         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87187         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87188         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87192         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87196         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87197         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87198         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87201         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87202         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87205         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87206         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87207         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87208         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87209         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87210         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87211         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87212         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87213         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87214         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87215         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87216         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87217         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87218         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87219         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87221         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87222         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87223         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87224         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87225         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87226         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87227         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87228         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87229         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87230         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87231         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87232         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87234         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87235         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87236         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87237         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87238         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87239         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87240         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87241         (__isnanf): Likewise.
87242         (__isinf_ns): Likewise.
87243         (__isinf_nsf): Likewise.
87244         (__finite): Likewise.
87245         (__finitef): Likewise.
87246         (__ieee754_sqrt): Define as macro.
87247         (__ieee754_sqrtf): Define as macro.
87248         (__ieee754_sqrtl): Define as macro.
87249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87250         inlined copy.
87251         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87252         __FINITE_MATH_ONLY__ consistent.
87253         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87255 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87257         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87258         of rawmemchr.
87260         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87262 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87264         * po/ja.po: Update from translation team.
87266 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87268         * locale/programs/locarchive.c (prepare_address_space): New function.
87269         (create_archive, enlarge_archive, open_archive): Use it.
87271         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87272         inside [SHARED], where it is used.
87274         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87276         * nss/getent.c (netgroup_keys): Remove unused variable.
87277         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87279 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87281         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87282         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87285         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87286         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87287         * math/Makefile (libm-calls): Add s_isinf_ns.
87288         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87289         * math/multc3.c: Likewise.
87290         * math/s_casin.c: Likewise.
87291         * math/s_casinf.c: Likewise.
87292         * math/s_casinl.c: Likewise.
87293         * math/s_ccos.c: Likewise.
87294         * math/s_ccosf.c: Likewise.
87295         * math/s_ccosl.c: Likewise.
87296         * math/s_ctan.c: Likewise.
87297         * math/s_ctanf.c: Likewise.
87298         * math/s_ctanh.c: Likewise.
87299         * math/s_ctanhf.c: Likewise.
87300         * math/s_ctanhl.c: Likewise.
87301         * math/s_ctanl.c: Likewise.
87302         * math/w_fmod.c: Likewise.
87303         * math/w_fmodf.c: Likewise.
87304         * math/w_fmodl.c: Likewise.
87305         * math/w_remainder.c: Likewise.
87306         * math/w_remainderf.c: Likewise.
87307         * math/w_remainderl.c: Likewise.
87308         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87309         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87310         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87312         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87313         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87314         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87315         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87317         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87318         of the number.
87319         * stdio-common/printf_fphex.c: Likewise.
87320         * stdio-common/printf_size.c: Likewise.
87322         * math/e_exp10.c: Include math_private.h using <...> not "...".
87323         * math/e_exp10f.c: Likewise.
87324         * math/e_exp10l.c: Likewise.
87325         * math/e_exp2l.c: Likewise.
87326         * math/e_j0l.c: Likewise.
87327         * math/e_j1l.c: Likewise.
87328         * math/e_jnl.c: Likewise.
87329         * math/e_lgammal_r.c: Likewise.
87330         * math/e_rem_pio2l.c: Likewise.
87331         * math/e_scalb.c: Likewise.
87332         * math/e_scalbf.c: Likewise.
87333         * math/e_scalbl.c: Likewise.
87334         * math/k_cosl.c: Likewise.
87335         * math/k_sinl.c: Likewise.
87336         * math/k_tanl.c: Likewise.
87337         * math/s_cacoshf.c: Likewise.
87338         * math/s_catan.c: Likewise.
87339         * math/s_catanf.c: Likewise.
87340         * math/s_catanh.c: Likewise.
87341         * math/s_catanhf.c: Likewise.
87342         * math/s_catanhl.c: Likewise.
87343         * math/s_catanl.c: Likewise.
87344         * math/s_ccosh.c: Likewise.
87345         * math/s_ccoshf.c: Likewise.
87346         * math/s_ccoshl.c: Likewise.
87347         * math/s_cexp.c: Likewise.
87348         * math/s_cexpf.c: Likewise.
87349         * math/s_cexpl.c: Likewise.
87350         * math/s_clog.c: Likewise.
87351         * math/s_clog10.c: Likewise.
87352         * math/s_clog10f.c: Likewise.
87353         * math/s_clog10l.c: Likewise.
87354         * math/s_clogf.c: Likewise.
87355         * math/s_clogl.c: Likewise.
87356         * math/s_csin.c: Likewise.
87357         * math/s_csinf.c: Likewise.
87358         * math/s_csinh.c: Likewise.
87359         * math/s_csinhf.c: Likewise.
87360         * math/s_csinhl.c: Likewise.
87361         * math/s_csinl.c: Likewise.
87362         * math/s_csqrt.c: Likewise.
87363         * math/s_csqrtf.c: Likewise.
87364         * math/s_csqrtl.c: Likewise.
87365         * math/s_ctan.c: Likewise.
87366         * math/s_ctanf.c: Likewise.
87367         * math/s_ctanh.c: Likewise.
87368         * math/s_ctanhf.c: Likewise.
87369         * math/s_ctanhl.c: Likewise.
87370         * math/s_ctanl.c: Likewise.
87371         * math/s_ldexp.c: Likewise.
87372         * math/s_ldexpf.c: Likewise.
87373         * math/s_ldexpl.c: Likewise.
87374         * math/s_significand.c: Likewise.
87375         * math/s_significandf.c: Likewise.
87376         * math/s_significandl.c: Likewise.
87377         * math/w_acos.c: Likewise.
87378         * math/w_acosf.c: Likewise.
87379         * math/w_acosh.c: Likewise.
87380         * math/w_acoshf.c: Likewise.
87381         * math/w_acoshl.c: Likewise.
87382         * math/w_acosl.c: Likewise.
87383         * math/w_asin.c: Likewise.
87384         * math/w_asinf.c: Likewise.
87385         * math/w_asinl.c: Likewise.
87386         * math/w_atan2.c: Likewise.
87387         * math/w_atan2f.c: Likewise.
87388         * math/w_atan2l.c: Likewise.
87389         * math/w_atanh.c: Likewise.
87390         * math/w_atanhf.c: Likewise.
87391         * math/w_atanhl.c: Likewise.
87392         * math/w_cosh.c: Likewise.
87393         * math/w_coshf.c: Likewise.
87394         * math/w_coshl.c: Likewise.
87395         * math/w_dremf.c: Likewise.
87396         * math/w_exp10.c: Likewise.
87397         * math/w_exp10f.c: Likewise.
87398         * math/w_exp10l.c: Likewise.
87399         * math/w_exp2.c: Likewise.
87400         * math/w_exp2f.c: Likewise.
87401         * math/w_fmod.c: Likewise.
87402         * math/w_fmodf.c: Likewise.
87403         * math/w_fmodl.c: Likewise.
87404         * math/w_hypot.c: Likewise.
87405         * math/w_hypotf.c: Likewise.
87406         * math/w_hypotl.c: Likewise.
87407         * math/w_j0.c: Likewise.
87408         * math/w_j0f.c: Likewise.
87409         * math/w_j0l.c: Likewise.
87410         * math/w_j1.c: Likewise.
87411         * math/w_j1f.c: Likewise.
87412         * math/w_j1l.c: Likewise.
87413         * math/w_jn.c: Likewise.
87414         * math/w_jnf.c: Likewise.
87415         * math/w_jnl.c: Likewise.
87416         * math/w_lgamma.c: Likewise.
87417         * math/w_lgamma_r.c: Likewise.
87418         * math/w_lgammaf.c: Likewise.
87419         * math/w_lgammaf_r.c: Likewise.
87420         * math/w_lgammal.c: Likewise.
87421         * math/w_lgammal_r.c: Likewise.
87422         * math/w_log.c: Likewise.
87423         * math/w_log10.c: Likewise.
87424         * math/w_log10f.c: Likewise.
87425         * math/w_log10l.c: Likewise.
87426         * math/w_log2.c: Likewise.
87427         * math/w_log2f.c: Likewise.
87428         * math/w_log2l.c: Likewise.
87429         * math/w_logf.c: Likewise.
87430         * math/w_logl.c: Likewise.
87431         * math/w_pow.c: Likewise.
87432         * math/w_powf.c: Likewise.
87433         * math/w_powl.c: Likewise.
87434         * math/w_remainder.c: Likewise.
87435         * math/w_remainderf.c: Likewise.
87436         * math/w_remainderl.c: Likewise.
87437         * math/w_scalb.c: Likewise.
87438         * math/w_scalbf.c: Likewise.
87439         * math/w_scalbl.c: Likewise.
87440         * math/w_sinh.c: Likewise.
87441         * math/w_sinhf.c: Likewise.
87442         * math/w_sinhl.c: Likewise.
87443         * math/w_sqrt.c: Likewise.
87444         * math/w_sqrtf.c: Likewise.
87445         * math/w_sqrtl.c: Likewise.
87446         * math/w_tgamma.c: Likewise.
87447         * math/w_tgammaf.c: Likewise.
87448         * math/w_tgammal.c: Likewise.
87450         * po/ja.po: Update from translation team.
87452 2011-09-29  Andreas Jaeger  <aj@suse.de>
87454         [BZ #13179]
87455         * sunrpc/netname.c (netname2host): Fix logic.
87457         [BZ #6779]
87458         [BZ #6783]
87459         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87460         correctly.
87461         * math/w_remainder.c (__remainder): Likewise.
87462         * math/w_remainderf.c (__remainderf): Likewise.
87463         * math/libm-test.inc (remainder_test): Add test cases.
87465 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87467         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87468         sdiv_qrnnd.
87470 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87472         * string/test-memcmp.c: Avoid unncessary #defines.
87473         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87475 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87477         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87478         Use new sse2 version for core i3 - i7 as it's faster
87479         than sse42 version.
87480         (bit_Prefer_PMINUB_for_stringop): New.
87481         * sysdeps/x86_64/rawmemchr.S: Update.
87482         Replace with faster SSE2 version.
87483         * sysdeps/x86_64/memrchr.S: New file.
87484         * sysdeps/x86_64/memchr.S: Update.
87485         Replace with faster SSE2 version.
87487 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
87489         * elf/dl-load.c (lose): Add cast to avoid warning.
87491 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87493         * po/ca.po: Update from translation team.
87495         * inet/getnetgrent_r.c: Hook up nscd.
87496         * nscd/Makefile (routines): Add nscd_netgroup.
87497         (nscd-modules): Add netgroupcache.
87498         (CFLAGS-netgroupcache.c): Define.
87499         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87500         (cache_search): Add const to second parameter.
87501         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87502         INNETGR.
87503         (dbs): Add netgrdb entry.
87504         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87505         (verify_persistent_db): Handle netgrdb.
87506         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87507         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87508         GETFDNETGR.
87509         (netgroup_response_header): Define.
87510         (innetgroup_response_header): Define.
87511         (datahead): Add netgroup_response_header and innetgroup_response_header
87512         elements.
87513         * nscd/nscd.conf: Add entries for netgroup cache.
87514         * nscd/nscd.h (dbtype): Add netgrdb.
87515         (_PATH_NSCD_NETGROUP_DB): Define.
87516         (netgroup_iov_disabled): Declare.
87517         (xmalloc, xcalloc, xrealloc): Move declarations here.
87518         (cache_search): Adjust prototype.
87519         Add netgroup-related prototypes.
87520         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87521         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87522         (__nscd_innetgr): Declare.
87523         * nscd/selinux.c (perms): Use access_vector_t as element type and
87524         add netgroup-related initializers.
87525         * nscd/netgroupcache.c: New file.
87526         * nscd/nscd_netgroup.c: New file.
87527         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87528         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87529         For four parameters use innetgr.
87530         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87531         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87532         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87533         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87535         * nscd/connections.c (register_traced_file): Don't register file
87536         for disabled databases.
87538 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87540         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87542         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87543         from tree and freeing node.
87545 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87547         * nss/nsswitch.c (__nss_database_lookup): Handle
87548         nss_parse_service_list out of memory case.
87550 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87552         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87553         out of memory case.
87555 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87557         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87558         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87559         pass it down.
87560         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87561         elf_machine_rela, elf_machine_lazy_rel.
87562         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87563         (ELF_DYNAMIC_DO_REL): Likewise.
87564         (ELF_DYNAMIC_DO_RELA): Likewise.
87565         (ELF_DYNAMIC_RELOCATE): Likewise.
87566         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87567         to ELF_DYNAMIC_DO_REL.
87568         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87569         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87570         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87571         elf_machine_rela.
87572         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87573         skip_ifunc, don't call ifunc function if non-zero.
87574         (elf_machine_rela): Likewise.
87575         (elf_machine_lazy_rel): Likewise.
87576         (elf_machine_lazy_rela): Likewise.
87577         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87578         (elf_machine_lazy_rel): Likewise.
87579         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87580         Likewise.
87581         (elf_machine_lazy_rel): Likewise.
87582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87583         Likewise.
87584         (elf_machine_lazy_rel): Likewise.
87585         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87586         (elf_machine_lazy_rel): Likewise.
87587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87588         (elf_machine_lazy_rel): Likewise.
87589         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87590         (elf_machine_lazy_rel): Likewise.
87591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87592         (elf_machine_lazy_rel): Likewise.
87593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87594         (elf_machine_lazy_rel): Likewise.
87595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87596         (elf_machine_lazy_rel): Likewise.
87598 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87600         * nss/nss_files/files-init.c (_nss_files_init): Use static
87601         initialization for all the *_traced_file variables.
87603 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87607 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87609         [BZ #13226]
87610         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87612 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87615         Reread the line before reparsing it.
87617 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87619         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87621 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87622             Maxim Kuvyrkov  <maxim@codesourcery.com>
87623             Joseph Myers  <joseph@codesourcery.com>
87625         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87626         if needed for __stack_chk_guard.
87628 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87630         * sysdeps/posix/spawni.c (script_execute): Always define it.
87631         It will be optimized away if unused.
87632         (maybe_script_execute): New function.
87633         (__spawni): Call it.
87635         * Makerules: Don't include tls.make.
87636         (config-tls): Always set to thread.
87637         * tls.make.c: File removed.
87639 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87641         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87642         * config.make.in (CPPFLAGS-config): New substituted variable.
87644 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87648         [BZ #13192]
87649         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87650         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87652 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87654         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87655         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87656         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87657         (CALL_FAIL): Likewise.
87658         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87659         (CALL_FAIL): Macro removed.
87660         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87662 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87664         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87665         for __FINITE_MATH_ONLY__ == 1.
87667 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87669         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87670         __ieee754_sqrt instead of sqrt.
87671         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87672         __ieee754_sqrtf instead of sqrtf.
87673         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87674         __floorf instead of floorf.
87675         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87676         __floorf, __truncf instead of floorf, truncf.
87678 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87680         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87682         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87683         __extern_always_inline.
87684         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87685         32-bit.
87687 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87689         * elf/rtld.c (dl_main): Also relocate in dependency order when
87690         doing symbol dependency testing.
87692 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87695         Always define `refsym'.
87697 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87699         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87700         (__FD_ELT): Renamed from __FDELT.
87701         * misc/bits/select2.h (__FD_ELT): Likewise.
87702         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87703         __FD_MASK instead of __FDELT, __FDMASK.
87704         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87705         Likewise.
87706         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87707         Likewise.
87709         * elf/Makefile (gen-ldd): Fix pattern.
87711         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87712         (init_tls): Likewise.
87714 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87716         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87718 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87720         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87721         `struct cmsghdr *' instead of `void *'.
87722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87723         Likewise.
87725 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87727         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87728         if non-absolute.
87729         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87730         ldd_rewrite_script.
87732 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87734         * configure.in: Remove --with-tls option.
87735         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87736         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87737         out in case it is missing.
87738         * sysdeps/ia64/elf/configure.in: Likewise.
87739         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87740         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87741         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87742         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87743         * sysdeps/sh/elf/configure.in: Likewise.
87744         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87745         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87746         * sysdeps/x86_64/elf/configure.in: Likewise.
87747         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87748         * sysdeps/mach/hurd/tls.h: Likewise.
87750         [BZ #13067]
87751         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87753         [BZ #13090]
87754         * configure.in: Fix use of AC_INIT.
87756         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87758 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87760         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87761         __set_errno.
87762         * malloc/hooks.c: Likewise.
87764         [BZ #11929]
87765         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87766         variables statically.
87767         (narenas): Initialize.
87768         (list_lock): Initialize.
87769         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87770         initializtion of main_arena and list_lock.  Small cleanups.
87771         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87772         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87773         Add initializers to main_arena and mp_.
87774         (malloc_state): Remove pagesize member.  Change all users to use
87775         GLRO(dl_pagesize).
87777         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87778         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87779         is always initialized.
87781         * malloc/malloc.c: Removed unused configurations and dead code.
87782         * malloc/arena.c: Likewise.
87783         * malloc/hooks.c: Likewise.
87784         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87786         * include/tls.h: Removed.  USE___THREAD must always be defined.
87787         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87788         * elf/dl-libc.c: Likewise.
87789         * elf/dl-tsd.c: Likewise.
87790         * include/errno.h: Likewise.
87791         * include/netdb.h: Likewise.
87792         * include/resolv.h: Likewise.
87793         * inet/herrno-loc.c: Likewise.
87794         * inet/herrno.c: Likewise.
87795         * malloc/arena.c: Likewise.
87796         * malloc/hooks.c: Likewise.
87797         * malloc/malloc.c: Likewise.
87798         * resolv/res-state.c: Likewise.
87799         * resolv/res_libc.c: Likewise.
87800         * sysdeps/i386/dl-machine.h: Likewise.
87801         * sysdeps/ia64/dl-machine.h: Likewise.
87802         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87803         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87804         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87805         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87806         * sysdeps/sh/dl-machine.h: Likewise.
87807         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87808         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87809         * sysdeps/unix/i386/sysdep.S: Likewise.
87810         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87811         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87816         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87820         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87821         * sysdeps/x86_64/dl-machine.h: Likewise.
87822         * tls.make.c: Likewise.
87824         * configure.in: Remove --with-__thread option.  Make tests for
87825         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87826         tls_model attribute fail if no support is available.  Remove
87827         USE_IN_LIBIO.
87828         * Makeconfig: Adjust for dropped configure option.  All features are
87829         now mandatory.
87830         * Makerules: Likewise.
87831         * Versions.def: Likewise.
87832         * argp/argp-fmtstream.c: Likewise.
87833         * argp/argp-fmtstream.h: Likewise.
87834         * argp/argp-help.c: Likewise.
87835         * assert/assert.c: Likewise.
87836         * config.h.in: Likewise.
87837         * config.make.in: Likewise.
87838         * configure: Likewise.
87839         * configure.in: Likewise.
87840         * csu/Versions: Likewise.
87841         * csu/init.c: Likewise.
87842         * elf/tst-audit2.c: Likewise.
87843         * elf/tst-tls10.c: Likewise.
87844         * elf/tst-tls10.h: Likewise.
87845         * elf/tst-tls11.c: Likewise.
87846         * elf/tst-tls12.c: Likewise.
87847         * elf/tst-tls14.c: Likewise.
87848         * elf/tst-tlsmod11.c: Likewise.
87849         * elf/tst-tlsmod12.c: Likewise.
87850         * elf/tst-tlsmod13.c: Likewise.
87851         * elf/tst-tlsmod13a.c: Likewise.
87852         * elf/tst-tlsmod14a.c: Likewise.
87853         * elf/tst-tlsmod15b.c: Likewise.
87854         * elf/tst-tlsmod16a.c: Likewise.
87855         * elf/tst-tlsmod16b.c: Likewise.
87856         * elf/tst-tlsmod7.c: Likewise.
87857         * elf/tst-tlsmod8.c: Likewise.
87858         * elf/tst-tlsmod9.c: Likewise.
87859         * gmon/gmon.c: Likewise.
87860         * grp/fgetgrent_r.c: Likewise.
87861         * grp/putgrent.c: Likewise.
87862         * hurd/fopenport.c: Likewise.
87863         * include/libc-symbols.h: Likewise.
87864         * include/tls.h: Likewise.
87865         * intl/gettextP.h: Likewise.
87866         * intl/loadinfo.h: Likewise.
87867         * locale/global-locale.c: Likewise.
87868         * locale/localeinfo.h: Likewise.
87869         * mach/devstream.c: Likewise.
87870         * malloc/arena.c: Likewise.
87871         * malloc/set-freeres.c: Likewise.
87872         * misc/err.c: Likewise.
87873         * misc/getttyent.c: Likewise.
87874         * misc/mntent_r.c: Likewise.
87875         * posix/getopt.c: Likewise.
87876         * posix/wordexp.c: Likewise.
87877         * pwd/fgetpwent_r.c: Likewise.
87878         * resolv/Versions: Likewise.
87879         * resolv/res_hconf.c: Likewise.
87880         * shadow/fgetspent_r.c: Likewise.
87881         * shadow/putspent.c: Likewise.
87882         * stdio-common/printf_fphex.c: Likewise.
87883         * stdio-common/tmpfile.c: Likewise.
87884         * stdlib/abort.c: Likewise.
87885         * stdlib/fmtmsg.c: Likewise.
87886         * sunrpc/auth_unix.c: Likewise.
87887         * sunrpc/clnt_perr.c: Likewise.
87888         * sunrpc/clnt_tcp.c: Likewise.
87889         * sunrpc/clnt_udp.c: Likewise.
87890         * sunrpc/clnt_unix.c: Likewise.
87891         * sunrpc/openchild.c: Likewise.
87892         * sunrpc/svc_simple.c: Likewise.
87893         * sunrpc/svc_tcp.c: Likewise.
87894         * sunrpc/svc_udp.c: Likewise.
87895         * sunrpc/svc_unix.c: Likewise.
87896         * sunrpc/xdr.c: Likewise.
87897         * sunrpc/xdr_array.c: Likewise.
87898         * sunrpc/xdr_rec.c: Likewise.
87899         * sunrpc/xdr_ref.c: Likewise.
87900         * sunrpc/xdr_stdio.c: Likewise.
87902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87904         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87906 2011-07-03  Andreas Jaeger  <aj@suse.de>
87908         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87909         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87910         regenerate with gen-libm-tests.pl.
87912 2010-05-12  Petr Baudis  <pasky@suse.cz>
87914         [BZ #11589]
87915         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87916         around j0() zero points by switching to j1().
87917         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87920         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87924         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87925         instead of 0.
87926         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87927         instead of 0.
87928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87929         Patch in part by Pavel Roskin <proski@gnu.org>.
87931         [BZ #13138]
87932         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87933         realloc.
87934         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87935         Free memory block if necessary.
87937         [BZ #12847]
87938         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87939         be NULL.  Don't lock in this case.
87941 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87943         * elf/elf.h (ELFOSABI_GNU): New macro.
87944         (ELFOSABI_LINUX): Define to that.
87946 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87948         * string/strncat.c (strncat): Undef the symbol in case it has been
87949         defined in bits/string.h.
87951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87953         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87955         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87956         link map.
87958 2011-08-17  Andreas Jaeger  <aj@suse.de>
87960         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87962 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87963             Ian Lance Taylor  <iant@google.com>
87965         * math/libm-test.inc (lround_test): New testcase.
87966         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87968 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87970         * Makefile: Remove support for automatic cvs check-ins.
87971         * Makerules: Likewise.
87972         * config.make.in: Likewise.
87973         * configure.in: Likewise.
87974         * intl/Makefile: Likewise.
87975         * locale/Makefile: Likewise.
87976         * po/Makefile: Likewise.
87977         * posix/Makefile: Likewise.
87978         * sysdeps/gnu/Makefile: Likewise.
87979         * sysdeps/mach/hurd/Makefile: Likewise.
87980         * sysdeps/sparc/sparc32/Makefile: Likewise.
87982         [BZ #13118]
87983         * posix/Makefile (bug-regex32-ENV): Define.
87984         Patch by John Stanley <jpsinthemix@verizon.net>.
87986         * misc/Makefile (headers): Add bits/select2.h.
87987         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87988         * misc/bits/select2.h: New file.
87989         * include/bits/select2.h: New file.
87990         * debug/Makefile (routines): Add fdelt_chk.
87991         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87992         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87993         FD_ISSET.
87994         * debug/fdelt_chk.c: New file.
87996         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87997         * wcsmbs/test-wmemcmp.c: Likewise.
87998         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87999         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88001 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88003         * string/Makefile (strop-tests): Add memcmp.
88004         * string/test-wmemcmp.c: New file.
88005         * string/test-memcmp.c: Add wmemcmp support.
88007 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88009         [BZ #13153]
88010         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88011         2011-07-19 change.
88013         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88014         garbage value in a __mach_port_mod_refs call in the cases of the
88015         task-self and thread-self ports.
88017 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88019         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88021 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88023         * elf/dl-load.c (lose): Check for non-null L.
88025 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88027         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88029         * elf/dl-libc.c (dlerror_run): Pass back error code from
88030         dl_catch_error.
88032         [BZ #13123]
88033         * elf/dl-load.c (lose): Free l_origin if it is valid.
88035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88036         names.
88037         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88040         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88041         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88042         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88044 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88046         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88047         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88048         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88049         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88050         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88051         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88052         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88053         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88054         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88055         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88057 2011-08-15  Alan Modra  <amodra@gmail.com>
88059         [BZ #13092]
88060         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88061         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88062         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88063         ppc_mcount to static-only-routines.
88064         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88065         __mcount_internal.
88066         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88067         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88069 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88072         for finite and infinity parameters.
88074 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88076         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88077         and add nop instructions for throughput optimization.
88078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88080 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88082         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88083         aligned copy for power7 with vector-scalar instructions.
88084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88086 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88089         AVX check.
88091 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88093         [BZ #13144]
88094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88095         last change.
88097 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88100         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88101         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88102         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88103         clock_gettime.
88105 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88108         Forgot to demangle the pointer.
88110         * sysdeps/i386/sysdep.h: Define atom_text_section.
88111         * sysdeps/x86_64/sysdep.h: Likewise.
88112         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88113         section with atom_text_section.
88114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88115         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88116         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88118         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88120         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88122         already be defined.  Change to take two parameters and don't assign
88123         result to variable.  Adjust all users.
88124         Define INTERNAL_GETTIME if not already defined.
88125         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88126         call.
88127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88128         HAVE_CLOCK_GETTIME_VSYSCALL.
88129         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88132         gettimeofday vsyscall, just use time.
88134 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88137         <errno.h>.
88139 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88141         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88142         syscall on x86-64.
88143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88144         syscall.
88145         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88147         syscall if possible.
88149 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88151         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88152         e_ident.  Don't pass to find_mapsXX.
88153         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88155 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88158         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88159         * sysdeps/x86_64/multiarch/strchr.S: Update.
88160         Check bit_slow_BSF bit.
88161         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88163         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88165 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88167         [BZ #13134]
88168         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88169         before glibc 2.15.
88170         (tryshell): Define.
88171         (__spawni): Change last parameter to be flag.  Test
88172         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88173         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88174         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88175         * posix/spawni.c: Likewise.
88176         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88177         * posix/spawnp.c: Likewise.  Change normal version to use
88178         SPAWN_XFLAGS_USE_PATH.
88179         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88180         SPAWN_XFLAGS_TRY_SHELL.
88182         [BZ #13150]
88183         * posix/glob.h: Remove gcc 1.x support.
88185         [BZ #13068]
88186         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88188 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88190         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88191         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88192         strrchr-sse2-bsf
88193         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88194         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88195         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88196         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88197         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88198         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88200 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88202         * sysdeps/x86_64/wcscmp.S: New file.
88204         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88205         wcscmp-c wcscmp-sse2
88206         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88207         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88208         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88209         * wcsmbs/wcscmp.c: Allow renaming.
88211 2011-09-05  David S. Miller  <davem@davemloft.net>
88213         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88214         stack slot, rather than the struct return pointer slot.
88215         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88216         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88218         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88220 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88222         * po/ja.po: Update from translation team.
88224         [BZ #13144]
88225         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88226         kernel in 64-bit binaries.
88228 2011-09-01  David S. Miller  <davem@davemloft.net>
88230         * elf/elf.h (HWCAP_SPARC_*): Move to..
88231         * sysdeps/sparc/sysdep.h: this new file and add new values.
88232         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88233         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88234         _DL_HWCAP_COUNT to 24.
88235         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88236         entries.
88237         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88238         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88239         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88241         instead of magic constants.
88242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88244 2011-08-31  David S. Miller  <davem@davemloft.net>
88246         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88248         Reimplement to do errno handling inline.
88249         (SYSCALL_ERROR_HANDLER): New macro.
88250         (__SYSCALL_STRING): Do not do errno handling in asm.
88251         (__CLONE_SYSCALL_STRING): Delete.
88252         (__INTERNAL_SYSCALL_STRING): Delete.
88253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88254         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88255         (PSEUDO): Reimplement to do errno handling inline.
88256         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88257         (SYSCALL_ERROR_HANDLER): New macro.
88258         (__SYSCALL_STRING): Do not do errno handling in asm.
88259         (__CLONE_SYSCALL_STRING): Delete.
88260         (__INTERNAL_SYSCALL_STRING): Delete.
88261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88262         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88263         i386.
88264         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88265         (inline_syscall*): Add 'err' argument.
88266         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88267         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88268         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88269         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88271         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88272         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88274 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88276         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88278 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88280         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88281         directive.
88283 2011-08-24  David S. Miller  <davem@davemloft.net>
88285         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88287 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88289         * elf/Makefile: Add rules to build and run unload8 test.
88290         * elf/unload8.c: New file.
88291         * elf/unload8mod1.c: New file.
88292         * elf/unload8mod1x.c: New file.
88293         * elf/unload8mod2.c: New file.
88294         * elf/unload8mod3.c: New file.
88296         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88297         it wasn't used.
88299 2011-08-23  David S. Miller  <davem@davemloft.net>
88301         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88302         subtract stack bias.
88303         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88304         %sp not %fp in calculations.
88305         (_JMPBUF_UNWINDS_ADJ): Likewise.
88307         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88308         (aio_suspend): Call it to force an exception region around the
88309         AIO_MISC_WAIT() invocation.
88311 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88313         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88314         backslash.
88316 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88318         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88319         protection macro.
88320         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88321         and <dl-machine.h>.
88322         (Elf64_FuncDesc): Remove.
88324 2011-08-22  David S. Miller  <davem@davemloft.net>
88326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88327         sigaltstack check, add missing cfi directives.
88328         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88329         missing cfi directives, and sigaltstack handling.
88331 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88333         [BZ #11724]
88334         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88335         object is seen twice.
88336         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88338         * elf/Makefile (distribute): Add tst-initorder2.c.
88339         (tests): Add tst-initorder2.
88340         (modules-names): Add tst-initorder2a tst-initorder2b
88341         tst-initorder2c tst-initorder2d.  Add rules to build them.
88342         ($(objpfx)tst-initorder2.out): New rule.
88343         * elf/tst-initorder2.c: New file.
88344         * elf/tst-initorder2.exp: New file.
88346 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88348         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88350         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88351         dependencies back to end of function.
88353         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88354         $(elfobjdir)/ld.so.
88356 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88359         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88361         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88362         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88363         of __vdso_gettimeofday.
88364         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88365         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88366         attribute_hidden.
88367         (_libc_vdso_platform_setup): Remove initialization of
88368         __vdso_gettimeofday and __vdso_time.
88370 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88372         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88373         and fgetc_unlocked.
88374         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88375         getc_unlocked.
88377         * elf/dl-open.c (add_to_global): Report additions to the global scope
88378         for LD_DEBUG=scopes.
88379         (dl_open_worker): Also print scope of newly loaded dependencies.
88380         (_dl_show_scope): Indicate if there is no scope.
88382         [BZ #13114]
88383         * stdio-common/Makefile (tests): Add bug24.
88384         * stdio-common/bug24.c: New file.
88386 2011-08-19  Andreas Jaeger  <aj@suse.de>
88388         [BZ #13114]
88389         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88390         non-existant file when using close-on-exec mode.
88392 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88395         the very first instruction.
88397         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88398         the CFI state in the end.
88399         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88400         inclusion of dl-trampoline.h.
88401         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88403 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88405         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88406         expectations for long double.
88408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88409         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88411 2011-08-14  David S. Miller  <davem@davemloft.net>
88413         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88414         artificual limit depends upon the system page size.
88416 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88418         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88419         * resolv/Makefile: Define CFLAGS-libresolv.
88421 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88423         * nss/makedb.c (compute_tables): Make variables used in nested
88424         function static.
88426 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88428         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88429         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88430         if buffer was too small.
88432         * elf/pldd.c (main): Attach to all threads in the process.
88433         Rewrite /proc handling to use *at functions.
88435 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88437         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88438         specifies first scope to show.
88439         (dl_open_worker): Update callers.  Move printing scope of new
88440         object to before the relocation.
88441         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88442         * sysdeps/generic/ldsodefs.h: Update declaration.
88444         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88445         string for the scope number.
88447 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88449         * nscd/servicescache.c (cache_addserv): Make sure written is always
88450         initialized.
88452 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88454         * sysdeps/i386/i486/bits/atomic.h
88455         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88456         statement expression, so as to suppress "set but not used" warning.
88457         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88459         * string/strncat.c (STRNCAT): Use prototype definition.
88461         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88462         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88463         -Iprograms here.
88464         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88465         (localedef-modules): Add localedef.
88466         (locale-modules): Add locale.
88468         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88469         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88470         to avoid a warning.
88472 2011-08-14  David S. Miller  <davem@davemloft.net>
88474         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88475         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88477 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
88479         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88480         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88481         * elf/rtld.c (dl_main): Set l_name of vDSO.
88482         Call _dl_show_scope when DL_DEBUG_SCOPES.
88483         (process_dl_debug): Recognize scopes flag and also set it for all.
88484         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88485         Declare _dl_show_scope.
88487         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88488         (do_dlopen): Pass caller_dlopen to dl_open.
88489         (__libc_dlopen_mode): Initialize caller_dlopen.
88491         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88492         of libc.  Make tolower call locale-independent.  Optimize a bit by
88493         using isdigit instead of isalnum.
88494         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88496 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
88498         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88499         was a dependency or dynamically loaded.
88501 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
88503         * intl/l10nflist.c: Allow architecture-specific pop function.
88504         * sysdeps/x86_64/l10nflist.c: New file.
88506         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88507         classification.
88509 2011-08-10  Andreas Schwab  <schwab@redhat.com>
88511         * include/dirent.h: Add libc_hidden_proto for scandirat and
88512         scandirat64.  Don't declare __scandirat64.
88513         * dirent/scandirat.c: Add libc_hidden_def.
88514         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88515         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88517 2011-08-10  David S. Miller  <davem@davemloft.net>
88519         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88520         enum.
88521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88525 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88527         * Versions.def [libc]: Add GLIBC_2.15.
88528         * dirent/Makefile (routines): Add scandirat and scandirat64.
88529         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88530         GLIBC_2.15.
88531         * dirent/dirent.h: Declare scandirat and scandirat64.
88532         * dirent/scandirat.c: New file.
88533         * dirent/scandirat64.c: New file.
88534         * sysdeps/wordsize-64/scandirat.c: New file.
88535         * sysdeps/wordsize-64/scandirat64.c: New file.
88536         * dirent/opendir.c: Define opendirat.
88537         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88538         using scandirat.
88539         * dirent/scandir64.c: Adjust for scandir.c change.
88540         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88541         __scandirat64, and __scandir_cancel_handler.
88542         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88543         additional parameter and use openat instead of open (outside of ld.so).
88544         Add new __opendir as wrapper around __opendirat.
88545         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88546         here without requiring old scandirat implementation.
88548 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88550         * dirent/scandir.c (cancel_handler): Renamed to
88551         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88552         defined.  Adjust users.
88553         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88554         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88556 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88558         * string/test-string.h (IMPL): Use __STRING to expand name and then
88559         stringify it.
88561         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88562         of cleanups.
88564 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88566         * string/Makefile: Update.
88567         (strop-tests): Append strncat.
88568         * string/test-wcscmp.c: New file.
88569         New comprehensive test for wcscmp.
88570         * string/test-strcmp.c: Update.
88571         (WIDE): New define.
88573 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88575         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88576         line.
88578 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88581         encoding to ACE if AI_IDN.
88583 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88586         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88588 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88590         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88591         Fix overflow bug in strncat.
88592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88594         * string/test-strncat.c: Update.
88595         Add new tests for checking overflow bugs.
88597 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88600         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88601         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88602         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88604         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88605         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88606         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88607         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88610         (USE_AS_STRCAT): Define.
88611         Add strcat and strncat support.
88612         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88614 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88616         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88617         __n bigger than INT_MAX+1.
88618         (__strncmp_g): Likewise.
88620 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88622         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88623         * libio/stido.h: Likewise.
88625         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88626         (AF_NFC): Define.
88627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88628         (AF_NFC): Define.
88630         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88631         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88632         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88633         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88636         [BZ #13021]
88637         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88638         installed.
88640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88641         typo.
88642         (_dl_x86_64_save_sse): Likewise.
88644 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88647         OSXSAVE.
88648         (_dl_x86_64_save_sse): Likewise.
88650         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88652         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88654 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88657         change.
88658         (_dl_x86_64_save_sse): Use correct AVX check.
88660 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88663         bug in strncpy/strncat.
88664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88666 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88668         * string/tester.c (test_strcat): Add tests for different alignments
88669         of source and destination.
88670         (test_strncat): Likewise.
88672 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88674         [BZ #12852]
88675         * posix/glob.c (glob): Check passed in values before using them in
88676         expressions to avoid some overflows.
88677         (glob_in_dir): Likewise.
88679         [BZ #13007]
88680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88681         check for AVX enablement so that we don't crash with old kernels and
88682         new hardware.
88683         * elf/tst-audit4.c: Add same checks here.
88684         * elf/tst-audit6.c: Likewise.
88686         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88688 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88690         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88694         * po/cs.po: Update from translation team.
88695         * po/bg.po: Likewise.
88697 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88699         * misc/sys/cdefs.h: Add support for const attribute.
88700         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88701         to gnu_dev_{major,minor,makedev} functions.
88703 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88705         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88707 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88709         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88710         strlen results.
88712 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88715         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88716         register in order to avoid conflicts with the soft frame pointer
88717         being held in r11 when necessary.
88718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88719         (INTERNAL_VSYSCALL_NCS): Likewise.
88721 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88723         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88724         * elf/dl-fini.c (_dl_fini): Adjust caller.
88725         * elf/dl-close.c (_dl_close_worker): Likewise.
88726         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88728 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88730         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88731         "aux_cache->nlibs < 0".
88733         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88734         in the reload-count case.
88736 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88739         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88740         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88741         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88742         * sysdeps/x86_64/multiarch/strcat.S: New file.
88743         * sysdeps/x86_64/multiarch/strncat.S: New file.
88744         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88745         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88746         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88747         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88749         (USE_AS_STRCAT): Define.
88750         Add strcat and strncat support.
88751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88752         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88753         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88754         * string/strncat.c: Update.
88755         (USE_AS_STRNCAT): Define.
88756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88757         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88758         and i7.
88759         * sysdeps/x86_64/multiarch/init-arch.h
88760         (bit_Prefer_PMINUB_for_stringop): New.
88761         (index_Prefer_PMINUB_for_stringop): Likewise.
88762         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88763         bit_Prefer_PMINUB_for_stringop.
88765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88767         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88768         buffer64.
88769         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88770         of casting of buffer.
88771         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88772         buffer32 and buffer64.
88773         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88774         writes instead of casting of buffer.
88775         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88776         buffer32.
88777         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88778         casting of buffer.
88780 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88782         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88784 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88786         * nscd/nscd.c (termination_handler): Don't do anything for a database
88787         if it has not yet been initialized.
88789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88791         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88793 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88795         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88799         * po/nl.po: Update from translation team.
88800         * po/sv.po: Likewise.
88802 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88804         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88805         now disallowed by GCC.
88807         * configure.in (use-default-link): Default to yes if a test -shared
88808         link meets our qualifications.
88809         * configure: Regenerated.
88811         * config.make.in (output-format): New variable.
88812         * configure.in: Check for ld --print-output-format support.
88813         * configure: Regenerated.
88814         * Makerules ($(common-objpfx)format.lds)
88815         [$(output-format) != unknown]: Just use $(output-format),
88816         instead of the linker-script munging.
88818 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88820         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88821         of $(common-objpfx)shlib.lds.
88822         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88824         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88825         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88827         * configure.in (-z relro check): Adjust test code to add a large
88828         writable data section after it.
88829         * configure: Regenerated.
88831 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88833         * configure.in (-z relro check): Fix test code to make the variable
88834         truly const.
88835         * configure: Regenerated.
88837 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88839         * nscd/nscd.h (struct traced_file): Define.
88840         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88841         elements.  Add traced_files.
88842         (inotify_fd): Declare.
88843         (register_traced_file): Declare.
88844         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88845         (inotify_fd): Export.
88846         (resolv_conf_descr): Remove.
88847         (nscd_init): Move inotify descriptor creation to main.
88848         Don't register files for notification here.
88849         (register_traced_file): New function.
88850         (invalidate_cache): Don't use reset_res to determine whether to call
88851         res_init, go through the list of registered files.
88852         (main_loop_poll): The inotify descriptors are now stored in the
88853         structures for the traced files.
88854         (main_loop_epoll): Likewise.
88855         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88856         to __nss_disable_nscd.
88857         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88858         for a database anymore.  Check the records for all the registered
88859         files instead.
88860         * nss/Makefile (libnss_files-routines): Add files-init.
88861         (libnss_db-routines): Add db-init.
88862         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88863         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88864         * nss/nss_db/db-init.c: New file.
88865         * nss/nss_files/files-init.c: New file.
88866         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88867         __nss_lookup_function.
88868         (__nss_lookup_function): Call nss_load_library.
88869         (nss_load_all_libraries): New function.
88870         (__nss_disable_nscd): Take parameter with callback function for files
88871         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88872         used for the cached services.
88873         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88874         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88875         options for features to all the files in nscd.
88877         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88879 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88881         * csu/elf-init.c (__libc_csu_init): Comment typo.
88883 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88885         * po/pl.po: Update from translation team.
88886         * po/ja.po: Likewise.
88887         * po/ru.po: Likewise.
88888         * po/ko.po: Likewise.
88889         * po/fr.po: Likewise.
88891 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88893         * configure.in (.ctors/.dtors header and trailer check):
88894         Use an empirical test on a built program.
88895         * configure: Regenerated.
88897         * configure.in (-z relro check): Use an empirical test on a built DSO.
88898         Detect, but do not require, on ia64.
88899         * configure: Regenerated.
88901         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88902         Update tests that use readelf to use $READELF instead.
88903         * configure: Regenerated.
88905 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88907         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88908         if the result is not used.
88910 2011-07-05  Andreas Jaeger  <aj@suse.de>
88912         [BZ #9696]
88913         * stdlib/tst-strtod.c: Add testcase.
88915 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88917         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88918         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88919         The latter has a higher limit.  Take additional parameter to pass to
88920         the new function.
88921         (__pathconf): Pass file to __statfs_link_max.
88922         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88923         __statfs_link_max.
88924         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88925         __statfs_link_max.
88927         [BZ #12868]
88928         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88930         Handle Lustre.
88931         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88932         (__statfs_filesize_max): Likewise.
88933         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88935 2011-07-05  Andreas Jaeger  <aj@suse.de>
88937         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88939 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88941         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88942         `status' variable.
88943         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88944         Likewise.
88946 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88948         * Makefile (strop-tests): Add strncat.
88949         * string/test-strncat.c: New file.
88951 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88953         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88955 2011-06-21  Andreas Jaeger  <aj@suse.de>
88957         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88958         Copy rule from iconvdata/Makefile.
88960 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88962         [BZ #12922]
88963         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88964         but no long options are defined, just return 'W'.
88966 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88968         [BZ #9696]
88969         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88971 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88973         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88974         netgroups to read.
88975         (innetgr): Likewise.
88977 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88979         * config.make.in (install_root): Default to $(DESTDIR).
88981 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88983         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88985 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88987         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88989         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88990         containing directory rather than embedding absolute directory names.
88992         * scripts/check-local-headers.sh: Rewritten using awk.
88993         Match by word, not by line.  Print error messages for matches.
88994         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88996         * Makerules [shlib-lds-flags empty]:
88997         ($(common-objpfx)libc_pic.opts): New target.
88998         ($(common-objpfx)libc_pic.os.clean): New target.
88999         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89001         * config.make.in (OBJCOPY): New variable.
89002         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89003         * configure: Regenerated.
89005         * config.make.in (use-default-link): New variable.
89006         * configure.in (use_default_link): Grok --with-default-link to set it.
89007         * configure: Regenerated.
89008         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89009         (shlib-lds, shlib-lds-flags): Define to empty.
89011         * Makerules (shlib-lds): New variable.
89012         (shlib-lds-flags): New variable.
89013         (build-shlib, build-moduile, build-module-asneeded): Use it.
89014         ($(common-objpfx)libc.so): Use $(shlib-lds).
89015         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89016         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89018         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89019         DT_FLAGS/DT_FLAGS_1 with zero flags.
89021         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89022         linker script munging.
89024 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89026         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89027         as 128-bit value.
89028         * crypt/sha512.c (sha512_process_block): Perform total addition using
89029         128-bit if possible.
89030         (__sha512_finish_ctx): Likewise.
89031         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89032         as 64-bit value.
89033         * crypt/sha256.c (SWAP64): Define.
89034         (sha256_process_block): Perform total addition using 64-bit if
89035         possible.
89036         (__sha256_finish_ctx): Likewise.
89038 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89040         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89042         * nscd/hstcache.c (cache_addhst): Likewise.
89043         * nscd/grpcache.c (cache_addgr): Likewise.
89044         * nscd/aicache.c (addhstaiX): Likewise.
89045         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89047 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89049         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89051         * nscd/hstcache.c (cache_addhst): Likewise.
89052         * nscd/grpcache.c (cache_addgr): Likewise.
89053         * nscd/aicache.c (addhstaiX): Likewise.
89055 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89057         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89058         domain only when needed.
89060 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89063         is always restored.
89065 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89067         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89068         are re-adding the entry.
89069         * nscd/servicescache.c (cache_addserv): Likewise.
89071 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89073         * sysdeps/generic/dl-irel.h: fix protection against multiple
89074         inclusions.
89075         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89077 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89079         [BZ #12935]
89080         * malloc/memusage.sh: Fix quoting in message.
89081         * debug/xtrace.sh: Likewise.
89083         * configure.in: Remove support for --experimental-malloc option, make
89084         it the default.
89085         * config.make.in: Likewise.
89086         * malloc/Makefile: Likewise.
89088 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89090         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89091         two-byte characters.
89093 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89095         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89096         AC_CACHE_CHECK invocation.
89097         * configure: Regenerated.
89099         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89101 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89103         [BZ #12350]
89104         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89105         bit from old_res_options.
89107         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89109         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89110         value type for setfct.
89112 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89115         __gettimeofday instead of gettimeofday.
89117 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89119         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89121 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89126         info.
89128 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89131         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89132         strcpy-sse2-unaligned strncpy-sse2-unaligned
89133         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89134         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89135         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89136         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89137         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89138         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89139         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89140         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89141         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89142         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89143         (STRCPY): Support SSE2 and SSSE3 versions.
89145 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89147         [BZ #12874]
89148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89149         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89150         kernels which artificially limit size of requests.
89152 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89155         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89156         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89157         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89158         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89159         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89160         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89161         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89163         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89164         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89165         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89166         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89167         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89168         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89170         Enable unaligned load optimization for Intel Core i3, i5 and i7
89171         processors.
89172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89173         Define.
89174         (index_Fast_Unaligned_Load): Define.
89175         (HAS_FAST_UNALIGNED_LOAD): Define.
89177 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89179         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89181 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89183         [BZ #12907]
89184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89185         until it is clear that the information is realy needed.
89186         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89188 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89192 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89194         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89195         /sys/devices/system/cpu/online if it is usable.
89197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89198         reading the information from the /proc filesystem to once a second.
89200 2011-06-21  Andreas Jaeger  <aj@suse.de>
89202         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89203         NULL after inclusion of kernel headers.
89205 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89207         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89208         calls to internal_setent.
89210         [BZ #12885]
89211         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89212         addresses using gethostbyname4_r ignore IPv4 addresses.
89214         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89215         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89217         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89219 2011-06-20  David S. Miller  <davem@davemloft.net>
89221         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89222         inclusions.
89223         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89225         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89226         (elf_irel): Use it.
89227         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89228         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89229         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89230         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89231         * sysdeps/x86_64/dl-irel.h: Likewise.
89233         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89234         * elf/dl-sym.c: Likewise.
89236 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89238         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89239         need to dereference resplen2.
89241 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89243         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89245 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89247         * Makeconfig: Define vardbdir and inst_vardbdir.
89248         * nss/Makefile: Add rules to install db-Makefile.
89250         * nss/nss_db/db-XXX.c: Cleanup.
89252         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89253         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89254         GLIBC_PRIVATE.
89255         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89256         * nss/makedb.c: Implement -g option to specify that value strings
89257         are generated and should not be added to table iterated over for
89258         get*ent calls.
89259         * nss/nss_db/db-initgroups.c: New file.
89261         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89262         interface.
89264         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89265         (internal_getgrouplist): Adjust to name change.
89266         Update use_initgroups_entry if this is not the first call.
89267         * nss/databases.def: Add initgroups entry.
89269         * nss/makedb.c (compute_tables): Check result of multiple hash table
89270         sizes to minimize maximum chain length.
89272 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89274         * Versions.def: Add entry for libnss_db.
89275         * shlib-versions: Likewise.
89276         * nss/Makefile: Add rules to build libnss_db.
89277         * nss/Versions: Add libnss_db information.  Organize libnss_files
89278         entries better.
89279         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89280         makedb progra.  Some minor improvements to generate smaller files.
89281         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89282         here from...
89283         * nss/makedb.c: ...here.
89284         Improve database format to be smaller and require less memory at
89285         runtime.
89286         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89287         db anymore.
89288         * nss/nss_db/db-netgrp.c: Likewise.
89289         * nss/nss_db/db-open.c: Likewise.
89290         * nss/nss_files/flies-XXX.x: Adjust comments.
89291         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89292         * nss/nss_files/files-grp.c: Likewise.
89293         * nss/nss_files/files-hosts.c: Likewise.
89294         * nss/nss_files/files-network.c: Likewise.
89295         * nss/nss_files/files-proto.c: Likewise.
89296         * nss/nss_files/files-pwd.c: Likewise.
89297         * nss/nss_files/files-rpc.c: Likewise.
89298         * nss/nss_files/files-service.c: Likewise.
89299         * nss/nss_files/files-sgrp.c: Likewise.
89300         * nss/nss_files/files-spwd.c: Likewise.
89301         * nss/nss_db/db-alias.c: Removed.
89302         * nss/nss_db/dummy-db.h: Removed.
89304 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89306         * nss/makedb.c: Rewritten to not use database library.
89307         * nss/Makefile: Update to build new makedb program.
89309 2011-06-14  Andreas Jaeger  <aj@suse.de>
89311         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89312         memset declaration.
89314 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89317         tmpbuf.
89319 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89321         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89322         * elf/Makefile ($(objpfx)ld.so): Likewise.
89324         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89325         Don't list ld.so twice in dependencies.
89327         * posix/bug-regex31.c: Include <stdlib.h>.
89329         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89331         * nis/nss_compat/compat-spwd.c
89332         (getspent_next_nss_netgr): Remove unused variable.
89333         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89335         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89336         nonmembers" output to use the right array.
89338         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89340         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89342         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89343         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89344         * catgets/gencat.c (read_input_file): Likewise.
89345         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89347         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89348         variable definition inside #if's controlling its use.
89350         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89352         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89354         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89356         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89357         unreachable code.
89359         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89361         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89362         * configure: Regenerated.
89364         * Makerules: Revert last change.
89365         * elf/Makefile: Likewise.
89367 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89369         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89370         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89371         (reloc-link): Likewise.
89373 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89375         * elf/Makefile: Add rules to build pldd.
89376         * elf/pldd.c: New file.
89377         * elf/pldd-xx.c: New file.
89379 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89381         * version.h: Update for 2.15 development version.
89383 2011-06-07  David S. Miller  <davem@davemloft.net>
89385         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89386         ifuncs.
89387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89388         elf_machine_lazy_rel): Likewise.
89389         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89391         elf_machine_lazy_rel): Likewise.
89392         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89393         dl_hwcap via passed in argument.
89394         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89395         Likewise.
89397 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89399         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89401 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89403         [BZ #12849]
89404         * manual/fdl-1.1.texi: New file, verbatim from:
89405         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89406         * manual/lgpl-2.1.texi: New file, verbatim from:
89407         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89408         * manual/Makefile (licenses): New variable, list those new file names.
89409         (texis): Use it.
89410         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89412         * manual/fdl.texi: File removed.
89413         * manual/lesser.texi: File removed.
89414         * manual/libc.texinfo (Copying, Documentation License):
89415         Use new @include file names, put @appendix directive before @include.
89417 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89419         [BZ #12841]
89420         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89421         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89422         (mq_open): Add __NTH.
89424 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89427         Assume Intel Core i3/i5/i7 processor if AVX is available.
89429 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89432         typo.
89434 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89436         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89437         memory.  Use alloca_account.  Fix memory leak when retrying.
89439 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89441         * version.h (RELEASE): Bump for 2.14 release.
89442         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89444         * config.make.in (RANLIB): Remove entry.
89446 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89448         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89449         (libc.pot): Work around missing support for .ksh extension in xgettext.
89451         [BZ #12684]
89452         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89453         if both request failed.
89454         (send_dg): In case of server errors clear resplen or *resplen2.
89456         [BZ #12454]
89457         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89458         when there are multiple maps.
89459         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89460         (_dl_fini): Remove test here.
89462         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89464 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89466         [BZ #12350]
89467         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89468         bit from old_res_options.
89469         (gaih_inet): Likewise.
89471         [BZ #11099]
89472         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89473         as signed.
89475         * resolv/res_init.c (res_setoptions): Make the code more compact.
89477         [BZ #11558]
89478         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89479         set RES_USEVC.
89481         [BZ #11634]
89482         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89484         * malloc/malloc.h: Mark malloc hook variables as deprecated.
89486         [BZ #11781]
89487         * malloc/malloc.h: Declare malloc hook variables as volatile.
89489         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89490         in last patch.
89492         [BZ #11799]
89493         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89494         raise in the comment.
89495         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89497         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89499 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
89501         [BZ #12811]
89502         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89503         grow the buffers more if it already has to be sufficient.
89504         (build_wcs_upper_buffer): Likewise.
89505         * posix/regexec.c (check_matching): Likewise.
89506         (clean_state_log_if_needed): Likewise.
89507         (extend_buffers): Don't enlarge buffers beyond size of the input
89508         buffer.
89509         Patches mostly by Emil Wojak <emil@wojak.eu>.
89510         * posix/bug-regex32.c: New file.
89511         * posix/Makefile (tests): Add bug-regex32.
89513         * locale/findlocale.c (_nl_find_locale): Return right away if
89514         _nl_explode_name failed.
89515         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89517         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89519         * debug/xtrace.sh: Unify messages.
89520         * malloc/memusage.sh: Likewise.
89522         [BZ #12813]
89523         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89524         time symbol from vDSO.  Substitute with vsyscall if not available.
89525         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89526         __vdso_time.
89528         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89529         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89530         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89531         Add sendmmsg and internal_sendmmsg.
89532         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89533         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89534         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89536         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89537         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89540 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89542         [BZ #12813]
89543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89544         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89545         available.
89546         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89547         __vdso_getcpu.
89549         [BZ #12814]
89550         * iconvdata/Makefile (tests): Add bug-iconv9.
89551         * iconvdata/bug-iconv9.c: New file.
89553 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89555         [BZ #12814]
89556         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89558 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89561         (struct user_regs_struct): Change intcs field back to cs.
89563 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89565         * po/ja.po: Update from translation team.
89567 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89569         [BZ #12795]
89570         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89571         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89573 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89575         * stdlib/longlong.h: Update from GCC.
89577 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89579         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89580         parameter name.
89581         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89582         Add parameter name.
89583         (__sysconf): Pass it down.
89585 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89587         [BZ #12671]
89588         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89589         some situations.
89590         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89591         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89592         add in in __libc_use_alloca calls.  Adjust callers.
89593         (glob): Use malloc in some situations.
89595         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89596         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89597         pltexit.
89599 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89601         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89602         and CLOCK_BOOTTIME_ALARM.
89604         [BZ #12782]
89605         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89606         is returned.
89608         * string/_strerror.c (__strerror_r): Print negative errors as signed
89609         numbers.
89611         [BZ #12777]
89612         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89613         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89614         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89616         * configure.in: Fix typo in redirection and correct removal of test
89617         files in two cases.
89619         [BZ #12788]
89620         * locale/setlocale.c (new_composite_name): Fix test to check for
89621         identical name of all categories.
89623         [BZ #12792]
89624         * libio/filedoalloc.c (local_isatty): New function.
89625         (_IO_file_doallocate): Use local_isatty.
89626         * stdio-common/perror.c (perror): In case a new stream is used
89627         forward the stream error.
89628         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89629         error flag.
89631 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89633         [BZ #11884]
89634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89635         alloca.
89636         * include/alloca.h (extend_alloca_account): Define.
89638         [BZ #11857]
89639         * posix/regex.h: Fix comments with documentation of user-accessible
89640         fields after compilation and describe correct free'ing of pattern
89641         after re_compile_pattern.
89642         Patch by Reuben Thomas <rrt@sc3d.org>.
89644 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89646         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89647         and -mno-altivec to prevent the compiler from using Altivec and/or
89648         VSX instructions when the corresponding registers are not available.
89650 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89652         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89654 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89656         * libio/freopen.c (freopen): Use __dup2, not dup2.
89657         * libio/freopen64.c (freopen64): Likewise.
89659 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89661         [BZ #12775]
89662         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89663         * math/Makefile (tests): Add test-powl.
89664         (CFLAGS-test-powl.c): Define.
89665         * math/test-powl.c: New file.
89667 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89669         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89671 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89673         [BZ #11837]
89674         * iconvdata/gb18030.c: Update to GB18020-2005.
89676 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89678         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89679         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89680         Patch by Aharon Robbins <arnold@skeeve.com>.
89682         [BZ #11892]
89683         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89684         on the stack.
89686         [BZ #11895]
89687         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89688         through underflows.
89690         [BZ #12766]
89691         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89692         point to strings before performing equality test for error_one_per_line
89693         mode.
89695         [BZ #11697]
89696         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89698         [BZ #11820]
89699         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89700         (struct user_fpregs_struct): Avoid __uint*_t types.
89702         [BZ #6420]
89703         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89704         symbol info.  Use it instead of calling _dl_addr locally.
89705         (lock_and_info): New function.
89706         (tr_freehook): Call lock_and_info and pass symbol info as additional
89707         parameter to tr_where.
89708         (tr_mallochook): Likewise.
89709         (tr_reallochook): Likewise.
89710         (tr_memalignhook): Likewise.
89712         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89713         used and couldn't be at all thread-safe.
89715 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89717         * libio/freopen.c (freopen): Don't close old file descriptor
89718         before the new one is opened.  Instead dup the new file descriptor
89719         to the old one after the new stream is created.
89720         * libio/freopen64.c (freopen64): Likewise.
89721         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89722         * libio/fileops.c (_IO_new_file_close_it): Handle new
89723         _IO_FLAGS2_NOCLOSE flag.
89724         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89725         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89726         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89727         _IO_FLAGS2_NOCLOSE flag.
89728         * include/unistd.h: Add hidden_proto for dup3.
89729         Define __have_dup3.
89730         * io/dup3.c: Define hidden symbol.
89731         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89733         [BZ #7101]
89734         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89735         when an incomplete long option is used.
89736         * posix/tst-getopt_long1.c: New file.
89737         * posix/Makefile (tests): Add tst-getopt_long1.
89739         [BZ #10138]
89740         * scripts/config.guess: Update from autoconf-2.68.
89741         * scripts/config.sub: Likewise.
89743         [BZ #10157]
89744         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89745         tests into ...
89746         (has_cpuclock): ...this.  New function.
89747         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89748         macro here based on has_cpuclock code.
89750         [BZ #10149]
89751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89752         First byte (not low byte) is now always NUL.
89753         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89756         Use non-cancelable interfaces.
89758         [BZ #9809]
89759         * locale/iso-639.def: Add entry for Sorani.
89761         [BZ #11901]
89762         * include/stdlib.h: Move include protection to the right place.
89763         Define abort_msg_s.  Declare __abort_msg with it.
89764         * stdlib/abort.c (__abort_msg): Adjust type.
89765         * assert/assert.c (__assert_fail_base): New function.  Majority
89766         of code from __assert_fail.  Allocate memory for __abort_msg with
89767         mmap.
89768         (__assert_fail): Now call __assert_fail_base.
89769         * assert/assert-perr.c: Remove bulk of implementation.  Use
89770         __assert_fail_base.
89771         * include/assert.hL Declare __assert_fail_base.
89772         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89773         mmap.
89774         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89776 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89778         [BZ #11952]
89779         [BZ #12453]
89780         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89781         until all modules are registered in the DTV.
89782         * elf/Makefile: Add rules to build and run tst-tls19.
89783         * elf/tst-tls19.c: New file.
89784         * elf/tst-tls19mod1.c: New file.
89785         * elf/tst-tls19mod2.c: New file.
89786         * elf/tst-tls19mod3.c: New file.
89787         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89789         [BZ #12083]
89790         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89791         correctly.
89793         [BZ #12601]
89794         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89795         two-byte sequence errors.
89796         * iconvdata/Makefile (tests): Add bug-iconv8.
89797         * iconvdata/bug-iconv8.c: New file.
89799         [BZ #12626]
89800         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89801         buf2 definition.
89803         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89805         [BZ #12432]
89806         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89807         (dummy_getcfa): New function.
89808         (init): Get _Unwind_GetCFA address, use dummy if not found.
89809         (backtrace_helper): In recursion check, also check whether CFA changes.
89810         (__backtrace): Completely initialize arg.
89812         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89813         storing incomplete byte sequence in state object.  Avoid testing for
89814         guaranteed too small input if we know there is enough data available.
89816 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89818         * Makeconfig (+link-pie): Indent.
89819         * Rules (binaries-pie): Define if $(have-fpie) and
89820         $(build-shared).
89821         (binaries-shared): Also filter out $(binaries-pie).
89822         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89823         * nscd/Makefile (others-pie): Add nscd.
89824         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89825         ($(objpfx)nscd): Remove command override.
89826         * login/Makefile (others-pie): Add pt_chown.
89827         ($(objpfx)pt_chown): Remove command override.
89828         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89829         remove command overrides.
89831 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89833         * libio/tst_putwc.c: Fix error messages.
89835         [BZ #12724]
89836         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89837         currently writing and seek to current position when not.
89838         * libio/Makefile (tests): Add bug-fclose1.
89839         * libio/bug-fclose1.c: New file.
89841 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89843         [BZ #12511]
89844         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89845         don't set DF_1_NODELETE here.
89846         (do_lookup_x): When entering new entry test for copy relocation
89847         and if necessary set DF_1_NODELETE flag.
89848         * elf/tst-unique4.cc: New file.
89849         * elf/tst-unique4.h: New file.
89850         * elf/tst-unique4lib.cc: New file.
89851         * elf/Makefile: Add rules to build and run tst-unique4.
89852         Patch by Piotr Bury <pbury@goahead.com>.
89854 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89856         [BZ #12052]
89857         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89859         [BZ #12625]
89860         * misc/mntent_r.c (addmntent): Flush the stream after the output
89862         [BZ #12393]
89863         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89864         (is_trusted_path_normalize): Skip initial colon.  Append slash
89865         to empty buffer.  Duplicate is_trusted_path code but allow
89866         constructed patch to be prefix.
89867         (is_dst): Allow $ORIGIN followed by /.
89868         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89869         Correct testing of result of is_trusted_path_normalize
89870         (decompose_rpath): Fix warning.
89872 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89874         [BZ #11257]
89875         * grp/initgroups.c (internal_getgrouplist): When we found the service
89876         list through the initgroups entry in nsswitch.conf do not always
89877         continue on a successful lookup.  Don't always use the
89878         __nss_group_database value if it is set.
89879         * nss/nsswitch.conf (initgroups): Change action for successful db
89880         lookup to continue for compatibility.
89882 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89884         [BZ #11532]
89885         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89886         and CP774 modules.
89887         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89888         and CP774 modules.
89889         * iconvdata/tst-tables.sh: Likewise.
89890         * iconvdata/cp770.c: New file.
89891         * iconvdata/cp771.c: New file.
89892         * iconvdata/cp772.c: New file.
89893         * iconvdata/cp773.c: New file.
89894         * iconvdata/cp774.c: New file.
89895         * iconvdata/testdata/CP770: New file.
89896         * iconvdata/testdata/CP770..UTF8: New file.
89897         * iconvdata/testdata/CP771: New file.
89898         * iconvdata/testdata/CP771..UTF8: New file.
89899         * iconvdata/testdata/CP772: New file.
89900         * iconvdata/testdata/CP772..UTF8: New file.
89901         * iconvdata/testdata/CP773: New file.
89902         * iconvdata/testdata/CP773..UTF8: New file.
89903         * iconvdata/testdata/CP774: New file.
89904         * iconvdata/testdata/CP774..UTF8: New file.
89906         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89907         END CHARMAP line.
89908         * iconvdata/gen-8bit-gap.sh: Likewise.
89909         * iconvdata/gen-8bit.sh: Likewise.
89911         * locale/iso-639.def: Add ary entry.
89913         [BZ #11258]
89914         * locale/C-translit.h.in: Add U20A1 transliteration.
89916         [BZ #12178]
89917         * locale/iso-639.def: Add wae entry.
89918         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89920         [BZ #12545]
89921         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89922         for n.
89924         [BZ #12711]
89925         * locale/C-translit.h.in: Add entry for U20B9.
89926         Patch by pravin.d.s@gmail.com.
89928 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89930         [BZ #12713]
89931         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89932         ENAMETOOLONG use generic getcwd.
89933         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89934         in rtld.  Use *stat64.
89935         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89936         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89937         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89938         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89939         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89940         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89941         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89942         __fstatat64 macros.
89943         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89944         * dirent/rewinddir.c: Add libc_hidden_def.
89945         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89946         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89948         * include/dirent.h (__alloc_dir): Add flags parameter.
89949         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89950         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89951         __alloc_dir.
89952         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89953         from fdopendir if O_CLOEXEC is already set.
89955 2011-03-15  Alan Modra  <amodra@gmail.com>
89957         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89958         l_tls_firstbyte_offset non-zero.  Save padding offset in
89959         l_tls_firstbyte_offset for later use.
89960         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89961         freeing static tls block.
89963 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89965         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89966         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89967         being defined by the kernel headers.
89969 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89971         [BZ #12734]
89972         * resolv/resolv.h: Define RES_NOTLDQUERY.
89973         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89974         no-tld-query and set RES_NOTLDQUERY.
89975         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89976         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89977         modern BIND to search name as TLD unless forbidden.
89979 2011-05-07  Petr Baudis  <pasky@suse.cz>
89980             Ulrich Drepper  <drepper@gmail.com>
89982         [BZ #12393]
89983         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89984         (is_trusted_path): ...to here.
89985         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89986         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89987         using is_trusted_path_normalize() in setuid scripts.
89989 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89991         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89992         __BEGIN/__END_DECLS.
89994 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89997         NSS_STATUS_NOTFOUND if no record was found.
89999 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90001         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90002         (headers-not-in-tirpc): Remove rpc/netdb.h
90003         * resolv/netdb.h: Revert last change.
90005 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90007         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90008         circular dependency between libgcc.a and libc.a.
90010 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90012         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90013         * nis/Makefile: Don't install rpcsvc/*.
90014         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90015         instead of <rpc/types.h>.
90016         (MAXHOSTNAMELEN): Define.
90018 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90020         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90022 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90024         [BZ #12714]
90025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90026         gethostbyname4_r when IPv6 results are possible.
90028 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90030         [BZ #12723]
90031         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90032         _PC_PIPE_BUF handling.
90034 2011-04-30  Bruno Haible  <bruno@clisp.org>
90036         [BZ #12717]
90037         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90038         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90039         to 'int'.
90040         * inet/getnameinfo.c (getnameinfo): Likewise.
90042 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90044         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90045         to groups setting in database lookup.
90046         * nss/nsswitch.conf: Add initgroups entry.
90048 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90050         [BZ #12685]
90051         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90052         mode string.
90053         Patch by Eric Blake <eblake@redhat.com>.
90055 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90057         * sunrpc/Makefile (need-export-routines): Add svc_run.
90058         (routines): Remove svc_run.
90059         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90060         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90061         * sunrpc/svc_run.c (svc_run): Likewise.
90062         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90064 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90066         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90067         problem in reallocation in last patch.
90069 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90071         * sunrpc/Makefile: Move inclusion of Rules.
90073 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90075         * nss/nss_files/files-initgroups.c: New file.
90076         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90077         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90078         _nss_files_initgroups_dyn.
90080 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90082         * elf/elf.h (R_ARM_IRELATIVE): Define.
90084 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90086         * po/ru.po: Update from translation team.
90088 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90090         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90091         dependencies.
90093 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90095         [BZ #12653]
90096         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90097         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90102 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90104         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90105         differing bytes.
90106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90110 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90112         [BZ #12420]
90113         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90114         storing it.
90115         * stdlib/bug-getcontext.c: New file.
90116         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90118 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90120         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90121         instructions into .machine "z9-109".
90122         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90125 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90127         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90128         between environment variables and auxiliary vector.
90130 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90132         * Makefile: Add rules to build linkobj/libc.so.
90133         * include/libc-symbols.h: Define libc_hidden_nolink.
90134         * include/rpc/auth.h: Mark functions which are to be hidden.
90135         * include/rpc/auth_des.h: Likewise.
90136         * include/rpc/auth_unix.h: Likewise.
90137         * include/rpc/clnt.h: Likewise.
90138         * include/rpc/des_crypt.h: Likewise.
90139         * include/rpc/key_prot.h: Likewise.
90140         * include/rpc/pmap_clnt.h: Likewise.
90141         * include/rpc/pmap_prot.h: Likewise.
90142         * include/rpc/pmap_rmt.h: Likewise.
90143         * include/rpc/rpc_msg.h: Likewise.
90144         * include/rpc/svc.h: Likewise.
90145         * include/rpc/svc_auth.h: Likewise.
90146         * include/rpc/xdr.h: Likewise.
90147         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90148         * nss/Makefile: Likewise.
90149         * sunrpc/Makefile: Don't install headers.  Build library with normal
90150         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90151         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90152         for the compat linking library.  Remove use of INTDEF/INTUSE.
90153         * sunrpc/auth_none.c: Likewise.
90154         * sunrpc/auth_unix.c: Likewise.
90155         * sunrpc/authdes_prot.c: Likewise.
90156         * sunrpc/authuxprot.c: Likewise.
90157         * sunrpc/clnt_gen.c: Likewise.
90158         * sunrpc/clnt_perr.c: Likewise.
90159         * sunrpc/clnt_raw.c: Likewise.
90160         * sunrpc/clnt_simp.c: Likewise.
90161         * sunrpc/clnt_tcp.c: Likewise.
90162         * sunrpc/clnt_udp.c: Likewise.
90163         * sunrpc/clnt_unix.c: Likewise.
90164         * sunrpc/des_crypt.c: Likewise.
90165         * sunrpc/des_soft.c: Likewise.
90166         * sunrpc/get_myaddr.c: Likewise.
90167         * sunrpc/key_call.c: Likewise.
90168         * sunrpc/key_prot.c: Likewise.
90169         * sunrpc/netname.c: Likewise.
90170         * sunrpc/pm_getmaps.c: Likewise.
90171         * sunrpc/pm_getport.c: Likewise.
90172         * sunrpc/pmap_clnt.c: Likewise.
90173         * sunrpc/pmap_prot.c: Likewise.
90174         * sunrpc/pmap_prot2.c: Likewise.
90175         * sunrpc/pmap_rmt.c: Likewise.
90176         * sunrpc/publickey.c: Likewise.
90177         * sunrpc/rpc_cmsg.c: Likewise.
90178         * sunrpc/rpc_common.c: Likewise.
90179         * sunrpc/rpc_dtable.c: Likewise.
90180         * sunrpc/rpc_prot.c: Likewise.
90181         * sunrpc/rpc_thread.c: Likewise.
90182         * sunrpc/rtime.c: Likewise.
90183         * sunrpc/svc.c: Likewise.
90184         * sunrpc/svc_auth.c: Likewise.
90185         * sunrpc/svc_authux.c: Likewise.
90186         * sunrpc/svc_raw.c: Likewise.
90187         * sunrpc/svc_run.c: Likewise.
90188         * sunrpc/svc_simple.c: Likewise.
90189         * sunrpc/svc_tcp.c: Likewise.
90190         * sunrpc/svc_udp.c: Likewise.
90191         * sunrpc/svc_unix.c: Likewise.
90192         * sunrpc/svcauth_des.c: Likewise.
90193         * sunrpc/xcrypt.c: Likewise.
90194         * sunrpc/xdr.c: Likewise.
90195         * sunrpc/xdr_array.c: Likewise.
90196         * sunrpc/xdr_float.c: Likewise.
90197         * sunrpc/xdr_intXX_t.c: Likewise.
90198         * sunrpc/xdr_mem.c: Likewise.
90199         * sunrpc/xdr_rec.c: Likewise.
90200         * sunrpc/xdr_ref.c: Likewise.
90201         * sunrpc/xdr_sizeof.c: Likewise.
90202         * sunrpc/xdr_stdio.c: Likewise.
90204 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90206         [BZ #12650]
90207         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90208         * sysdeps/ia64/dl-tls.h: Likewise.
90209         * sysdeps/powerpc/dl-tls.h: Likewise.
90210         * sysdeps/s390/dl-tls.h: Likewise.
90211         * sysdeps/sh/dl-tls.h: Likewise.
90212         * sysdeps/sparc/dl-tls.h: Likewise.
90213         * sysdeps/x86_64/dl-tls.h: Likewise.
90214         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90216 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90218         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90219         rpath element also skip the following colon.
90220         (expand_dynamic_string_token): Add is_path parameter and pass
90221         down to DL_DST_REQUIRED and _dl_dst_substitute.
90222         (decompose_rpath): Call expand_dynamic_string_token with
90223         non-zero is_path.  Ignore empty rpaths.
90224         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90225         with zero is_path.
90227 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90230         Make cancelable.
90232 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90234         [BZ #12655]
90235         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90236         Patch by Filipe David Manana <fdmanana@apache.org>.
90238 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90240         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90241         Maintain aligned stack.
90242         (CHECK_RSP): Remove unused macro.
90244 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90246         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90247         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90249 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90251         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90253         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90255 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90257         [BZ #12518]
90258         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90259         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90260         * sysdeps/x86_64/memmove.c: New file.
90261         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90262         (memcpy): Renamed to ...
90263         (__new_memcpy): This.
90264         (memcpy): Provide GLIBC_2_14 memcpy.
90265         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90266         (memcpy): Provide GLIBC_2_2_5 memcpy.
90268 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90270         [BZ #12631]
90271         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90273 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90275         * misc/syncfs.c: New file.
90276         * misc/Makefile (routines): Add syncfs.
90277         * posix/unistd.h: Declare syncfs.
90278         * sysdeps/unix/syscalls.list: Add syncfs.
90280 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90282         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90283         open_by_handle_at.
90284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90287         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90289         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90290         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90295         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90296         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90300         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90302         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90303         sync_file_range.c with -fexceptions.
90304         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90305         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90306         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90307         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90309         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90311         sync_file_range as cancellation point
90312         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90313         now a wrapper around __call_sync_file_range with cancellation handling.
90314         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90315         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90316         function name to __call_sync_file_range.
90317         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90318         Add call_sync_file_range.
90320 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90323         bits/timex.h.
90325 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90327         * iconv/iconv.h: Fix typo in comment.
90328         * io/fcntl.h: Likewise.
90329         * libio/stdio.h: Likewise.
90330         * posix/spawn.h: Likewise.
90331         * posix/unistd.h: Likewise.
90332         * stdlib/stdlib.h: Likewise.
90333         * time/time.h: Likewise.
90334         * wcsmbs/wchar.h: Likewise.
90336         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90337         open_by_handle): Add.
90338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90339         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90340         Augment a few comments.
90341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90346         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90347         open_by_handle.
90349         * io/fcntl.h (AT_EMPTY_PATH): Define.
90351 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90353         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90354         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90355         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90356         to...
90357         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90358         * Versions.def: Add GLIBC_2.14.
90359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90360         Export.
90362 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90365         round counter.
90366         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90368 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90370         [BZ #12597]
90371         * string/test-strncmp.c (do_page_test): New function.
90372         (check2): Likewise.
90373         (test_main): Call check2.
90374         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90376 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90378         [BZ #12587]
90379         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90380         Handle cache information in CPU leaf 4.
90381         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90383 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90385         [BZ #12583]
90386         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90387         character representation.
90388         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90390 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90392         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90393         END(__isnan) to END(__isnanf) to match function entry point/label
90394         EALIGN(__isnanf,...).
90396 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90398         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90400 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90402         [BZ #12510]
90403         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90404         copy from the symbol referenced in the relocation to initialize the
90405         used variable.
90406         Patch by Piotr Bury <pbury@goahead.com>.
90407         * elf/Makefile: Add rules to build and tst-unique3.
90408         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90409         * elf/tst-unique3.cc: New file.
90410         * elf/tst-unique3.h: New file.
90411         * elf/tst-unique3lib.cc: New file.
90412         * elf/tst-unique3lib2.cc: New file.
90414         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90416 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90418         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90419         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90420         to _start.
90422 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90424         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90425         to-be-loaded object along a path to loader is ld.so.
90427 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90428             Ulrich Drepper  <drepper@gmail.com>
90430         * sysdeps/x86_64/memset.S: After aligning destination, code
90431         branches to different locations depending on the value of
90432         misalignment, when multiarch is enabled. Fix this.
90434 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90436         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90437         Set _x86_64_preferred_memory_instruction for AMD processsors.
90438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90439         Set bit_Prefer_SSE_for_memop for AMD processors.
90441 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90443         * libio/fmemopen.c (fmemopen): Optimize a bit.
90445 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90447         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90449 2011-03-03  Roland McGrath  <roland@redhat.com>
90451         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90453 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90455         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90456         __bzero_ultra1 instead of __memset_ultra1.
90458 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90459             Ulrich Drepper  <drepper@gmail.com>
90461         [BZ #12509]
90462         * include/link.h (struct link_map): Add l_orig_initfini.
90463         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90464         returning unsuccessfully.
90465         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90466         close of a file loaded at startup, restore the original l_initfini
90467         list.
90468         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90469         list, store the pointer.
90470         * elf/Makefile ($(objpfx)noload-mem): New rule.
90471         (noload-ENV): Define.
90472         (tests): Add $(objpfx)noload-mem.
90473         * elf/noload.c: Include <memcheck.h>.
90474         (main): Call mtrace.  Close all opened handles.
90476 2011-02-17  Andreas Schwab  <schwab@redhat.com>
90478         [BZ #12454]
90479         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90480         dependencies are missing.
90482 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90484         Fix __if_freereq crash: Unlike the generic version which uses free,
90485         Hurd needs munmap.
90486         * sysdeps/mach/hurd/ifreq.h: New file.
90488 2011-01-27  Petr Baudis  <pasky@suse.cz>
90489             Ulrich Drepper  <drepper@gmail.com>
90491         [BZ 12445]#
90492         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90493         to extend_alloca().
90494         * stdio-common/bug23.c: New file.
90495         * stdio-common/Makefile (tests): Add bug23.
90497 2010-09-28  Andreas Schwab  <schwab@redhat.com>
90498             Ulrich Drepper  <drepper@gmail.com>
90500         [BZ #12489]
90501         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90502         before performing relro protection.  At old place add assertion
90503         to make sure nothing changed.
90505 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
90506             Glauber de Oliveira Costa  <glommer@gmail.com>
90508         * elf/elf.h: Add new ARM TLS relocs.
90510 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
90512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90513         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90514         cast from r3.
90515         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90516         'tests' variable.
90517         * sysdeps/wordsize-64/tst-writev.c: New file.
90519 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90521         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90522         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90523         insns in _dl_start to prevent a TOC reference before relocs are
90524         resolved.
90526 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90528         [BZ #12469]
90529         * Makeconfig: Remove RANLIB definition.
90530         * Makerules: Don't use RANLIB.
90531         * aclocal.m4: Remove ranlib test.
90532         * configure.in: No need to check for ranlib.
90533         * elf/rtld-Rules: Don't use RANLIB.
90535 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90537         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90538         protection macro.
90539         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90540         inclusion protection macro.
90542         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90543         SIGRTMIN and SIGRTMAX and print information in that case only when
90544         SIGRTMIN is defined.
90546 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90548         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90549         arginfo fn returning -1.
90551         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90552         and thousands string is zero terminated.
90554 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90557         sysdeps/unix/sysv/linux/bits/socket.h.
90559 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90561         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90562         (__CPU_COUNT): Remove old macros.
90563         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90564         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90565         (__CPU_ALLOC, __CPU_FREE): Add macros.
90566         (__sched_cpualloc, __sched_cpufree): Add declarations.
90568 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90570         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90571         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90572         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90573         (readdhstai): Return value of addhstaiX call.
90574         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90575         (addgrbyX): Return value returned by cache_addgr.
90576         (readdgrbyname): Return value returned by addgrbyX.
90577         (readdgrbygid): Likewise.
90578         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90579         (addpwbyX): Return value returned by cache_addpw.
90580         (readdpwbyname): Return value returned by addhstbyX.
90581         (readdpwbyuid): Likewise.
90582         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90583         (addservbyX): Return value returned by cache_addserv.
90584         (readdservbyname): Return value returned by addservbyX:
90585         (readdservbyport): Likewise.
90586         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90587         (addhstbyX): Return value returned by cache_addhst.
90588         (readdhstbyname): Return value returned by addhstbyX.
90589         (readdhstbyaddr): Likewise.
90590         (readdhstbynamev6): Likewise.
90591         (readdhstbyaddrv6): Likewise.
90592         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90593         (readdinitgroups): Return value returned by addinitgroupsX.
90594         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90595         (prune_cache): Keep track of timeout value of re-added entries.
90596         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90597         * nscd/nscd.h: Adjust prototypes of readd* functions.
90599 2011-02-04  Roland McGrath  <roland@redhat.com>
90601         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90602         (nis_stats): Likewise.
90603         * nis/nis_modify.c (nis_modify): Likewise.
90604         * nis/nis_remove.c (nis_remove): Likewise.
90605         * nis/nis_add.c (nis_add): Likewise.
90607         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90609         * posix/fnmatch_loop.c: Add some consts.
90611         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90613 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90615         [BZ #12460]
90616         * config.make.in (config-cflags-novzeroupper): Define.
90617         * configure.in: Substitute libc_cv_cc_novzeroupper.
90618         * elf/Makefile (AVX-CFLAGS): Define.
90619         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90620         (CFLAGS-tst-auditmod4a.c): Likewise.
90621         (CFLAGS-tst-auditmod4b.c): Likewise.
90622         (CFLAGS-tst-auditmod6b.c): Likewise.
90623         (CFLAGS-tst-auditmod6c.c): Likewise.
90624         (CFLAGS-tst-auditmod7b.c): Likewise.
90625         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90627 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90629         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90630         function to the callback.
90631         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90633 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90635         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90636         of errno.
90638 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90640         [BZ #11724]
90641         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90642         of constructors.
90643         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90644         of destructors.
90645         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90647         [BZ #11724]
90648         * elf/Makefile: Add rules to build and run new test.
90649         * elf/tst-initorder.c: New file.
90650         * elf/tst-initorder.exp: New file.
90651         * elf/tst-initordera1.c: New file.
90652         * elf/tst-initordera2.c: New file.
90653         * elf/tst-initordera3.c: New file.
90654         * elf/tst-initordera4.c: New file.
90655         * elf/tst-initorderb1.c: New file.
90656         * elf/tst-initorderb2.c: New file.
90657         * elf/tst-order-a1.c: New file.
90658         * elf/tst-order-a2.c: New file.
90659         * elf/tst-order-a3.c: New file.
90660         * elf/tst-order-a4.c: New file.
90661         * elf/tst-order-b1.c: New file.
90662         * elf/tst-order-b2.c: New file.
90663         * elf/tst-order-main.c: New file.
90664         New test case by George Gensure <werkt0@gmail.com>.
90666 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90669         decoding ACE if AI_CANONIDN.
90671 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90673         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90675 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90677         * version.h (RELEASE): Bump for 2.13 release.
90678         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90680         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90682         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90683         MADV_NOHUGEPAGE.
90684         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90685         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90687         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90688         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90691         * posix/getconf.c: Update copyright year.
90692         * catgets/gencat.c: Likewise.
90693         * csu/version.c: Likewise.
90694         * debug/catchsegv.sh: Likewise.
90695         * debug/xtrace.sh: Likewise.
90696         * elf/ldconfig.c: Likewise.
90697         * elf/ldd.bash.in: Likewise.
90698         * elf/sprof.c (print_version): Likewise.
90699         * iconv/iconv_prog.c: Likewise.
90700         * iconv/iconvconfig.c: Likewise.
90701         * locale/programs/locale.c: Likewise.
90702         * locale/programs/localedef.c: Likewise.
90703         * malloc/memusage.sh: Likewise.
90704         * malloc/mtrace.pl: Likewise.
90705         * nscd/nscd.c (print_version): Likewise.
90706         * nss/getent.c: Likewise.
90708         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90709         PF_CAIF, and PF_ALG.
90710         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90712 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90714         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90715         (modules-names): Use them.
90716         (ifunc-test-modules, ifunc-pie-tests): Define.
90717         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90718         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90719         (test-extras): Likewise.
90720         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90721         $(compile-command.c).
90722         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90723         (all-built-dso): Define.
90724         (check-textrel.out, check-execstack.out): Depend on it.
90726         * configure.in: Don't override --enable-multi-arch.
90728 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90730         [BZ #6812]
90731         * nscd/hstcache.c (tryagain): Define.
90732         (cache_addhst): Return tryagain not notfound for temporary errors.
90733         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90734         failed.
90736 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90738         [BZ #10563]
90739         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90740         to make the syscall.
90741         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90743         [BZ #12378]
90744         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90745         and fall back to matching as normal character if the string ends before
90746         the matching ']' is found.  This is what POSIX requires.
90747         * posix/testfnm.c: Adjust test result.
90748         * posix/globtest.sh: Adjust test result.  Add new test.
90749         * posix/tst-fnmatch.input: Likewise.
90750         * posix/tst-fnmatch2.c: Add new test.
90752 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90754         * elf/Makefile (check-execstack): Revert last change.  Depend on
90755         check-execstack.h.
90756         (check-execstack.h): New target.
90757         (generated): Add check-execstack.h.
90758         * elf/check-execstack.c: Include "check-execstack.h".
90759         (main): Revert last change.
90760         (handle_file): Return zero if GNU_STACK is absent and
90761         DEFAULT_STACK_PERMS doesn't include PF_X.
90763 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90765         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90766         in child fails because the descriptor is already closed.
90767         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90768         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90769         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90771         [BZ #12397]
90772         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90773         syscall.
90775         [BZ #10484]
90776         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90777         temporary buffer used to handle multi lookups locally.
90778         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90780 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90782         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90783         loader is ld.so.
90785 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90787         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90788         alignment for SSE2.
90790 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90792         [BZ #12394]
90793         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90794         characters.  When rounding increased number of integer digits recompute
90795         number of groups.
90796         * stdio-common/tst-grouping.c: New file.
90797         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90799 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90801         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90802         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90804         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90805         void.
90806         * bits/select.h: Likewise.
90808 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90810         * po/ja.po: Update from translation team.
90812 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90814         [BZ #11155]
90815         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90816         implementation just like for lxstat, fxstatat, et al.
90818 2010-12-27  Jim Meyering  <meyering@redhat.com>
90820         [BZ #12348]
90821         * posix/regexec.c (build_trtable): Return failure indication upon
90822         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90824 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90826         [BZ #12201]
90827         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90828         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90829         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90830         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90832         [BZ #12207]
90833         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90835         [BZ #12204]
90836         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90837         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90839 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90841         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90842         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90843         script has SORT_BY_INIT_PRIORITY.
90844         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90845         NO_CTORS_DTORS_SECTIONS is defined.
90846         * elf/soinit.c: Likewise.
90847         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90848         NO_CTORS_DTORS_SECTIONS is defined.
90849         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90850         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90851         * sysdeps/sh/init-first.c: Likewise.
90852         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90854 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90856         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90857         always use the slow path.
90859 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90861         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90862         similar rule which adds the sysdep directories to the header search in
90863         order to pick up the correct platform stackinfo.h.
90864         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90865         perform test if it is, otherwise return successfully without testing.
90866         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90867         DEFAULT_STACK_PERMS define in stackinfo.h.
90868         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90869         defined in stackinfo.h.
90870         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90871         DEFAULT_STACK_PERMS defined in stackinfo.h.
90872         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90873         * sysdeps/ia64/stackinfo.h: Likewise.
90874         * sysdeps/s390/stackinfo.h: Likewise.
90875         * sysdeps/sh/stackinfo.h: Likewise.
90876         * sysdeps/sparc/stackinfo.h: Likewise.
90877         * sysdeps/x86_64/stackinfo.h: Likewise.
90878         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90879         PF_X for powerpc64.  Retain PF_X for powerpc32.
90881 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90883         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90884         accurately.
90885         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90886         GETDENTS_64BIT_ALIGNED.
90888 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90890         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90892 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90894         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90895         _GNU_SOURCE.
90897         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90898         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90899         Remove __restrict.
90900         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90901         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90903 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90905         [BZ #11655]
90906         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90907         are initialized.
90909 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90911         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90913 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90915         * po/it.po: Update from translation team.
90917 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90920         unused codes.
90922 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90924         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90926 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90928         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90929         specially.
90930         (gaih_getanswer_slice): Likewise.
90932 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90936 2010-05-31  Petr Baudis  <pasky@suse.cz>
90938         [BZ #11149]
90939         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90940         silently even in the chroot mode.
90942 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90944         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90945         last patch a bit.  Pretty printing
90947 2010-05-31  Petr Baudis <pasky@suse.cz>
90949         [BZ #10085]
90950         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90951         initialization of skip_initgroups_dyn.
90953 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90958 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90960         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90962 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90964         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90965         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90966         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90967         ($(objpfx)tst-fnmatch-mem): New rule.
90968         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90969         * posix/tst-fnmatch.c (main): Call mtrace.
90971 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90974         Support Intel processor model 6 and model 0x2c.
90976 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90979           signed comparison.
90981 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90983         [BZ #12205]
90984         * string/test-strncasecmp.c (check_result): New function.
90985         (do_one_test): Use it.
90986         (check1): New function.
90987         (test_main): Use it.
90988         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90989         Support strcasecmp and strncasecmp.
90991 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90993         [BZ #12194]
90994         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90995         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90997 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90999         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91000         IFUNC support.
91001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91002         memset-x86-64.
91003         * sysdeps/x86_64/multiarch/bzero.S: New file.
91004         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91005         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91006         * sysdeps/x86_64/multiarch/memset.S: New file.
91007         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91009         Set bit_Prefer_SSE_for_memop for Intel processors.
91010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91011         Define.
91012         (index_Prefer_SSE_for_memop): Define.
91013         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91015 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91017         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91018         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91020 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91022         [BZ #12191]
91023         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91024         (__x86_64_raw_data_cache_size_half): Likewise.
91025         (__x86_64_raw_shared_cache_size): Likewise.
91026         (__x86_64_raw_shared_cache_size_half): Likewise.
91028         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91029         (__x86_64_raw_data_cache_size_half): Likewise.
91030         (__x86_64_raw_shared_cache_size): Likewise.
91031         (__x86_64_raw_shared_cache_size_half): Likewise.
91032         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91033         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91034         and __x86_64_raw_shared_cache_size_half.  Round
91035         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91036         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91037         to multiple of 256 bytes.
91039 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91041         [BZ #12167]
91042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91043         of inacessible symlinks.  Verify result of symlink before returning it.
91044         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91045         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91047 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91049         * math/math.h (isinf): Fix typo in comment.
91051 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91053         * po/da.po: Update from translation team.
91055 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91057         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91058         is added to the list.
91060 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91061             Ulrich Drepper  <drepper@gmail.com>
91063         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91064         the global list here.  Move code to...
91065         (_dl_add_to_namespace_list): ...here.  New function.
91066         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91067         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91068         * elf/dl-load.c (lose): Don't remove the element from the list.
91069         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91070         (_dl_map_object): Likewise.
91072 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91074         [BZ #12159]
91075         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91076         into all bytes of SSE register.
91077         Patch by Richard Li <richardpku@gmail.com>.
91079 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91081         [BZ #12140]
91082         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91083         perturbing.
91085 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91087         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91088         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91089         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91092         submachine.
91093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91095 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91097         * include/dlfcn.h (__RTLD_SECURE): Define.
91098         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91099         mode & __RTLD_SECURE instead.
91100         (open_path): Rename preloaded parameter to secure.
91101         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91102         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91103         * elf/dl-deps.c (openaux): Likewise.
91104         * elf/rtld.c (struct map_args): Remove is_preloaded.
91105         (map_doit): Don't use it.
91106         (dl_main): Likewise.
91107         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91108         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91110 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91112         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91113         (sysd-rules-targets): Remove duplicates.
91114         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91115         rtld-%.$o dependency.
91117 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91119         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91120         _dl_map_object do it.
91122 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91124         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91125         fast fma builtins, define the macros in the C99 standard.
91126         (FP_FAST_FMAF): Likewise.
91127         (FP_FAST_FMAL): Likewise.
91128         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91130         * bits/mathdef.h: Update copyright year.
91131         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91133 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91135         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91136         builtins, define the macros in the C99 standard.
91137         (FP_FAST_FMAF): Likewise.
91138         (FP_FAST_FMAL): Likewise.
91139         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91140         multiply/add.
91141         (FP_FAST_FMAF): Likewise.
91143 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91145         [BZ #3268]
91146         * math/libm-test.inc (fma_test): Some new testcases.
91147         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91148         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91149         y and infinite z.  Do multiplication by C already in long double.
91150         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91152         y and infinite z.  Do bitwise or of inexact bit into u.d.
91153         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91154         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91155         * sysdeps/i386/fpu/s_fma.S: Removed.
91156         * sysdeps/i386/fpu/s_fmal.S: Removed.
91158 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91160         [BZ #3268]
91161         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91163         computation is not scheduled after fetestexcept.  Fix value
91164         of minimum denormal long double.
91166 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91168         [BZ #3268]
91169         * math/libm-test.inc (fma_test): Add some more tests.
91170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91171         correctly.
91173 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91175         * scripts/data/localplt-s390-linux-gnu.data: New file.
91176         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91178 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91180         [BZ #3268]
91181         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91182         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91183         instead of dbl-64.
91184         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91185         inlines.
91186         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91188         if one of x and y is very large and the other is subnormal.
91189         * sysdeps/s390/fpu/s_fmaf.c: New file.
91190         * sysdeps/s390/fpu/s_fma.c: New file.
91191         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91192         * sysdeps/powerpc/fpu/s_fma.S: New file.
91193         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91194         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91195         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91197 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91199         [BZ #3268]
91200         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91201         fma tests.
91202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91203         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91204         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91205         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91206         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91207         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91208         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91210 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91212         [BZ #12078]
91213         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91214         * posix/bug-regex31.input: Add test case.
91216 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91218         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91219         * posix/bug-regex31.input: New file.
91221         [BZ #12078]
91222         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91223         (parse_sub_exp): Fix last change, use postorder.
91225         * posix/bug-regex31.c: New file.
91226         * posix/Makefile: Add rules to build and run bug-regex31.
91228         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91230         [BZ #12078]
91231         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91233         [BZ #12108]
91234         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91235         to have entries in sys_siglist.
91237         [BZ #12093]
91238         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91239         be NULL.
91241 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91243         [BZ #3268]
91244         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91245         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91246         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91247         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91248         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91249         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91250         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91251         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91252         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91253         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91254         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91255         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91256         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91257         * math/ftestexcept.c (fetestexcept): Likewise.
91258         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91259         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91260         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91261         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91262         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91263         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91264         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91266 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91268         [BZ #12107]
91269         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91270         newline.
91272 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91274         * string/bug-strstr1.c: New file.
91275         * string/Makefile: Add rules to build and run bug-strstr1.
91277 2010-10-05  Eric Blake  <eblake@redhat.com>
91279         [BZ #12092]
91280         * string/str-two-way.h (two_way_long_needle): Always clear memory
91281         when skipping input due to the shift table.
91283 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91285         [BZ #12005]
91286         * malloc/mcheck.c: Handle large requests.
91288         [BZ #12077]
91289         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91290         for strncmp and strncasecmp.
91291         * string/stratcliff.c: Add tests for strcmp and strncmp.
91292         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91294 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91296         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91297         __set_fpscr.
91299 2010-09-30  Andreas Jaeger  <aj@suse.de>
91301         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91302         (CGROUP_SUPER_MAGIC): Define.
91303         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91304         Handle btrfs and cgroup file systems.
91305         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91306         Likewise.
91308 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91310         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91311         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91313 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91315         [BZ #12067]
91316         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91317         trying to locate the ELF header.
91319 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91321         [BZ #11611]
91322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91323         Mask out sign-bit copies when constructing f_fsid.
91325 2010-09-24  Petr Baudis <pasky@suse.cz>
91327         * debug/stack_chk_fail_local.c: Add missing licence exception.
91328         * debug/warning-nop.c: Likewise.
91330 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91332         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91333         implementing getdents64 using getdents syscall, set d_type if
91334         __ASSUME_GETDENTS32_D_TYPE.
91336 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91338         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91339         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91341 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91343         [BZ #12037]
91344         * posix/unistd.h: Undo change of feature selection for ftruncate from
91345         2010-01-11.
91347 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91349         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91350         detection.
91352 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91354         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91355         fanotify_mark.
91356         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91358 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91360         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91361         variables after CHECK_SP call.
91362         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91364 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91365             Ulrich Drepper  <drepper@redhat.com>
91367         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91368         re-relocationg ld.so.
91369         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91370         _dl_init_paths call.
91371         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91372         here anymore.
91374 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91376         * resolv/res_init.c (__res_vinit): Count the default server we added.
91378 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91379             Ulrich Drepper  <drepper@redhat.com>
91381         [BZ #11968]
91382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91383         (____longjmp_chk): Use %ebx for saving value across system call.
91384         Add unwind info.
91386 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91388         * manual/Makefile: Don't mix pattern rules with normal rules.
91390 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91392         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91393         operation.
91394         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91395         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91396         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91397         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91399         Likewise.
91401 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91403         [BZ #11979]
91404         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91405         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91407 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91409         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91410         * sysdeps/x86_64/addmul_1.S: Likewise.
91411         * sysdeps/x86_64/lshift.S: Likewise.
91412         * sysdeps/x86_64/mul_1.S: Likewise.
91413         * sysdeps/x86_64/rshift.S: Likewise.
91414         * sysdeps/x86_64/sub_n.S: Likewise.
91415         * sysdeps/x86_64/submul_1.S: Likewise.
91417 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91419         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91420         Define __sched_param instead of SCHED_* and sched_param when
91421         <bits/sched.h> is included with __need_schedparam defined.
91422         * bits/sched.h [__need_schedparam]
91423         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91424         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91425         (__defined_schedparam): Define to 1.
91426         (__sched_param): New structure, identical to sched_param.
91427         (__need_schedparam): Undefine.
91429 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91431         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91432         (epoll_create1): Declare.
91434         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91436 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91438         [BZ #7066]
91439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91440         shifting retval into place.
91442 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91444         * nis/rpcsvc/nis.h: Update copyright notice.
91445         * nis/rpcsvc/nis.x: Likewise.
91446         * nis/rpcsvc/nis_callback.h: Likewise.
91447         * nis/rpcsvc/nis_callback.x: Likewise.
91448         * nis/rpcsvc/nis_object.x: Likewise.
91449         * nis/rpcsvc/nis_tags.h: Likewise.
91450         * nis/rpcsvc/yp.h: Likewise.
91451         * nis/rpcsvc/yp.x: Likewise.
91452         * nis/rpcsvc/ypupd.h: Likewise.
91453         * nis/yp_xdr.c: Likewise.
91454         * nis/ypupdate_xdr.c: Likewise.
91456         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91457         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91458         (pmap_getport): Use __libc_rpc_getport.
91459         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91460         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91461         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91463 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91466         fanotify_mark.
91468 2010-08-27  Roland McGrath  <roland@redhat.com>
91470         * sysdeps/i386/i686/multiarch/Makefile
91471         (CFLAGS-varshift.c): New variable.
91473 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
91475         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91476         * sysdeps/i386/i686/multiarch/varshift.c: New file.
91478         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91480         * sysdeps/x86_64/strlen.S: Minimal code improvement.
91482 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
91484         * sysdeps/x86_64/strlen.S: Unroll the loop.
91485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91486         strlen-sse2 strlen-sse2-bsf.
91487         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91488         __strlen_no_bsf if bit_Slow_BSF is set.
91489         (__strlen_sse42): Removed.
91490         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91491         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91493 2010-08-25  Roland McGrath  <roland@redhat.com>
91495         * sysdeps/x86_64/multiarch/varshift.S: File removed.
91496         * sysdeps/x86_64/multiarch/varshift.c: New file.
91497         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91498         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91499         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91500         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91502 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
91504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91505         strlen-sse2 strlen-sse2-bsf.
91506         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91507         __strlen_sse2_bsf if bit_Slow_BSF is unset.
91508         (__strlen_sse2): Removed.
91509         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91512         bit_Slow_BSF for Atom.
91513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91514         (index_Slow_BSF): Define.
91515         (HAS_SLOW_BSF): Define.
91517 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91519         [BZ #10851]
91520         * resolv/res_init.c (__res_vinit): When no server address at all
91521         is given default to loopback.
91523 2010-08-24  Roland McGrath  <roland@redhat.com>
91525         * configure.in: Remove config-name.h generation.
91526         * configure: Regenerated.
91527         * config-name.in: File removed.
91528         * scripts/config-uname.sh: New file.
91529         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91530         ($(objdir)config-name.h): New target.
91532         * sunrpc/rpc_parse.h: Avoid nested comment.
91534 2010-08-24  Richard Henderson  <rth@redhat.com>
91535             Ulrich Drepper  <drepper@redhat.com>
91536             H.J. Lu  <hongjiu.lu@intel.com>
91538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91540         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91541         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91542         _mm_alignr_epi8 with _mm_loadu_si128.
91543         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91544         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91545         (__m128i_shift_right): Removed.
91546         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91547         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91548         * sysdeps/x86_64/multiarch/varshift.h: New file.
91549         * sysdeps/x86_64/multiarch/varshift.S: New file.
91551 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91553         * configure.in: Move assembler checks to before sysdep dir checking.
91555 2010-08-20  Petr Baudis  <pasky@suse.cz>
91557         * LICENSES: Sync the sunrpc license.
91559 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91561         * sunrpc/auth_des.c: Update copyright notice once again.
91562         * sunrpc/auth_none.c: Likewise.
91563         * sunrpc/auth_unix.c: Likewise.
91564         * sunrpc/authdes_prot.c: Likewise.
91565         * sunrpc/authuxprot.c: Likewise.
91566         * sunrpc/bindrsvprt.c: Likewise.
91567         * sunrpc/clnt_gen.c: Likewise.
91568         * sunrpc/clnt_perr.c: Likewise.
91569         * sunrpc/clnt_raw.c: Likewise.
91570         * sunrpc/clnt_simp.c: Likewise.
91571         * sunrpc/clnt_tcp.c: Likewise.
91572         * sunrpc/clnt_udp.c: Likewise.
91573         * sunrpc/clnt_unix.c: Likewise.
91574         * sunrpc/des_crypt.c: Likewise.
91575         * sunrpc/des_soft.c: Likewise.
91576         * sunrpc/get_myaddr.c: Likewise.
91577         * sunrpc/getrpcport.c: Likewise.
91578         * sunrpc/key_call.c: Likewise.
91579         * sunrpc/key_prot.c: Likewise.
91580         * sunrpc/openchild.c: Likewise.
91581         * sunrpc/pm_getmaps.c: Likewise.
91582         * sunrpc/pm_getport.c: Likewise.
91583         * sunrpc/pmap_clnt.c: Likewise.
91584         * sunrpc/pmap_prot.c: Likewise.
91585         * sunrpc/pmap_prot2.c: Likewise.
91586         * sunrpc/pmap_rmt.c: Likewise.
91587         * sunrpc/rpc/auth.h: Likewise.
91588         * sunrpc/rpc/auth_unix.h: Likewise.
91589         * sunrpc/rpc/clnt.h: Likewise.
91590         * sunrpc/rpc/des_crypt.h: Likewise.
91591         * sunrpc/rpc/key_prot.h: Likewise.
91592         * sunrpc/rpc/netdb.h: Likewise.
91593         * sunrpc/rpc/pmap_clnt.h: Likewise.
91594         * sunrpc/rpc/pmap_prot.h: Likewise.
91595         * sunrpc/rpc/pmap_rmt.h: Likewise.
91596         * sunrpc/rpc/rpc.h: Likewise.
91597         * sunrpc/rpc/rpc_des.h: Likewise.
91598         * sunrpc/rpc/rpc_msg.h: Likewise.
91599         * sunrpc/rpc/svc.h: Likewise.
91600         * sunrpc/rpc/svc_auth.h: Likewise.
91601         * sunrpc/rpc/types.h: Likewise.
91602         * sunrpc/rpc/xdr.h: Likewise.
91603         * sunrpc/rpc_clntout.c: Likewise.
91604         * sunrpc/rpc_cmsg.c: Likewise.
91605         * sunrpc/rpc_common.c: Likewise.
91606         * sunrpc/rpc_cout.c: Likewise.
91607         * sunrpc/rpc_dtable.c: Likewise.
91608         * sunrpc/rpc_hout.c: Likewise.
91609         * sunrpc/rpc_main.c: Likewise.
91610         * sunrpc/rpc_parse.c: Likewise.
91611         * sunrpc/rpc_parse.h: Likewise.
91612         * sunrpc/rpc_prot.c: Likewise.
91613         * sunrpc/rpc_sample.c: Likewise.
91614         * sunrpc/rpc_scan.c: Likewise.
91615         * sunrpc/rpc_scan.h: Likewise.
91616         * sunrpc/rpc_svcout.c: Likewise.
91617         * sunrpc/rpc_tblout.c: Likewise.
91618         * sunrpc/rpc_util.c: Likewise.
91619         * sunrpc/rpc_util.h: Likewise.
91620         * sunrpc/rpcinfo.c: Likewise.
91621         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91622         * sunrpc/rpcsvc/key_prot.x: Likewise.
91623         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91624         * sunrpc/rpcsvc/mount.x: Likewise.
91625         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91626         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91627         * sunrpc/rpcsvc/rex.x: Likewise.
91628         * sunrpc/rpcsvc/rstat.x: Likewise.
91629         * sunrpc/rpcsvc/rusers.x: Likewise.
91630         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91631         * sunrpc/rpcsvc/spray.x: Likewise.
91632         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91633         * sunrpc/rtime.c: Likewise.
91634         * sunrpc/svc.c: Likewise.
91635         * sunrpc/svc_auth.c: Likewise.
91636         * sunrpc/svc_authux.c: Likewise.
91637         * sunrpc/svc_raw.c: Likewise.
91638         * sunrpc/svc_run.c: Likewise.
91639         * sunrpc/svc_simple.c: Likewise.
91640         * sunrpc/svc_tcp.c: Likewise.
91641         * sunrpc/svc_udp.c: Likewise.
91642         * sunrpc/svc_unix.c: Likewise.
91643         * sunrpc/svcauth_des.c: Likewise.
91644         * sunrpc/xcrypt.c: Likewise.
91645         * sunrpc/xdr.c: Likewise.
91646         * sunrpc/xdr_array.c: Likewise.
91647         * sunrpc/xdr_float.c: Likewise.
91648         * sunrpc/xdr_mem.c: Likewise.
91649         * sunrpc/xdr_rec.c: Likewise.
91650         * sunrpc/xdr_ref.c: Likewise.
91651         * sunrpc/xdr_sizeof.c: Likewise.
91652         * sunrpc/xdr_stdio.c: Likewise.
91654         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91655         handling.
91657 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91659         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91661 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91663         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91665         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91666         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91668         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91669         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91670         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91671         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91672         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91673         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91674         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91675         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91676         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91678 2010-07-26  Anton Blanchard  <anton@samba.org>
91680         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91681         * malloc/arena.c (heap_trim): Likewise.
91683 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91685         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91686         here.  Not...
91687         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91688         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91690 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91692         * sysdeps/i386/elf/Makefile: New file.
91694 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91696         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91697         from fanotify_init.
91698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91701 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91703         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91704         of strncasecmp_l.
91705         * sysdeps/multiarch/strcmp.S: Likewise.
91707 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91709         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91710         strncase_l-nonascii.
91711         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91712         Add strncase_l-ssse3.
91713         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91714         * sysdeps/x86_64/strcmp.S: Likewise.
91715         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91716         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91717         * sysdeps/x86_64/strncase.S: New file.
91718         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91719         * sysdeps/x86_64/strncase_l.S: New file.
91720         * string/Makefile (strop-tests): Add strncasecmp.
91721         * string/test-strncasecmp.c: New file.
91723         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91724         warning.
91726         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91727         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91729 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91731         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91733 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91735         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91736         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91737         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91739 2010-05-01  Alan Modra  <amodra@gmail.com>
91741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91742         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91743         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91744         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91745         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91746         tidying.  Don't tail-call __sigjmp_save for static lib.
91747         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91748         save location.
91749         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91750         (CALL_MCOUNT): Add eh info, and nop after bl.
91751         (TAIL_CALL_SYSCALL_ERROR): New macro.
91752         (PSEUDO_RET): Use it.
91753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91754         Correct save location of integer regs and cr.
91755         (_dl_profile_resolve): Correct cr save location.  Delete nops
91756         after bl when SHARED.  Reduce cfi size a little by better
91757         placement of cfi directives.
91758         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91759         make a stack frame.  Instead use parm save area as a temp.
91760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91761         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91763         Don't make a stack frame for parent, use parm save area.
91764         Increase child stack frame to 112 bytes.  Don't save unused reg,
91765         and adjust reg usage.  Set up cfi on error recovery and
91766         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91768         (__makecontext): Add dummy nop after jump to exit.
91769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91770         Use correct parm save area and cr save, reduce stack frame.
91771         Correct cfi for possible PSEUDO_RET frame setup.
91772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91773         Branch to local label emitted by PSEUDO_RET rather than
91774         __syscall_error.
91776 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91778         [BZ #11904]
91779         * locale/programs/locale.c (print_assignment): New function.
91780         (show_locale_vars): Use it.
91782 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91784         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91785         field.
91786         (struct statfs64): Likewise.
91787         (_STATFS_F_FLAGS): Define.
91788         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91790         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91791         (ST_VALID): Define locally.
91792         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91793         __statvfs_getflags, use the provided value.
91794         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91795         __ASSUME_STATFS_F_FLAGS.
91797         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91800         Add sys/fanotify.h.
91801         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91802         fanotify_mask for GLIBC_2.13.
91803         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91804         fanotify_init and fanotify_mark.
91805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91806         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91808         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91809         Add prlimit.
91810         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91811         prlimit64 for GLIBC_2.13.
91812         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91813         prlimit64.
91814         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91815         syscall.
91816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91818         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91819         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91821         add prlimit alias.
91822         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91824         [BZ #11903]
91825         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91826         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91828         * nss/Makefile: Add rules to build and run tst-nss-test1.
91829         * shlib-versions: Add entry for libnss_test1.
91830         * nss/nss_test1.c: New file.
91831         * nss/tst-nss-test1.c: New file.
91833         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91834         (__nss_configure_lookup): Set appropriate entry in
91835         __nss_configure_lookup to true.
91836         * nss/nsswitch.h: Define enum with indeces of databases in
91837         databases and __nss_database_custom arrays.  Declare
91838         __nss_database_custom.
91839         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91840         to avoid using nscd when custom rules are installed.
91841         * nss/getXXbyYY_r.c: Likewise.
91842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91844         * nss/nss_files/files-parse.c: Whitespace fixes.
91846 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91848         [BZ #11883]
91849         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91850         * posix/fnmatch_loop.c: Likewise.
91852 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91854         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91855         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91856         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91857         * Versions.def [GLIBC_2.13]: Add.
91859 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91862         Also fail if tpwd after pwuid call is NULL.
91864 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91866         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91867         when converting to ms.
91869 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91871         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91872         EOPNOTSUPP errors with ENOTTY.
91873         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91874         EOPNOTSUPP errors with ENOTTY.
91876 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91879         Add strcasecmp_l-ssse3.
91880         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91881         strcasecmp.
91882         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91883         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91884         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91886 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91888         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91890         * string/Makefile (strop-tests): Add strcasecmp.
91891         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91892         strcasecmp_l-nonascii.
91893         (gen-as-const-headers): Add locale-defines.sym.
91894         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91895         * sysdeps/x86_64/strcasecmp.S: New file.
91896         * sysdeps/x86_64/strcasecmp_l.S: New file.
91897         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91898         * sysdeps/x86_64/locale-defines.sym: New file.
91899         * string/test-strcasecmp.c: New file.
91901         * string/test-strcasestr.c: Test both ends of the range of characters.
91902         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91904 2010-07-29  Roland McGrath  <roland@redhat.com>
91906         [BZ #11856]
91907         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91909 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91911         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91912         for ld.so.
91914 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91916         * manual/memory.texi (Malloc Tunable Parameters): Document
91917         M_PERTURB.
91919 2010-07-26  Roland McGrath  <roland@redhat.com>
91921         [BZ #11840]
91922         * configure.in (-fgnu89-inline check): Set and substitute
91923         gnu89_inline, not libc_cv_gnu89_inline.
91924         * configure: Regenerated.
91925         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91927 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91929         * string/test-strnlen.c: New file.
91930         * string/Makefile (strop-tests): Add strnlen.
91931         * string/tester.c (test_strnlen): Add a few more test cases.
91932         * string/tst-strlen.c: Better error reporting.
91934         * sysdeps/x86_64/strnlen.S: New file.
91936 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91938         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91939         lower-latency instructions.
91941 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91943         * string/test-strcasestr.c: New file.
91944         * string/test-strstr.c: New file.
91945         * string/Makefile (strop-tests): Add strstr and strcasestr.
91946         * string/str-two-way.h: Don't undefine MAX.
91947         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91949 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91952         strcasestr-nonascii.
91953         (CFLAGS-strcasestr-nonascii.c): Define.
91954         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91955         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91956         Remove unused attribute.
91958 2010-07-20  Roland McGrath  <roland@redhat.com>
91960         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91961         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91962         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91963         like LD_HWCAP_MASK can disable hwcaps.
91965 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91967         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91969 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91971         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91972         call in strcasestr.
91973         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91974         __strcasestr_sse42_nonascii.
91975         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91976         strcasestr-nonascii.c.
91977         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91979 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91982         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91986 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91988         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91989         fcntl.
91991 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91993         [BZ #11577]
91994         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91995         dl_signal_cerror.
91997 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92000         _PC_PIPE_BUF using F_GETPIPE_SZ.
92002 2010-07-05  Roland McGrath  <roland@redhat.com>
92004         * manual/arith.texi (Rounding Functions): Fix rint description
92005         implicit in round description.
92007 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92009         * elf/Makefile: Fix linking for a few tests to make recent linker
92010         happy.
92012 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92014         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92015         $(common-objpfx)libc_nonshared.a.
92017 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92019         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92020         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92021         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92022         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92023         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92024         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92025         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92026         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92041         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92042         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92043         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92044         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92045         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92046         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92047         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92048         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92049         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92050         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92051         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92052         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92068 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92070         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92071         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92072         * string/memmove.c (memmove): Renamed to ...
92073         (MEMMOVE): ...this.  Default to memmove.
92074         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92075         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92076         (END_CHK): Define.
92077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92078         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92079         mempcpy-ssse3-back memmove-ssse3-back.
92080         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92083         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92084         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92085         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92086         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92087         * sysdeps/x86_64/multiarch/memmove.c: New file.
92088         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92089         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92090         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92091         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92093         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92094         Define.
92095         (index_Fast_Copy_Backward): Define.
92096         (HAS_ARCH_FEATURE): Define.
92097         (HAS_FAST_REP_STRING): Define.
92098         (HAS_FAST_COPY_BACKWARD): Define.
92100 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92103         Restore proper fallback handling.
92105 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92107         [BZ #11701]
92108         * posix/group_member.c (__group_member): Correct checking loop.
92110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92111         OOM in getpwuid_r correctly.  Return error number when the caller
92112         should return, otherwise -1.
92113         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92114         call returning > 0 value.
92115         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92117 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92119         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92120         libc_nonshared.a from targets in modules-names.
92122 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92124         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92125         requires it.
92127 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92130         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92134 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92136         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92138 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92140         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92141         and F_GETPIPE_SZ.
92142         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92147         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92149 2010-06-14  Roland McGrath  <roland@redhat.com>
92151         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92153 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92155         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92156         __REDIRECT followed by __THROW.
92157         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92158         * posix/getopt.h (getopt): Likewise.
92160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92162         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92163         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92164         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92165         in AT_FLAGS.
92166         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92167         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92169 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92173 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92175         [BZ #11640]
92176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92177         Properly check family and model.
92179 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92183 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92185         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92187 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92189         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92190         symbol reference.
92192 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92194         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92195         symbol reference.
92197 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92199         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92200         and internal_recvmmsg.
92201         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92202         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92203         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92204         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92206         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92207         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92208         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92210 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92212         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92214 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92216         POWER7 optimizations.
92217         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92218         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92220 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92222         * version.h: Update for 2.13 development version.
92224 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92226         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92227         exceptions.  Return 0.
92229 2010-05-07  Roland McGrath  <roland@redhat.com>
92231         * elf/ldconfig.c (main): Add a const.
92233 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92235         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92236         (args_options): Add no-idn option.
92237         (ahosts_keys_int): Add idn_flags to ai_flags.
92238         (parse_option): Handle 'i' option to clear idn_flags.
92240         * malloc/malloc.c (_int_free): Possible race in the most recently
92241         added check.  Only act on the data if no current modification
92242         happened.
92244 See ChangeLog.17 for earlier changes.